X
Tap here to go to the mobile version of the site.

ஆதரவு மன்றம்

Javascript (apparently) successfully blocked by NoScript - but why is the console completely empty although it should report that scripts failed to load?

  • 2 replies
  • 1 இந்த பிரச்சனை உள்ளது
  • Last reply by spider82
பதிவிடப்பட்டது

Hi everybody,

hope you can help me understanding this.

Browser version: Firefox 60.9.0ESR, installed plugins: NoScript, Ublock Origin, HTTPS Everywhere

I'm using NoScript to block all Javascript by default and sometimes I want to verify that blocking works by looking at the console (F12) output.

Normally, when I visit a website and NoScript blocks all Javascript ressources, the console (F12) should show me error messages that scripts failed to load.

However, on some sites (e.g. stackoverflow.com), when I open the console it is completely empty (no output at all) - although Javascript apparently has been blocked (NoScript tells me that it has blocked all scripts and stackoverflow.com displays that "stackoverflow is best viewed with Javascript enabled").

Interestingly, when I leave the console open and refresh that page, all the expected error messages about failed scripts are suddenly displayed in the console.

So my questions are: 1) what could be the reason that the expected error messages are only displayed when I refresh the page? 2) could this mean that at the time the console is empty, some scripts are executed? Although NoScript tells me it has blocked all of them and the main site apparently was loaded without Javascript?

Your help would be appreciated. Thanks

Hi everybody, hope you can help me understanding this. Browser version: Firefox 60.9.0ESR, installed plugins: NoScript, Ublock Origin, HTTPS Everywhere I'm using NoScript to block all Javascript by default and sometimes I want to verify that blocking works by looking at the console (F12) output. Normally, when I visit a website and NoScript blocks all Javascript ressources, the console (F12) should show me error messages that scripts failed to load. However, on some sites (e.g. stackoverflow.com), when I open the console it is completely empty (no output at all) - although Javascript apparently has been blocked (NoScript tells me that it has blocked all scripts and stackoverflow.com displays that "stackoverflow is best viewed with Javascript enabled"). Interestingly, when I leave the console open and refresh that page, all the expected error messages about failed scripts are suddenly displayed in the console. So my questions are: 1) what could be the reason that the expected error messages are only displayed when I refresh the page? 2) could this mean that at the time the console is empty, some scripts are executed? Although NoScript tells me it has blocked all of them and the main site apparently was loaded without Javascript? Your help would be appreciated. Thanks
மேற்கோள்

Additional System Details

பயன்பாடு

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

கூடுதல் தகவல்

jscher2000
  • Top 10 Contributor
8799 தீர்வுகள் 71970 பதில்கள்
பதிவிடப்பட்டது

spider82 said

Interestingly, when I leave the console open and refresh that page, all the expected error messages about failed scripts are suddenly displayed in the console.

So my questions are:
  1. what could be the reason that the expected error messages are only displayed when I refresh the page?
  2. could this mean that at the time the console is empty, some scripts are executed? Although NoScript tells me it has blocked all of them and the main site apparently was loaded without Javascript?

I use NoScript, but I almost never look in the console, so I'm not sure if I've ever seen that myself.

I suspect it could be due to Firefox restoring the page from cache, and if the scripts were blocked before, then they wouldn't be there to trigger a block, or maybe NoScript isn't triggered when a page is reloaded from cache (??).

If you don't get a satisfactory reply here (ahem), you could consider asking on the NoScript forum over here: https://forums.informaction.com/viewforum.php?f=3

''spider82 [[#question-1268289|said]]'' <blockquote> Interestingly, when I leave the console open and refresh that page, all the expected error messages about failed scripts are suddenly displayed in the console. <Br><Br> So my questions are: # what could be the reason that the expected error messages are only displayed when I refresh the page? # could this mean that at the time the console is empty, some scripts are executed? Although NoScript tells me it has blocked all of them and the main site apparently was loaded without Javascript? </blockquote> I use NoScript, but I almost never look in the console, so I'm not sure if I've ever seen that myself. I suspect it could be due to Firefox restoring the page from cache, and if the scripts were blocked before, then they wouldn't be there to trigger a block, or maybe NoScript isn't triggered when a page is reloaded from cache (??). If you don't get a satisfactory reply here (ahem), you could consider asking on the NoScript forum over here: https://forums.informaction.com/viewforum.php?f=3
இது உங்களுக்கு பயனுள்ளதாக இருந்ததா?
மேற்கோள்
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Thank you for your answer.

When I experienced this for the first time, the cache was definitely empty.

However, I can't say for sure that the other times this was the case, too.

Maybe there are several possible reasons for this behavior and one could be that the page is restored from cache.

Thanks also for the tip with the NoScript forum, I think I will wait a bit if this thread brings more answers.

Thank you for your answer. When I experienced this for the first time, the cache was definitely empty. However, I can't say for sure that the other times this was the case, too. Maybe there are several possible reasons for this behavior and one could be that the page is restored from cache. Thanks also for the tip with the NoScript forum, I think I will wait a bit if this thread brings more answers.
இது உங்களுக்கு பயனுள்ளதாக இருந்ததா?
மேற்கோள்
கேள்வி எழுப்பு

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.