1

There was a time when hitting the escape key while a web page was loading, stopped the web page elements from loading further in the browser. If I got the info I wanted from a web page, what is the simplest way to prevent it from loading further?

There are certain sites that load several megabytes of image & video ads. I understand some of these are loaded dynamically through AJAX. Irrespective of whether the content is ads or anything else, is there a way to make the browser stop from loading a page further?

  • Close the page, disconnect your internet, disable script execution (e.g. NoScript) and use an AdBlocker and click the cancel button. Are you only using Chrome? – Seth Apr 8 at 5:50
  • I see this behavior with popular browsers like Chrome, Firefox. Closing the page & disconnecting internet are extremes. When did the escape key get sidelined? Have the browser makers done it on purpose? Is there a way to force the escape key to do its job? – mvark Apr 8 at 5:57
  • The escape key does work (in Firefox) it would depend on what is actually happening. If you wait for the whole page to load any number of scripts might be running and you would need to cancel those requests. Depending on how they happen you are able to do that with escape (for each request) or not as they are invisible to you. – Seth Apr 8 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.