Disable script

  • Published: 2005-05-30 20:32
  • Modified: 2005-09-19 09:19
  • Author: TarquinWJ
  • Requires: Opera 8.0
  • Install as: Opera User JS

Learn how to install scripts

Report a bug

You might be one of those people that likes to disable JavaScript, but you might actually have a use for User JavaScripts, which means that you have to enable scripts. This script allows you to write your scripts, but does not allow the page to run its own. It also extracts contents of <noscript> tags, and puts them inside wasnoscript tags instead, which you can then style with User CSS. Any event handlers you create in your User JavaScript must have the word ‘ujsenabled’ in their names to allow them to run (the advanced site signature, clean URI, and frameset links scripts already use this):

	function ujsenabledLoadListener() {