JScript tricks JScript tricks

Developer Tools
Version: 0.9.88
Last Update: 2020-09-24

Overview

JScript tricks is a Chrome extension developed by szamil. According to the data from Chrome web store, current version of JScript tricks is 0.9.88, updated on 2020-09-24.
2,000+ users have installed this extension. 49 users have rated this extension with an average rating of .

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

#### 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}");

Rating

49 ratings

Total Installs

2,000+

Information

Last Update

2020-09-24

Current Version

0.9.88

Size

340KiB

Author

szamil

Website

None

Category

Developer Tools

Latest Reviews

See More

avatar Aero Windwalker
2019-06-27

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.

avatar Edgardo Arias
2018-11-12

falta html inyeccion

avatar Plenty O'Tool
2017-11-13

Una de las mejores y mas poderosas extensiones para programadores

avatar Yunus emrah dursun
2017-10-19

very usefull, ty man!

avatar kelvin barsana
2017-07-25

auto start suddenly working, thanks