我才12 ?

文章关键字 ‘greasemonkey’

Opera UserJs Code:

/**
 * 淘宝首页
 * @url http://www.taobao.com
 * @description 屏蔽淘宝首页弹出广告
*/
if( location.hostname.indexOf('www.taobao.com') != -1 ) {
    //屏蔽新窗口广告弹出
    window.opera.addEventListener(
        'BeforeEventListener.load',
        function (e) {
            if(e.listener.toString().indexOf('function(){q._showAds()}') != -1) {
                e.preventDefault();
                return;
            }
        }, false
    );

//屏蔽右下角pop窗口
window.opera.addEventListener(
    'BeforeExternalScript',
    function (e) {
        if(e.element.src.indexOf('wizard.js') != -1) {
            e.preventDefault();
            return;
        }
    }, false
);

}

Firefox Greasemonkey Code:

// ==UserScript==
// @name           taobao
// @namespace      tb
// @author nanzhi at www.12sui.cn
// @description    pingbi index ad
// @include        http://www.taobao.com
// @include        http://taobao.com
// ==/UserScript==

document.cookie = 'tb_defaultbackpop=1'; document.getElementById('J_DirectionalFloat').innerHTML = '';

对Greasemonkey不甚熟悉,所以用的方法比较散~

这位姐姐,你好,你的浏览器版本太低了,为了避免您中毒,请您升级您的浏览器!