Add-ons › Extensions › Tools
Scripter - script includer
Includes JQuery and user's JavaScript on page
Description
The extension allows to execute custom JavaScript code on any site and to store the comments for pages.
JavaScript code is executed when the page loads, and can contain jQuery selectors.
Custom JavaScript code can be executed for different groups of pages:
1. For all sites
2. For a specific domain
If you go to the page "http://www.google.com/imghp" switch "Script execution order" to "onready" and fill in the following Script:
alert('this is a site');
Then press "Save" button
When you visit "http://www.google.com/imghp" will be displayed message: "this is a site"
If you set the script to all sites in options:
setTimeout( "$('*').each(function(){
if ($(this).css('z-index')>100)
$(this).remove();
}); ",1000);
One second after loading any page where you switced "Script execution order" to "onready", script will remove all the layers with z-index more than 100.
It is easy to remove the advertising layers
For example you can import dump:
1. Open extension options
2. Paste follows text in "Export extenssion data to text" text area:
{"*":"alert('message for all sites');","www.google.com":"{\"event\":\"onready\",\"script\":\"alert('google page');\",\"comment\":\"\"}"}
4. Click "Save" button
5. Visit the "http://www.google.com/imghp"
Screenshots
Download
Works with Opera 11 or later.
About this extension
| Downloads | 21,577 |
|---|---|
| Category | Tools |
| Version | 1.5 |
| Size | 47.1 KB |
| Last update | May 21, 2012 |
| Original page | Internet Archive |
All versions
- scripter-script-includer-1.5-1.oex 47 KB (recovered copy)