How to See What Processes are Running on Website - google-chrome

I have a site/web-based application I'm working on and everything is running smoothly but recently when I've loaded up the pages (I use Google Chrome), the tab in the browser has the little 'loading' circle image that never ends. It's as if it's still loading the process and running something but nothing seems evident.
Nothing shows up in the developer console (error, warnings, etc.) and the actually speed of the page isn't affected when you click around. Also, there's no message at the bottom of the browser that says 'Resolving host...' or 'Loading www.example.com...', etc. I do have some AJAX going on on the site but not sure if that's the culprit.
Is there any way with developer tools to determine what processes are running on the page at the moment so I can begin to troubleshoot? Thanks for your help!

You can use fiddler tool to see what ajax requests are being generated and how much is time taken for every request.

Related

Accidentally Deleted </script> in Custom HTML Field on Cargo Collective

i accidentally deleted it and saved it, and the i refreshed the site and everything is just a blank white screen. i cant even see my admin page, though i can still login. help!!
I'm trying to find a way to use a proxy tool to intercept the HTTP response and fix the broken script tag, and then fix it in the UI, but i'm not having any success there yet.
Is there a way I can restore the site, or load a previous version of the site?
this is what i could find on Chrome Developer Tools
well you can roll back if its in your hosting abilities. Check your hosting
is it late to press ctrl + z to the previous results
maybe the whole code share could help. because right now I see that you have a JSON error. Where is the line from where it fires

Depricated rel="prerender" in Chrome

I want to use the resource hint "prerender" (W3C) to speed up a website, but prerender is depricated in Chrome since v58. I read that NoState-Prefetch should be used instead (Google Dev), but I don't find anything on how to use it.
Does anybody know how I can prerender a site with the current version of Chrome or how to use "NoState-Prefetch"?
I'm grateful for every suggestion. Many thanks in advance.
Prerender is not deprecated, in fact it's part of the w3 standards. Though the standards are clear in that the user agent SHOULD fetch, however later it describes that it May preprocess, and adds a point later that the user agent might decide not to do anything.
Chrome initiated the prerender resource hint, previously it meant that the whole page should be pre-rendered in a hidden renderer process, but currently chrome does NoState-Prefetch which is less powerful than a full render but should still save time - in case the browser actually do it.
You can take a look at the following document to dig deeper, into why chrome changed the implementation of prerender, and when/what does No-State Prefetch do exactly.
To check that the browser did prerender locally:
go to chrome://net-export/ ( this will export a log of all the network activities happening from all chrome windows, apps, and extensions)
go to the website where you want to check prerendering, give it some time to idle and do the prerendering
save the json file from the net export page, and load it into https://netlog-viewer.appspot.com/
After its loaded, check the Prerender page found in the menu in the left side

I have an SSL but the pages are not showing lock signs which I need for my order page

I have an old site I am just about well enough (broken arm + cancer) to start working on again and I have already moved it to another server OVH and added an SSL/TLS certificate to it.
However in Chrome when I visit any page on the site, especially https://www.strictly-software.com/plugins/order.asp it shows either (don't know why refreshes would change it but they do sometimes) the insecure sign with the red line through the https:// part of the URL in the address bar or an information circle.
In Firefox however I get a secure lock sign. It maybe some add-on I have used like a popup blocker or something but I am at a loss to find out what is causing these insecure signs to appear when I need locks, especially on the order page
This morning I spent hours going through loads of JavaScript and CSS (background:http://blah.jpg) etc and changing it so it is local and cannot be changed remotely as well as making any http references into src="//" or href="//" etc.
I thought it must be one of the images on the "add this" pop up but cannot see anything in their code. Then I thought the Twitter scroller might be showing images from http destinations but Twitter wraps them all in their own URL format.
Does anyone know from looking at the generated source code what is making the page insecure?
Surely there should be a list somewhere in the browser that shows what content isn't secure and offers you to load or not load it? I know the information icon lets you load or not lot Flash, images or JavaScript but do you know of how I can find out what content isn't secure on these pages without asking visitors?
Thanks in advance.

Test if prerender works locally?

I am using the following tag to prerender:
<link rel="prerender" href="//address.se/sv/get-started.html">
I am running the website locally at the moment. Is there any test I can run (perhaps via the chrome inspector) to see if my browser finds and prerenders the file?
Yes you can test if prerender is happening locally, though it is little harder and requires tools beyond the regular developers tools.
Notice that at the time this question was asked, prerender was doing something different than what it does now, previously it used to prerender the whole page in a hidden renderer process, now it does something less powerful than that (NoState Prefetch)
To check what has been pre-rendered:
go to chrome://net-export/ ( this will export a log of all the network activities happening from all chrome windows, apps, and extensions)
go to the website where you want to check prerendering, give it some time to idle and do the prerendering
save the json file from the net export page, and load it into https://netlog-viewer.appspot.com/
After its loaded, check the Prerender page found in the menu in the left side

Local WebSite: run default browser

I need to create a brochure-cd from a website I did. All resources are html, images and xml, so i don't have any problem at all in accessing file system. My question is: once I open my index.html page in browser, how can I set the params of the window (eg: show addressbar, show statusbar, etc)
Thanks
(If you have an alternative idea of how run an html based brochure on CD just let me know)
EDIT: Specs changed, I've just knewn I must write xml and upload file, too. Any idea? I'm considering Adobe Air, but would be amazing if I can compile a whole .NET website into an exe..... Anything similar?
The only way you can set these is when you open the page, not after it's already present. So, you will probably have to have a start page, which then opens your new page, with the parameters you want.
Be warned though, if you have any JavaScript, many browsers won't allow scripts to run locally, or will present a nasty warning message before it will execute.
You may look into having a small desktop application on the CD that launches an instance of a browser inside of itself, assuming you can run the browser on every machine this will be run on. This will probably give you the look you're after.
I think you can't. You can only set params of a window you create. So you'll have to run a script on load that creates a new window and then closes the initial window.
There is however no way that this script is executed without warnings, if at all.
An alternative would be to develop an executable that is able to display the page, but that might not be easy, especially when you want to be browser and platform independent.