fengyie007 / notscripts

Automatically exported from code.google.com/p/notscripts
Other
0 stars 0 forks source link

Inline scripts and Java loaded through applet tags do not fire beforeLoad events #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From http://optimalcycling.com/other-projects/notscripts/limitations/

[1] Blocking Deprecated <APPLET></APPLET> Elements
NotScripts can block plugins like Flash and Silverlight. However, Java applets 
are a special case. Java applets embedded with the standard <EMBED></EMBED> or 
<OBJECT></OBJECT> tags can be blocked, but Java applets embedded with the old, 
deprecated <APPLET></APPLET> tags cannot be blocked because Google Chrome does 
not fire load events for this legacy method. The current workaround is to 
disable Java in your browser until this can be fixed.

[2] Inline Scripts
All scripts loaded from a source location (the vast majority) can be blocked. 
However, inline scripts that are directly written into the HTML code of a web 
page cannot be blocked by NotScripts because Google Chrome does not fire load 
events for them.

For example: <script src=”http://example.com/aScriptFile.js”></script> can 
be blocked without any issues. However, <script>alert(“Hello, 
World!”);</script> written directly into the HTML code by the site you are 
visiting cannot be blocked by NotScripts because it is not loaded from 
anywhere, it is a direct part of the web page you view.

Original issue reported on code.google.com by optimalcycling@gmail.com on 27 Sep 2010 at 4:25

GoogleCodeExporter commented 9 years ago
This is an issue with the WebKit beforeLoad events.

Original comment by optimalcycling@gmail.com on 27 Sep 2010 at 4:27

GoogleCodeExporter commented 9 years ago
Bug report has been filed with Chromium at 
http://code.google.com/p/chromium/issues/detail?id=57004

Original comment by optimalcycling@gmail.com on 27 Sep 2010 at 4:35