Stopping Javascript execution on a loaded page?

There is some kind of problem code on the website. I do not have access to the source. When loading the page, something will go wrong (in my version of Win and FF at least), so that ajax calls are repeated, not just once. This quickly blocks me from firebug and pretty much everything else, so all I can do is close the tab.

What I want is a simple button that I can quickly click to stop the scripts from running ... but for all my search engines and gouging I can't find it? I cannot set a breakpoint in firebug as I quickly get blocked as it fights all ajax calls ...

Surely I'm missing something here?

Lyle

+4
source share
5 answers

You can use Fiddler to capture JavaScript code with an answering machine and comment on the part of the code that makes all calls so that you can understand what is going wrong.

+3
source

Firebug has a Break on Next button. It adds a breakpoint the next time the script runs.

Break on next

+2
source

You can disable javascript

Tool -> Option -> Content -> Disable Javascript (I'm on the French version at the moment, the name should be fine, though)

Or use NoScript

+1
source

Javascript is single threaded. This means that you cannot interrupt scripting.

0
source

See NoScript .

NoScript is a Firefox extension that allows you to block the site of a problem when launching JavaScript, while at the same time allowing other sites to work fine - you don’t need to click a button to stop it.

0
source

All Articles