ChromeFor官方QQ群|Chrome内核浏览器离线加装扩展的方法,及chromefor.com使用帮助 | 最新Chrome版本离线安装包国内下载19/12/14修复储存服务器

JScript tricks_v0.9.87

JScript tricks_v0.9.87

介绍:你可以欺骗任何页面!将您自己的JavaScript(由JQuery驱动)和/或CSS添加到任何页面。

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

版本:0.9.87 用户评分:4.22(5分满分) 此版本下载量:3216

大小:340KiB 此版本最后更新时间:2016年7月28日

作者:由szamil提供

分类:Web开发,扩展程序

谷歌商城下载地址本网站下载(DOWN .CRX)立即更新本拓展(update)

JScript tricks_v0.9.87

发表评论