Few days ago I opened a webpage of my academics website, I wanted to download the webpage but it has a javascript alert box pop up so after that I wasn't able to access anything either on the browser or the webpage. Finally I had to close it, and after closing the alert box it also closes the webpage.

Is there any way I can download the webpage by disabling that alert box and accessing the webpage?

Sorry I cannot share much information and credentials so I am attaching the image below, I hope you got what I am asking.

Also can I remove the alert box by injecting some JavaScript in the url?

Image for above scenerio

closed as off-topic by schroeder Jul 5 '16 at 13:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – schroeder
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    You can disable javascript completely, but Chrome should give you the option to only disable alerts for the page after a couple of them show up. – grc Jul 5 '16 at 13:17
  • This really isn't a security question but a web browser use question. Also, you should be contacting the site's support (or changing your print settings like it says). – schroeder Jul 5 '16 at 13:23
  • sorry I was confused where to ask this question, anyway I have updated it. – Bhansa Jul 5 '16 at 13:26
  • this question might be better for superuser.com stackexchange – CaffeineAddiction Jul 5 '16 at 13:26
  • "can I remove the alert box by injecting some JS in the url?" I don't think so, but you can disable further alert boxes with something like: javascript:window.alert=undefined – grc Jul 5 '16 at 13:33

You can disable javascript in your browser, then download the page. For mozilla firefox go there : mozilla docs.

Not the answer you're looking for? Browse other questions tagged or ask your own question.