JScript tricks

#4.22 / 50 rate

JScript tricks

2,000 users

2017-11-04

szamil

Extension Information

5 star
53%
4 star
14%
3 star
14%
2 star
14%
1 star
4%

Supported Languages

Permissions

Description

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

Reviews

Mario Biasi
Mario Biasi

It helps me with the problem of the AD-block alert always appearing, even if I removed any ad-blocker. The scripts I created work smoothly. I use the trick described in the description to wait for the DOM to be fully loaded. The missing star is because in the Settings page I dont see the list of websites with custom scripts. Only after clicking on "export" I can see the different scripts. Only DEFAULT is present in the Settings Any advise on that?

Edgardo Arias
Edgardo Arias

falta html inyeccion

Plenty O'Tool
Plenty O'Tool

Una de las mejores y mas poderosas extensiones para programadores

Similar extensions

User JavaScript and CSS
User JavaScript and CSS

tenRabbits

Witchcraft: JS/CSS injector
Witchcraft: JS/CSS injector

https://luciopaiva.com

Javascript Injector
Javascript Injector

Daniel Han

Web Injector
Web Injector

Trevor Reed

Script Menu
Script Menu

安東邦泰

Javascript & Css auto injection
Javascript & Css auto injection

dotpower.com

Console Injector
Console Injector

andrew.coenen

JS-Exec
JS-Exec

SeevenDev

InjectCode
InjectCode

https://jaak.kytt.ee

QueryjQuery
QueryjQuery

https://queryjquery.com

JavaScript Injector
JavaScript Injector

luisnaia

Web Code Injector
Web Code Injector

Jon Ander Echeverria Sanchez