CODING - viewing source of webpage loaded through AJAX

Hii Ktalk mzima, hakuna mtu anajua vilenitaona HTML ya hizi website zenye content inakuwa loaded kama website imeshafunguka.
For example, kwa zile website ziko na infinite scroll, nikitaka kuona source code vile iko sas hiyo saa hiyo nitafinya wapi? sijui kama nimeeleweka

dev tools ya browser?

Hii hapa?[ATTACH=full]129268[/ATTACH]

if the site uses a virtual dom rendered in JavaScript you are unlikely to see. But kama ni normal Ajax, hapo kwa dev tools click on Network then filter XHR… you can then see the response of the Ajax call as well as the request headers.

ficha jina na picha anywho upwork iko vipi siku hizi

Ajax saa ingine unaweza kosa kuona. Alafu ni ya nini? just look for properly formatted code online

I urge y’all to try Firefox Quantum. Best browser now.

Lakini hiyo ya infinite scroll si new html elements are built on request so hakuna venye unaweza ziona zote kwa html. Ama ni mimi sishikanishi swali.

Siku hizi for every 30 bids Napata 4 interviews na zero hires

Nielezee polepole sijui vitu mingi. Uko na hii iwriter mpya?

sijui what is iwriter

Firebug.

https://getfirebug.com/

Use it as an extension in Chrome.

Or Firefox (Firefox tends to use too much memory when I use it, so I avoid it).

Click on the icon to open a panel at the bottom, then run your page or script.

Sample screens…

Headers.
[ATTACH=full]129308[/ATTACH]
Post parameters.
[ATTACH=full]129307[/ATTACH]
Response.
[ATTACH=full]129306[/ATTACH]
JSON response.
[ATTACH=full]129305[/ATTACH]

If there is an error in the code after making the request, and you are doing error-handling on the server side and returning error responses via Ajax, the error will show in the panel.

Browser automation. kitambo I used to do

...
setInterval refresh()
sort.click()
jobPick(jobID);

....

Siku hizi kila kitu inaletwa na AJAX filtering, sioni Code yao. Ile kitu najua ni Inspect element tu

Unaelewa. Kuna venye naweza ona hizo ‘new html elements’ ama ‘new functions’?

Asante sana. Wacha niichokore.sengiu

Resource usage?

:smiley:

I don’t think you can view the Ajax but you can view the newly generated html elements by just clicking on inspect element after theu have been loaded.

najua kimoja

If you’ve used FF before then you know if you opened about 20 JavaScript intensive sites FF just choked. I have 8GB and FF often consumed +5GB of RAM taking my RAM to 90% usage slowing everything down. Right now I have 150+ tabs of very same sites I visit. I haven’t closed the browser for the last three days and my RAM is at 90%. That’s about +100 more tabs and it si still RESPONSIVE!
[ATTACH=full]129315[/ATTACH]

[ATTACH=full]129316[/ATTACH]