You can trick any page! Add your own JavaScript (powered by JQuery) and/or CSS to any page.

Latest Version

Version
0.9.88
Update
September 24, 2020
Size
340KiB
Developer
Category
Users
2,000+
Rating
4.22 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Tabs
Http://*/*
Https://*/*
See more

JScript tricks Extension

#### App development suspended ####
This app allows you to inject your own JavaScript or CSS tricks to any page (by domain). You can use nice editor (from CodeMirror), which has nice syntax highlighter. Script and CSS are applied after the page is loaded (document.onload event).

Script and css are injected before DOM creation. Use $(function(){ ... }) to start script on DOMReady.

New:
Export/Import scripts to/from text file.
bugs fixed


Features:
- auto save to cache + load cache button, separate for CSS and JS
- Automatic JQuery injection,
- custom JavaScript and CSS injection,
- popup to quick edit and apply tricks or selected text only,
- Autostart option,
- Default script for all pages,
- nice options interface,
- F1 JQuery help
- Ctrl+S support,
- Ctrl+Alt+H for hidden tricks!
- Cache to save current code

If you find a bug or need some features just let me know!


Example usage:

1. Search some image with Google Image search.
2. Click on the \"JScript Tricks\" icon and enter JS code:

//---beginig
// This code replace focused image title on Google Image search results by adding direct link to the picture.

if( location.href.match(/tbm\\=isch/))
{
var interval = setInterval(\"initGL()\",300);
}

function initGL(){

if($(\"#rg_h\").length == 1)
{
if( $(\"#mylink\").length == 0 )
{
$(\"#rg_hta\").attr(\"href\",$(\"#rg_hta\").attr(\"href\").match(/imgurl=([^\\&]+)/)[1]);
$(\"#rg_hta\").text(\" » \"+$(\"#rg_hta\").text());
}
}
}

//-----end is here

3. Remember to save! (Ctrl+S)
4. Now refresh the page or press \"Apply\" to start script.
5. You can also check \"Autostart\" option.

In the option tab you can easily edit this entry!


Known Bugs:
- Some CSS cannot be applied correctly. You should use this syntax then:

$(document.head).find(\"style\").append(\".someCustomClass{some:styles}\");
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "JScript tricks", "version": "0.9.88", "description": "You can trick any page! Add your own JavaScript (powered by JQuery) and/or CSS to any page.", "background" : {"page":"background.html"}, "browser_action": { "default_icon": "icon.png", "default_popup": "popup.html" }, "permissions": [ "tabs", "http://*/*", "https://*/*" ], "content_scripts": [ { "matches": ["http://*/*", "https://*/*"], "js": ["lib/codemirror.js","mode/javascript/javascript.js","autoload.js"], "run_at":"document_start" } ], "icons" : { "16" : "icon16.png", "24" : "icon24.png", "48" : "icon48.png", "128" : "icon128.png" }, "options_page": "options.html"}
Read more

Similar Extensions

icon

User JavaScript and CSS Extension · Developer Tools 2,000+ 564 ★ 1.62MiB

icon

Witchcraft: JS/CSS injector Extension · Developer Tools 2,000+ 10 ★ 27.24KiB

icon

Javascript Injector Extension · Developer Tools 2,000+ 9 ★ 59.53KiB

icon

Web Injector Extension · Developer Tools 2,000+ 8 ★ 152KiB

icon

Script Menu Extension · Productivity 2,000+ 13 ★ 253KiB

icon

Javascript & Css auto injection Extension · Developer Tools 2,000+ 14 ★ 899KiB

icon

Console Injector Extension · Developer Tools 2,000+ 12 ★ 20.4KiB

icon

JS-Exec Extension · Productivity 2,000+ 3 ★ 1.83MiB

icon

InjectCode Extension · Developer Tools 2,000+ 26 ★ 215KiB

icon

QueryjQuery Extension · Developer Tools 2,000+ 4 ★ 9.13MiB

icon

JavaScript Injector Extension · Developer Tools 2,000+ 33 ★ 397KiB

icon

Custom Stylesheet & Script Extension · Developer Tools 2,000+ 14 ★ 13.94KiB

icon

Injector Extension · Developer Tools 2,000+ 24 ★ 1.53MiB

icon

Light JavaScript Playground Extension · Developer Tools 2,000+ 5 ★ 336KiB

icon

Live Custom CSS,JS injector on pages Extension · Developer Tools 2,000+ 35 ★ 140KiB

icon

Custom JavaScript for Websites 2 Extension · Developer Tools 2,000+ 129 ★ 588KiB

icon

Web Code Injector Extension · Developer Tools 2,000+ 5 ★ 2.36MiB

icon

CRX Inspector Extension · Developer Tools 2,000+ 23 ★ 47.18KiB

icon

jQuery Debugger Extension · Developer Tools 2,000+ 110 ★ 88.52KiB

icon

JS Runtime Inspector Extension · Developer Tools 2,000+ 11 ★ 19.35KiB

icon

Live editor for CSS, Less & Sass - Magic CSS Extension · Developer Tools 2,000+ 266 ★ 2.15MiB

icon

Code Cola Extension · Developer Tools 2,000+ 188 ★ 189KiB

icon

Scripty - Javascript Injector Extension · Productivity 2,000+ 69 ★ 22.85KiB

icon

Save CSS Extension · Developer Tools 2,000+ 29 ★ 23.44KiB

User reviews

icon

Aero Windwalker (ID: 0000001799453d1d) Voted 1 ★ - Updated 06/27/2019 A very powerful tool. But it should include "storage.sync" method so when using multiple computers, the scripts can be shared. Also, window in JScript tricks is not the same window in the webpage, making it less useful in many cases.

icon

Edgardo Arias (ID: 000000cf602b3c4d) Voted 4 ★ - Updated 11/12/2018 falta html inyeccion

icon

Plenty O'Tool (ID: 00000025bb7e71de) Voted 5 ★ - Updated 11/13/2017 Una de las mejores y mas poderosas extensiones para programadores

icon

Yunus emrah dursun (ID: 000000f2d85c899e) Voted 5 ★ - Updated 10/19/2017 very usefull, ty man!

icon

k bars (ID: 000000b776b9e498) Voted 5 ★ - Updated 07/25/2017 auto start suddenly working, thanks