如何把Opera下的Flash屏蔽套件移植到proxomitron?

新手入门、经验交流

Moderator: cre

Forum rules
  • 软件自带帮助是最好的入门教程,请仔细阅读;在您掌握最基本知识前,我们没法帮助您
  • 提问前请先查阅软件帮助文件和论坛相关讨论
  • 查阅软件帮助和论坛相关讨论即可解决的问题帖将直接删除,以免浪费他人时间
  • 请学会如何提问,尽量将问题描述清楚,不明确的提问将被直接删除
Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 04 2009, 10:26

如题,因为我找不到相关的傻瓜教程,所以只好询问版主了。应该把以下三段代码的相关文件复制到proxomitron中的那个目录下的哪个文件中呢?可以直接复制吗?

如果不可以,那么,希望版主能帮忙修改一下这些代码(我不会编写JS、CSS)。

我猜,理论上,能通过在IE中加载proxomitron虚拟代理软件,来实现以上这组CSS和JS套件的外挂,进而,让傲游3在极速和兼容两种模式下都支持Flash广告的屏蔽。

实际上该怎么操作,以及实际效果如何我就不清楚了。

所以呼叫版主们来帮忙……

Opera\profile\styles\user\Flashblock.css

Code: Select all

@charset "utf-8";
/*
Name: (4)全局屏蔽Flash动画(要观看时可取消)
Description: Flash and Shockwave Blocker. Used identifiers from flashblock.xpi. Graphic buttons (C)AVol Wert 2007.
Comment: Only for Opera 9+. Use this file together with FlashBlocker.js to play Flash by clicking on image.
*/
/* Flash identifiers */
object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],
object[codebase*="swflash.cab"],
object[data*=".swf"],
embed[type="application/x-shockwave-flash"],
embed[src*=".swf"],
object[type="application/x-shockwave-flash"],
object[src*=".swf"],
object[codetype="application/x-shockwave-flash"],
iframe[type="application/x-shockwave-flash"],
iframe[src*=".swf"]
{ content: ""; display: inline-block; outline: 1px solid #bbbbbb; min-width: 33px; min-height: 33px; cursor: pointer; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAnCAYAAABjYToLAAAAAXNSR0IArs4c6QA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f19%2FXM6Vvc4y6Z3yEzzU0GhEFxU8DzPBiGgBdqDYKIVAhmsDRNjpQiKS1oXa90p2uh2ndoNHj5jV2l19%2FaNdQUw8PP%2FuiRn50N6lz6Y9aaO%2B654OCx6j81NaY7F8yflz5%2FUU9iYVdGzs22CWmClNIIQsUadbkUszaIBAAyDAORUvqd%2FUP%2B1h27K2%2B%2BvW%2BiVBwdXNad%2B%2Baj6%2B7b%2BXv1x04DTP3FzXdcMlHlv4u7qVwu09rUlcvG53VkzflzW81EzBaOYwtmzYKIK9WQB4aOhUdGxsL9Bw%2FXDgwOT3m1qZFcKvadJ7%2B7bisRFT%2B2HiwzEwB3zR33LCmWa39fDCgNICHjDYmYdBK2QTYAsGEGpUq5HFSny56vyq6M8m3N7rpH1923d6ZRzB97c%2Fj49dqbb8vmVENy45ObvlH1gkTEHIVhlIgiRZqBVMLxIubIV3idmKY2PHjvlo%2F6jf8HWfFh%2Fjddpv0AAAAASUVORK5CYII%3D") no-repeat center; }

/* Hover */
object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"]:hover,
object[codebase*="swflash.cab"]:hover,
object[data*=".swf"]:hover,
embed[type="application/x-shockwave-flash"]:hover,
embed[src*=".swf"]:hover,
object[type="application/x-shockwave-flash"]:hover,
object[src*=".swf"]:hover,
object[codetype="application/x-shockwave-flash"]:hover,
iframe[type="application/x-shockwave-flash"]:hover,
iframe[src*=".swf"]:hover,
object[classid$=":166B1BCA-3F9C-11CF-8075-444553540000"]:hover,
object[codebase*="sw.cab"]:hover,
object[data*=".dcr"]:hover,
embed[type="application/x-director"]:hover,
embed[src*=".dcr"]:hover,
object[type="application/x-director"]:hover,
object[src*=".dcr"]:hover,
object[classid$=":15B782AF-55D8-11D1-B477-006097098764"]:hover,
object[codebase*="awswaxf.cab"]:hover,
object[data*=".aam"]:hover,
embed[type="application/x-authorware-map"]:hover,
embed[src*=".aam"]:hover,
object[type="application/x-authorware-map"]:hover,
object[src*=".aam"]:hover,
object[classid*="32C73088-76AE-40F7-AC40-81F62CB2C1DA"]:hover,
object[type="application/ag-plugin"]:hover,
object[type="application/x-silverlight"]:hover,
object[type="application/x-silverlight-2"]:hover,
object[source*=".xaml"]:hover,
object[sourceelement*="xaml"]:hover,
embed[type="application/ag-plugin"]:hover,
embed[source*=".xaml"]:hover
{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAnCAYAAABjYToLAAAAAXNSR0IArs4c6QAAC5RJREFUWMOtmHuMXNV9xz%2FncR%2Fz8Ozsrnd2vLu2d7GN7TXYDjEuDxk5URoID1WIOqJqS6XSkoCpilSoVCjpI%2F8BSVsRAmkVSxFFqighaaCQAgLXEFxKMNRuwTi24xf2Gq%2B9z9l53HvOr3%2Fc9eKYNV5Q7tXo3tHMPfdzfr%2Ff%2BZ7vOYrPcIiIAtrvvP%2FvVpwYGV06Pj65%2BMzfS6XiwUqluvfhb9y%2BC5hUSsmnfYf6lECVG%2F7wnlv2HTq6uZW6%2FjiOKReLxGH4Kw2eGh%2Bn3mjQqDeIc9GBJYt6Hnlmy4NblFKnfq1gItJ7yfW3Pjk%2BWbuiOn8%2BvdVOSqUypVKJYj4ksjprTIFRlpZ31CYnGRmvM3bqBO8fGmJkZJT29rbXdzz7%2FRvmAqjOA6S%2Fcsuf3bd738G%2FXdxTYUn%2FAAuq82lvK1NuL1HK5wmjaOb%2F2mosIAiNRoPJWoORsRonTg6z%2F%2BBRdu%2Ffx9GhY1y6etU9z2x58FuflGL1CVAdSzfefCSO49zawUH6e7vo7u6m2tlOqZQniiJEhCi0KK%2BxWmE0JCIkrZRWmtBMUpJWSr2VMlWrcez4EP%2F3%2FgG2vrGDXC6o7936L11Kqdps77fngKr2rr%2Fp2MCiBXxu9Sr6e6os6q3S0VYijrO0xUZjQkOEBaUwRiGiSF1KE4XVoLXGKIU2BhHPwr4%2BlizsYUFvhRe2bs8tWHftmIhUZkutna3Ae9ffdGzl0sWsWb2KwYEqfX19RNMpK%2BSCDCy0hAQ0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0z2%2Fk2pXiXmFHKkXWokndY7hUxN8ODLK8Kkx9uw%2FyL4DH9Coj9DTlvvqPz%2F20E%2BVUhO%2F7j3YeZvvvn%2Ft2GR921grezTMzyMXxkQm%2B950Qr3VoDU1Qb3haItSqp1tVz3y0DffmQvQZwI7fby07b%2FCznKp%2BNiWx%2F9iqt4qJCJpkqSFNHXKC5QLcSMRSZuON5Sokae3fOu5T%2FuO%2FwfDLV6TJbBOWAAAAABJRU5ErkJggg%3D%3D"); }
Opera\profile\用户脚本目录\FlashBlocker.js

Code: Select all

// ==UserScript==
// @name Flash blocker
// @author Lex1
// @version 1.6.9
// @description Unblocks Flash and loads flashblocker images in "Cached images" mode. Works together with FlashBlocker.css.
// @ujs:documentation http://ruzanow.ru/index/0-5
// @ujs:download http://ruzanow.ru/userjs/FlashBlocker.js
// ==/UserScript==
(function(){
var unblock = function(s){s.content = 'normal'; s.outline = 'none'; s.backgroundImage = 'none'; s.minWidth = 0; s.minHeight = 0};
var isBlocked = function(ele){
  var tag = (ele && ele.tagName) ? ele.tagName.toLowerCase() : '';
  return (tag == 'embed' || tag == 'object' || tag == 'iframe') && (ele.currentStyle.content || getComputedStyle(ele, null).content) == '""';
};
var getSrc = function(ele){
  var src = ele.getAttribute('src') || ele.getAttribute('source') || ele.getAttribute('data');
  if(!src){
   var params = ele.getElementsByTagName('param');
   for(var i = 0, p; p = params; i++){
    if(p.hasAttribute('name') && p.getAttribute('name').match(/^(movie|data|src|code|filename|url|source)$/i)){
     src = p.getAttribute('value'); break;
    }
   }
  }
  return src;
};
document.addEventListener('click', function(e){
  var et = e.target;
  if(isBlocked(et)){
   e.preventDefault(); unblock(et.style); var em = et.getElementsByTagName('embed')[0]; if(isBlocked(em))unblock(em.style);
  }
}, true)
document.addEventListener('mouseover', function(e){
  var et = e.target;
  if(!et.title && isBlocked(et)){
   var src = getSrc(et); if(src){var a = document.createElement('a'); a.href = src; et.setAttribute('title', a.href)}
  }
}, false)
})();

/*
document.addEventListener('load', function(){
var embed = document.getElementsByTagName('embed');
var obj = document.getElementsByTagName('object');
var isShowImagesMode = function(){
  var imgs = document.images;
  var l = imgs && imgs.length;
  return l && imgs[0].complete && imgs[l-1].complete;
};
if((embed.length == 0 && obj.length == 0) || isShowImagesMode())return;
var reloadImage = function(s){
  var f = document.createElement('iframe');
  f.src = s;
  f.width = 0;
  f.height = 0;
  f.frameBorder = 'no';
  f.scrolling = 'no';
  f.onload = function(){
   this.parentNode.removeChild(this);
  };
  document.documentElement.appendChild(f);
};
var reloadBackImg = function(e){
  for(var i = 0, ele; ele = e; i++){
   var img = ele.currentStyle.backgroundImage || getComputedStyle(ele, null).backgroundImage;
   if(img.indexOf('url("data:image/png;base64,') == 0){
    reloadImage(img.replace(/^url\(\x22|\x22\)$/gi, ''));
    return true;
   }
  }
};
if(!reloadBackImg(embed))reloadBackImg(obj);
}, false)
*/
Opera\profile\用户脚本目录\FlashBlocker-white-list.js

Code: Select all

// ==UserScript==
// @name Flash Blocker white list.
// @author Lex1
// @mender
// @version
// @namespace http://bbs.operachina.com/viewtopic.php?f=41&t=30093&start=40
// @description  White list for Flash Blocker.
// @include http://imgcache.qq.com/*
// @include http://qzone.qq.com/*
// @include http://*.qzone.qq.com/*
// @include http://blog.qq.com/qzone/*
// @include http://music.sina.com.cn/yueku/m/*
// @include http://js.tudouui.com/bin/player_online/TudouVideoPlayer*
// @include http://www.tudou.com/playlist/playindex.do*
// @include http://www.tudou.com/programs/*
// @include http://hd.tudou.com/program/*
// @include http://v.youku.com/v_show/*
// @include http://*youtube.com/*
// @include http://video.google.com/*
// @include http://mail.google.com/*
// @include http://*megaupload.com/*
// @include http://*blizzard.com/*
// ==/UserScript==

document.addEventListener('load', function(){
navigator.ujs_FlashBlockerWhiteList = true;
setTimeout(function(){
  var isBlocked = function(ele){return (ele.currentStyle.content || getComputedStyle(ele, null).content) == '""'};
  var unblock = function(s){s.content = 'normal'; s.outline = 'none'; s.backgroundImage = 'none'; s.minWidth = 0; s.minHeight = 0};
  var i, e, obj;
  obj = document.getElementsByTagName('object');
  for(i = 0; e = obj; i++){if(isBlocked(e))unblock(e.style)};
  obj = document.getElementsByTagName('embed');
  for(i = 0; e = obj; i++){if(isBlocked(e))unblock(e.style)};
  obj = document.getElementsByTagName('iframe');
  for(i = 0; e = obj; i++){if(e.getAttribute('type') == 'application/x-shockwave-flash' && isBlocked(e))unblock(e.style)};
}, 300);
}, false)

Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 04 2009, 10:28

另外,如果把下面这部分增强的代码添加到上面第一段代码的“/* Hover */”这一项的前面,那么,理论上还能用这个CSS拦截、屏蔽不太常见的微软银灯动画之类的东西。

Code: Select all

/* Director identifiers */
object[classid$=":166B1BCA-3F9C-11CF-8075-444553540000"],
object[codebase*="sw.cab"],
object[data*=".dcr"],
embed[type="application/x-director"],
embed[src*=".dcr"],
object[type="application/x-director"],
object[src*=".dcr"]
{ content: ""; display: inline-block; outline: 1px solid #bbbbbb; min-width: 33px; min-height: 33px; cursor: pointer; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJhklEQVRYw6WYaWwdVxXHf7M8P6+xYztuEidx4jjOVgg0NCyhURdRFQQBFJDAFYgqIJBYmn5AICpQRcT+gUBBIEoFQqi0lKjQJqgpBRo7aZu00ESkaXGbBcdx4tix/ez33szc7fBhxmNHLG1hpNG9792Ze//3f+75n3PGExFezfXC6aEG4Dpgi4hsss71WuuWGWubtbElbcyw0nowUeZ4otTRROmBD7/rhsqrmdt7JRAnXjq70ve9HZ7nbQe2iYCIYJ3FWod1Dm0M2lgSpUmUIkoUUaz6Y6UejpNk7+duff/Z/xnEsRdP7Qx8/zbf97d6HhTCkPq6IjVhSBgGBL6P53loY0gSTSWOmS5XuDA+yeWpaSpRTC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GI53kEYcjK1WvY8MbNdHWvQamEarXMVLmSHkpnD/t+sPeKHPO9O2/fCXKP7/vemzb20trShB+E/O34MYbOnmX0wgjGGGpr61jc2cnizmV0dfdQ39CAyWLJ2KVL/OGRh8DzaO+4iiXLu1jY2kYURVQqZWZmZijNRFijBc/7xMHf3X/vvyS67/nYp78L7CoUClyzfjUN9fWEhQJhoYAX+CBeqpMiqVhJGhFNlifkiZBRKKVI4pgoiqiWy1QqFabLMVorRGTPwL4H7/i3iS6wx1rTYa3pe+bE31nb1UlzUwNhoQY/CAjCME9LnQhO0lA9m1lpo9FKo7UijmPiOCKqVqlWKkxXE4zWiHP3+UGw57/WHe/6yCc3OGvvFJE+Pwhob15A51VtBGFIEAT4fgB+CmQ23bfOYWaTX6WzWBIRRxEzlZgoSbBGIyL3+X7wtUP7f3PyFSuwW/o+3mWN2SUieQXW1txEY0Mdflb6CR6C4LKcU1uD0RqtFCpJqMQJUazQWuGsFeB7fhDsObR/7z9eUy160wc+ulOcuw3YigfFQoG62hoK8+pQZBaATUsDpVF5+m8QkcOe5/3sqQO/u/d/rspv2vGRldbaHeLsdoFt+YtpTpMlN1kZ6BwiqYkQ6cfzHvZ9f++Tj/727P/1aWD2uv59fQ3Omuucc1tE3CaEXhG3TESaRaQEDAODiBzH8476vj/w5KO/fVXfJ/4Jhg9mrdRd2gYAAAAASUVORK5CYII=") no-repeat center; }

/* Authorware identifiers */
object[classid$=":15B782AF-55D8-11D1-B477-006097098764"],
object[codebase*="awswaxf.cab"],
object[data*=".aam"],
embed[type="application/x-authorware-map"],
embed[src*=".aam"],
object[type="application/x-authorware-map"],
object[src*=".aam"]
{ content: ""; display: inline-block; outline: 1px solid #bbbbbb; min-width: 33px; min-height: 33px; cursor: pointer; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJXUlEQVRYw6WYa4xdVRXH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42OT646fvJVrrx8LpmsQ/k+i9ra2P/C88RRBMC5s8P8+emnOHzoILmqaibGRjk7fOZNq2fXtdfTe9N7qa6rJU01aZqQxAlxFFMoRug0xVq7y/f93f7hv+/Wv/3jtkYR94GJQkhL85xSuyZCdU0tJ4cGOXtmpqGJ8XFGR84RhoU3Tcn27h7edfP7aGy+rJIJcRQThUWKYYGJfBGtUxD56fbfPfasKkvqJmtM39jEJP84MkAYhhSLEXPnXc77b/swl827/KL0IJvN0nvTe7lt9WeYO68FbTRJmhAXi0TFkGKxwHghnArKPmDTjM7qY2u/sRbkEaWUt7yzjTmz68nmqhDP4+ihQ+zctpWBl46SxHFJ8SqGcwjCNV1LWbykg/aeZVTX1mJ0SpKmJHFMVCwShgXy+TwT+QhrtOB5X3z2qV+vf0Oj+5HPf+UnwD2ZTIZl7YuorakhyGRw4jh0YD8nT5xAa83I2WGGz7xG82XzmN96FYVCnraOLhYsXgKANmkpE+KYKIooFgqEYchkIUbrFBFZt/uPG+9900YXWGetabbWrHn+8MssaW2hob6WIJPlms5uOnuuAxRAqa0XcJV+w6J1ik41WqfEcUwcR0TFIsUwZLKYYLRGnNugfH/d/5w7PnTXlzqctfeLyBrl+zQ1zKJlbiN+EOD7Pkr5oEpAptp96xxGG7TR6FSTJglxHBFHEfkwJkoSrNGIyAal/B88t+V3R99yAvvgmi+0WmPuEZHKBNbYUE9dbTWqPPoJHoLgbGkoKimiRqcpaZIQxglRnKJ1irNWgAeV7697bsumobc1i976qc+tFefuBlbgQS6ToboqS+aCORSZAmBJtSlpgp6ulCLS53neo3ufeWr9O57Kb1191wJr7Wpx9qMCqyp/vKCJoTz2lZqZkosQ2YXnbVZKbdqz9cnB/+vTwNS6+eNrap01K51zvSKuB6FNxM0XkQYRmQBOAwOIHMTz9imldu/Z+uRFfZ/4DynC0ECjHQTFAAAAAElFTkSuQmCC") no-repeat center; }

/* Silverlight identifiers */
object[classid*="32C73088-76AE-40F7-AC40-81F62CB2C1DA"],
object[type="application/ag-plugin"],
object[type="application/x-silverlight"],
object[type="application/x-silverlight-2"],
object[source*=".xaml"],
object[sourceelement*="xaml"],
embed[type="application/ag-plugin"],
embed[source*=".xaml"]
{ content: ""; display: inline-block; outline: 1px solid #bbbbbb; min-width: 33px; min-height: 33px; cursor: pointer; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAp1SURBVHjaYvz//z8DMeD6vUfcQMoWiM2AevT//vun9vfvP5k/f//y//7z9+PvP3+e/Pr9+9bPX38u/vz169TPX78PR3o5fiXGbIAAYiTkiCu3HygwMTEGMzIy+gG5diDlID1///1lADoCSP9jADoAiP8yAC0G4l8M338C8Y9fh378+rXpx8+fa/OiAx/gswMggPA64sKNu8nMTEyJTExM1oyMDAysLCwMXJzsDGxAmoWFmQEoxwB0HNgRP3/+Zvj64wfDpy9fGZ6/ec/w9sMnhq/ffwDxz6Pff/ycX5sRPReXPQABhNURxy5ckwdaUsDCxJQPdAAjBzsbg4gAHwMPFwfDP6D6f//+M/z/BwkFEP8/lP4HooFyf/7+YXj59gPDtXuPGV4AHfT567f/3378nAgMqQlTqnMeotsHEEAYjth36oIWCzNzNSsLcxTIp8JAy6XFRIBR8A8e/GDL//5FsP9BHPAfBEFsqINAIXThxj2Gq3cfMXwEhtDv33+WAeVaZzUUXkO2EyCAUByx9dApeRZmpjZgsEexs7EyaCjJMnCxsyPiH2jx2XPnGA7u389w4eIFhg8fPgATCCSNWFpbM8jIyjFYWloy8PLzQ0IH6CCQQ16++8iw8/h5hm/A6Pn/7+8yoPqqOc2l8BABCCAWZBcBE1XBf1aWKGBIMGiryIPjHmQIyPJ9e/cxFBcVMDx8+BBrvB47egRM8/HxMcQnpzDEJyYDQ4QB7AEeYDpyMNZi2HXiIsOvn3+igKH0Cqi0EKYXIIDgIbFo055kYBTMBoYAo5WBFjj+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v9zCcO3UCq8WcQPVKahoM+mYWDNLyiuAECErs3758ATriK7BP8gMcDUA7JxzeshrexgQIIHRHyAOzTRuQGQVyiLq8NAM/sOxgYWVjYAIWZKDoYWAAN8YYXr9+xfDm9WtQmwCcKPkFhRh4gK1sUA0JsugH0AGgnAaOBpADvv0EZtPfoNywDGhW1aHNq+AtZoAAwuh3eMWmawHTRzVQPApksQg/H7j8ADmAGcgHxiPQHRCHQPockPLhD7hyglTToAIJ5ABQFf/5KzA0gHxgFIBCYBlQf+uRrWtQakKAAMLaA/OISpH/++dPAVAO3gMT5udl4AE2/ZigXT9gpII7O+BC6i+k4fIH3Fb4BXbE1x+gAukXOFT+gRqXDAwTgZ6acGTrWow+A0AA4e2LOofEJQODLxHItAbaCWySsTJwAltErEj9UGD4Qh0AqiFB9cJvMA1p/oFLxKNAdfOP79yIsy8KEEAEe+XOwbEKwEIlGBj3fkCVdnCNDOB6DgKg3T5QIwXUXQSxgYxDQFduAobc2mM7NuDtlQMEECOx4xMOAVHcwOLdFmiBGdAifaAL1IC0DFA/PxCD+gRPgPgW0PKLQMtPAS0/DLScqPEJgAADAIjr3suerNeDAAAAAElFTkSuQmCC") no-repeat center; }

ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by ddbb » Nov 04 2009, 16:22

先把你上面的CSS和JS保存到 proxomitron 里的 html 目录下

这时这个CSS或JS的路径就是
http://local.ptron/xxxx.css
http://local.ptron/yyyy.js

可以有子目录
如果有子目录就是

http://local.ptron/aaa/xxxx.css
http://local.ptron/bbb/yyyy.js


再随便写一个或两个规则 把上面的CSS和JS加到任意你想加的页面里 就OK了......

你可以参考这里2楼的写法

另....你想的是错的......这个CSS和JS用到了OPERA的专用语法......所以IE里应该是没有效果的......

如果你真的想所有浏览器都用.....你还是自己写一个proxomitron规则好了......

如果只是单纯的屏蔽FLASH 不考虑再点一下就让某个FLASH显示 还是不难写的........

或者你去试试sidki

Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 04 2009, 17:54

尽管依旧无法解决这个问题(自己写规则……晕了,原来的代码是俄罗斯的某个高手写的,前前后后写了4、5个版本,目前在Opera9.64下使用依然会有兼容性错误,譬如在土豆网上的某些页面中,一旦屏蔽了Flash,就无法通过直接点击的方法来播放,

必须彻底取消其中的那个全局CSS的加载才能用。连人家那样相对比较专业的人士都写不出来一个相对比较实用,不会出现兼容性问题的的Flash屏蔽套件,我一个门外汉更加不可能去编写什么了。

如果只是单纯的屏蔽Flash,那就没啥意义了,基本上现在主流的IE外壳浏览器都能快速地从下载控制菜单选项中禁止加载Flash的),

唉,无论如何,谢谢版主的回复……

……【奇怪,我记得前几年IE外壳类浏览器都是这样设计的,譬如世界之窗1.X就是这样的,不过这两年的2.X版本都改成从下载控制菜单中设定“全局禁止下载Flash”的那种形式了,或许后者在技术上实现起来更稳定且可靠?】

ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by ddbb » Nov 05 2009, 08:38

浏览器通用 屏蔽FLASH 点一下就能播放.......

你这不就是指sidki里的FLASH toggle功能么........

具体见 http://www.proxomitron.cn/feature_show Flash延缓下载展示

Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 05 2009, 15:37

可否提供一下相关的傻瓜教程?

我刚刚下载、试验了一下论坛里的中文增强版proxomitron,参考了傲游论坛上的兔子版主写的一些介绍,做了如下测试:

点屏幕右下角的金字塔打开主界面→在确保“使用网页过滤”被勾选的情况下→点“网页”→在“查找”中输入Flash→勾选了搜索出来的“Flash & Media Toggle: Show/Play by Default 6.08.01 (fail) [sd] (o.0)”→确定。

之后我试着在土豆网中搜索“特种部队”的相关视频来播放,结果是画面一片发白,什么也播不了—.—

然后,我只好再做了一遍反向操作,取消了那个“Flash & Media Toggle: Show/Play by Default 6.08.01 (fail) [sd] (o.0)”,之后再到傲游3中按F5刷新页面,总算能正常播放了。

好奇怪,和你介绍的图片中显示出来的那种效果完全不一样啊?

不过,这个汉化版中似乎预置了很多的过滤规则,当我打开qq.com的时候,一些由JS脚本弹出来的Flash广告被直接拦截了,所以还是看不出效果来。

对了,我还下载了傲游论坛的兔子版主介绍的英文版proxomitron,试验了一下开启其中自带的“Flash animation killer”,结果,在qq.com上什么Flash动画都没有屏蔽掉。

只在gougou.com上拦截了一处Flash,泛用率不高啊。
-------

呃,我还实验了一次在Opera10中加载我搜集到的那套Flash屏蔽组件,发现在土豆网中出现的在某些页面内点击后也无法播放的问题被解决了一部分,似乎兼容性错误被修复了一些。

在火狐2中,安装现成的FlashBlock扩展后也有类似的效果,不过,也会在土豆网的某些页面内出现点击后也无法播放的兼容性错误,还好它自带的白名单设置功能可以凑合解决这个问题。

ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by ddbb » Nov 05 2009, 15:54

就prox的规则来说.......sidki的包应该是目前最好的.....

当然 因为太强大了 所以免不了有可能会误过滤一些.....

另外因为sidki改了很多东西 他的很多规则之间都是有关联的....

关于那个tudou 我记得好像是有误杀 具体我忘了.....

要么你给个tudou具体页面的URL出来 我们一起研究一下..........对了 最好把你所说的那个你看的教程也给出来 我想知道你目前都做到了哪一步.......

P.S: 如果你决定用sidki的包的话 就先下载一个sidki包 什么都不要改 然后直接放到PROX里就可以的 默认toggle flash功能就是开启的

(我建议你用的 刚上手会难一些 不过一般一个星期左右 就会差不多用明白了 越用会越觉得它强大...有很多功能在里面 上面的那个URL里的展示 除了最上面sina的过滤不是 其他的 几乎都是sidki里写的功能)

P.S2: 以前在deepin上发过一个刚上手的安装教程 没写几个字 你可以看看 现在关了 所以只能用google cache看了
http://74.125.153.132/search?q=cache:j- ... ja&ct=clnk

Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 05 2009, 18:33

兔子版主的介绍主要大概就是类似这句话的说明——他介绍的就是开启默认规则包中的Flash暂缓下载功能:

点屏幕右下角的金字塔打开主界面→在确保“使用网页过滤”被勾选的情况下→点“网页”→在“查找”中输入Flash→勾选了搜索出来的“Flash & Media Toggle: Show/Play by Default 6.08.01 (fail) [sd] (o.0)”→确定。

另外,我最多只知道修改Proxomit\Lists\URL Killfile.txt,可以往里面添加URL过滤规则。
------

我关心的就是如何把傲游2的增强版广告猎手中的全局过滤规则导入proxomitron,再加挂到傲游3内测版上,因为傲游3目前没有内置任何广告过滤功能。

第二就是把这个Flash屏蔽套件移植到proxomitron;

第三就是把以下这个Opera下的,最最基本的广告隐藏用CSS规则导入proxomitron了:

把这三个问题都解决了,我觉得就可以做一个傻瓜安装包给普通用户用了(通过自解压包中的安装功能把Proxomitron.exe添加到开机启动项目栏下,再把我改写的那个快速启用批处理设置为在自解压后自动运行一次,最后在桌面上创建好快速禁用,即卸载批处理的快捷方式,

那样就可以让我这样的,甚至比我还笨,还菜,还怕学习JS、CSS、正则表达式的普通用户们,傻瓜式的在傲游3下使用proxomitron这个广告过滤工具了。

我觉得最好还是不要用太强大的过滤规则,因为我自己都懒得在Opera下通过编辑站点首选项去设定什么不进行内容拦截的网站,让那些比我还渴望“快餐”的初级用户去学习设置白名单……太困难了,也很难推广……)

Opera\profile\styles\user\Hide_AD.css

Code: Select all

@charset "UTF-8";
/*
Name: (5)全局通用广告隐藏(大部分网站)
Author: AD Block plus China Easy List Team, 麻雀, 还有你自个儿^.^
*/

/* 所有以斜杠“/”和星号“*”开头,并以星号“*”和斜杠“/”结尾的内容都是注释,不会被Opera处理。可以用这样的方式来标注被隐藏广告的所属网站。另外要注意的是,以下用来隐藏链接跳转广告的方法对Flash动画和GIF动画无效。 */

/* 仿照以下例子进行添加,可隐藏各种链接跳转型广告。例如 a[href*=".自定义网址关键字."]{display: none !important} 这样的代码可以隐藏在跳转网址中的任意位置含有“自定义关键字”的各种文字或图片链接广告 */

/* 而像a[href^="http://www.自定义网站名.com"]{display: none !important}, 这样的代码能用来隐藏以“http://www.自定义网站名.com”这个网址为开头的链接跳转型广告 */

/* 添加好新的隐藏规则后,要先按“Ctrl+S”“保存”本文件一次,再点击复合工具栏中的“刷新全局隐藏规则”按钮(Reload stylesheets)才能看到效果。 */

/* 单一内容广告 */

/* 2009-7-24发现的用诱导伪链来推广的“极点浏览器”。其附带强制跳转型IE快捷方式,还强制隐藏安装IE插件,所以不得不隐藏它 */
a[href*=".ftcuk.com.cn"]{display: none !important}

/* 2009-7-22发现的另一个无名广告小站,未备案,此域名有传播情色擦边球类图片的嫌疑,据查可能会在2009-8-29到期 */

a[href*="ichile.com.cn"]{display: none !important}

/* 5i 网游互动平台(24387元/天) */
a[href*=".5i.com"]{display: none !important}

/* 德州扑克(cn/com双域名) */
a[href*=".puke888.c"]{display: none !important}

/* 99棋牌游戏竞技平台(cn/com双域名) */
a[href*=".99qipai.c"]{display: none !important}

/* 诺顿的一个网络分销广告 */
a[href*=".norton365.cn"]{display: none !important}

/* 有道桌面词典 */
a[href*="cidian.youdao.com"]{display: none !important}

/* 国外图片站点导航广告 */
a[href*=".bokedy.com"]{display: none !important}

/* 网游皇帝密诏 */
a[href*=".hanxiandi.com"]{display: none !important}

/* netman 远端控制软件(cn/com双域名) */
a[href*=".netman123.c"]{display: none !important}

/* 网游盛大诸侯 */
a[href*="zhol.sdo.com"]{display: none !important}

/* 网游盛大诸侯广告链之二(0元/天?) */
a[href*="passport.12ha.com"]{display: none !important}

/* 卡牌型网游神魔令(11元/天?) */
a[href*="dosml.76park.cn"]{display: none !important}

/* 与某种大型站点有关的广告 */

/* 网易广告 */
a[href*="popme.163.com"]{display: none !important}

a[href*="pro.163.com/"]{display: none !important}

a[href^="http://adclient.163.com/"]{display: none !important}

/* 百度广告 */
a[href*="spcode.baidu.com/spcode"]{display: none !important}

/* 似乎是谷歌旗下的一个广告平台 */
a[href*="doubleclick.net/"]{display: none !important}

/* 中华网广告 */
a[href*="dvsend.china.com/"]{display: none !important}

/* 金山爱词霸广告 */
a[href^="http://goto.www.iciba.com/"]{display: none !important}

/* 奇虎 */
a[href^="http://rd.qihoo.com/out.html?u="]{display: none !important}

/* 腾讯广告 */
a[href^="http://adsclick.qq.com/adsclick?"]{display: none !important}

/* 搜狗广告 */
a[href*="click.cpc.sogou.com"]{display: none !important}

a[href^="http://goto.sogou.com/"]{display: none !important}

/* 搜狐广告 */
a[href*="go.sohu.com"]{display: none !important}

/* 雅虎广告 */
a[href^="http://promo.my.cn.yahoo.com/"]{display: none !important}

/* 广告联盟类或娱乐平台 */

/* 阿里妈妈广告网(cn/com双域名)。若您要登录该网站,请把“/*”符号添到下面第一行的开头处,暂时停用它,并且关闭基于网址拦截的广告过滤。若要解决在其它网站中无法登录或使用某种功能的问题,也请以此类推 */
a[href*="z.alimama.c"]{display: none !important}

/* 搜狐网络营销中心 */
a[href*="sohu.ad-plus.cn"]{display: none !important}

/* 香橙网络互动娱乐平台 */
a[href*=".game185.com"]{display: none !important}

/* 7k7k网页游戏平台 */
a[href*=".web7k7k.net"]{display: none !important}

/* 好耶广告网(cn/com双域名) */
a[href*="allyes."]{display: none !important}

/* 2009-7-16发现的一个无名广告平台,备案尚未通过就开始运营了,查了一下,有效期大约还有半年 */
a[href*=".boxcast.cn"]{display: none !important}

/* 2009-7发现的一个小域名,其下隐藏了一个所谓的成人视频聊天室,可能是欺诈或情色网站 */
a[href*=".114sp.c"]{display: none !important}

/* 0:55 2009-7-18发现的一个无名广告平台,备案尚未通过就开始运营了,查了一下,有效期大约还有5个月 */
a[href*=".lanital.cn"]{display: none !important}

/* 14:28 2009-8-10在土豆网上发现的源自国外的nielsen广告网的cn前缀中国版(2,369元/日) */
a[href*=".imrworldwide."]{display: none !important}

/* 16:15 2009-8-23发现的QQ中奖广告,可能是欺诈网站(0元/日?) */
a[href*="xj-qq.com"]{display: none !important}

/* 2009-10-22:某游戏下载站的图片广告 */
a[href*="www.henqu.com/down"]{display: none !important}
哈哈,我不会CSS,也不想去学~~ 因为我估计一、两年以后,就会出现更多的类似Opera下的CSS版adblock+那样的傻瓜式CSS代码生成器,

所以就懒得去学了(主要还是心态过老,害怕学习更多的知识。以上这段代码是我看了火狐下的adblock plus下的China List规则,又对比了深度论坛Opera专区的ezibo版主写的一个清除广告的CSS样本文件后,琢磨出来的。

我觉得,就用这么一种规则,凑合用一下,勉强能把那种用URL拦截广告后,出现的空白区域给隐藏起来就行了~~)

Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 05 2009, 18:58

我看过的简单说明主要就是这个(还没看懂):

翻译了 Proxomitron 中 URL Killfile.txt 的说明和注解部分

http://hi.baidu.com/ttzm33/blog/item/f4 ... 9d79e.html

用 Proxomitron 过滤 RSS 订阅中的广告

http://hi.baidu.com/ttzm33/blog/item/25 ... c2c53.html

所以我就知道一个要去修改“URL Killfile.txt”这个文件,来添加过滤规则。
------

另外,版主你给的那个教程连接打开后,看到的是一堆此图片来自深度,没看到其它的东西,顶部是一些日语,晕了,版主不会是住在日本的中国留学生吧~~

Alpha_Boy
Posts: 16
Joined: Nov 03 2009, 18:18

Re: 如何把Opera下的Flash屏蔽套件移植到proxomitron?

Post by Alpha_Boy » Nov 05 2009, 19:05

另外,说实话,我研究这个proxomitron主要就是帮没有广告过滤功能的傲游3Alpha版找一个广告过滤辅助工具,是为那些傲游3论坛上的普通用户们准备的。

至于我自己嘛,平时我就用Opera中的那种所见即所得时的URL广告过滤功能,以及那唯一的一种CSS隐藏规则,最后就是那个泛用型Flash屏蔽套件了,这套东西对我来说基本够用了。

如果要切换到IE_Opera插件的兼容模式的话(类似火狐下的IE_Tab扩展),我就用下面这个批处理来过滤广告,平时凑合也够用了~~

ADblockI.bat(同样是根据别人的系统服务优化批出理该写出来的,不是我自己原创的)

Code: Select all

@echo off
title: 兼容模式广告过滤开关
:Menu
cls
echo.
echo.    依次按“1、回车”查看及编辑兼容模式下的广告过滤规则;
echo.
echo.    依次按“2、回车”会更新并应用已编辑过的广告过滤规则;
echo.
echo.    依次按“3、回车”退出本批处理;
echo.
echo.    依次按“4、回车”会禁止在兼容模式下使用广告过滤功能。
echo.
echo.说明:
echo.
echo.一、一般用户要在兼容模式下开启广告过滤功能只需依次输入“2、回车”。
echo.
echo.二、进阶用户要修改及更新广告过滤规则请先输入“1、回车”,编辑一下规则;再依次输入“2、回车”,接下来重启浏览器即可。
echo.
echo.三、如果你不想在兼容模式下开启广告过滤功能了,请重新运行此批处理,依次输入“4、回车”,最后别忘了重启浏览器。
echo.
set choice=
set /p choice=请选择(1,2,3,4):
if /i "%choice%"=="1" goto Edit
if /i "%choice%"=="2" goto Active
if /i "%choice%"=="3" goto Close
if /i "%choice%"=="4" goto Disable

:Edit
start %WINDIR%\notepad.exe "%cd%\NoADrule.txt"
goto Menu

:Active
attrib -r -a -h %windir%\system32\drivers\etc\hosts
if not exist %windir%\system32\drivers\etc\hosts.txt copy %windir%\system32\drivers\etc\hosts %windir%\system32\drivers\etc\hosts.txt
copy "%cd%\NoADrule.txt" %windir%\system32\drivers\etc\hosts /y
ipconfig /flushdns
exit

:Close
exit

:Disable
copy %windir%\system32\drivers\etc\hosts.txt %windir%\system32\drivers\etc\hosts /y
ipconfig /flushdns
exit
NoADrule.txt

Code: Select all

127.0.0.1 localhost
#
# 以上那一第一行是系统自带的数据,最好不要删。本文件是利用系统的域名屏蔽功能,在所有通过系统来进行域名解析的软件中,
#
# 对各种广告联盟的外派广告进行定向屏蔽的广告屏蔽规则列表文件。由于这种屏蔽对Opera和火狐等非IE内核的浏览器,
#
# 甚至QQ和旺旺等即时通讯软件都有效,而且是禁止下载文件的屏蔽,所以最好只在这里添加广告联盟类网站的主机域名黑名单过滤规则,
#
# 而不要添加门户网站的内容过滤规则,以免产生严重的误杀。不过由于系统自带的域名屏蔽功能不支持通配符或相对网址,
#
# 所以即使某些用户随意地在此添加规则也不会产生大范围的误杀的。另外,那些以“#”开头的项目都是注释说明,是不会起作用的。
#
# 以下的广告链接日销售额是从www.myip.cn查询所得,谨供参考。
#
# 在此文件中编写广告过滤规则的步骤是:先去掉各种外派广告链接的网址前缀“http://”,
#
# 再把后面的第一个“/”及更后面的其它内容也去除,仅保留其主域名,并在其最前部加入“0.0.0.0 ”(含空格但不含引号,后同),
#
# 最后将整条编写好的规则添加到本文件的末尾处即可。请自行决定是否添加注释说明,当然,不添加也不会影响到其屏蔽效果的。
#
# 我个人推荐尽量添加说明,以免将来要删除无效规则或“误杀”规则时无从下手。
#
# 关于更新规则的补充说明:添加新的规则后,要先按住Ctrl再按S保存此文件,
#
# 再用我编写的“兼容模式广告过滤开关”(ADblockI.bat)批处理将这个修改过的文件重新载入到系统中,最后重启浏览器即可。
#
# 2009-10-15新发现:如果要屏蔽像code.egooad.com:803这样带端口号的网址,只需将其改为0.0.0.0 code.egooad.com这样的规则即可。
#
# 除了域名中的前缀和后缀要保留外,其它任何多余的部分,包括端口号,都要去除,这样编写出来的屏蔽规则才会生效。
#
# (已知的广告联盟类网站的域名后缀类型有:net/com/cn/cc/)
#
# 百度(其主题推广里连无痛人流这种类似街边电线杆子上的牛皮癣型小广告都有,也不知道出生命危险的时候谁来负责?)
# cpro:4232878618元/天;eiv:3256060476元/天。
0.0.0.0 cpro.baidu.com
0.0.0.0 eiv.baidu.com
#
# 百度联盟(5982136391元/天。其中存在滚动型文字广告,可能里面还是有会占用较多CPU运算时间的脚本,所以最后决定屏蔽)
0.0.0.0 unstat.baidu.com
#
# 2009-10-15复查(3159050424元/天)
0.0.0.0 spcode.baidu.com
#
# 2009-10-15:(3685752800元/天)
0.0.0.0 utk.baidu.com
#
# Google
# 2009-10-14:(172133777元/天)
0.0.0.0 googleads.g.doubleclick.net
#
# 2009-10-15:(278306元/天)
0.0.0.0 pagead2.googlesyndication.com
#
# 2009-8-12:(4元/天?)
0.0.0.0 static.googleadsserving.cn
#
# 雅虎及阿里妈妈
#
# 阿里妈妈广告联盟(z/static:455590元/天;保存对CPU占用较大的脚本文件的a:33/天)
0.0.0.0 z.alimama.com
0.0.0.0 a.alimama.cn
0.0.0.0 static.alimama.com
#
# 网易有道搜索推广(1936472元/天)
0.0.0.0 impservice.union.youdao.com
#
# 迅雷
# 狗狗搜索中的图片广告(33649元/天)
0.0.0.0 biz5.sandai.net
#
# 国内的一些大的广告联盟类网站,经常投放Flash视频广告,占用大量CPU资源,使浏览器运行得又慢又卡。
#
# 2009-7-15:(53122元/天,其中的某些广告会触发金山网盾反欺诈报警,所以拦截,后同)。
0.0.0.0 u1.778669.com
0.0.0.0 u2.778669.com
0.0.0.0 u3.778669.com
0.0.0.0 u4.778669.com
0.0.0.0 u5.778669.com
0.0.0.0 u6.778669.com
#
# 第一视频外派广告(277785元/天)
0.0.0.0 busjs.vodone.cn
#
# 好耶广告网(614810元/天)
0.0.0.0 smms.allyes.cn
0.0.0.0 mscdn.allyes.cn
0.0.0.0 focusbaiduafp.allyes.com
0.0.0.0 goqoafp6.allyes.com
0.0.0.0 smcreative.allyes.com
0.0.0.0 smcommon.allyes.com
0.0.0.0 smartmedia.allyes.com
0.0.0.0 smjs.allyes.com
0.0.0.0 smarttrade.allyes.com
#
# 国外广告联盟网站进入国内市场的域名
#
# 快车联盟(0元/天?)
0.0.0.0 ufile.kuaiche.com
#
#中国寻友推广联盟(86元/天,似乎都是真实的照片,因为其中的人物相貌基本上都很吓人)
0.0.0.0 banners.chinesefriendfinders.com
#
# 2009-10-14:(7676元/天)
0.0.0.0 as.casalemedia.com
#
# 不知名的小广告联盟类网站(此类站点中的欺诈、赌博、低俗类广告更多一些)
#
# 2009-10-16:二月天电子商务营销(0元/天?凡是此类大肆张贴一些美女照片诱拐网民去点击的,一律拦截,后同)
0.0.0.0 www.2yt.net
#
# 2009-10-17:(0元/天?这个小广告联盟也是推广什么真人暧昧视频聊天的)
0.0.0.0 www.cs97.com
#
# 2009-10-16:无名脚本服务器域名(7元/天。由于脚本对CPU的资源占用较大,所以即使流量微小到难以查询,还是决定拦截,后同)
0.0.0.0 jsunion.boodvd.cn
0.0.0.0 jsunion.boodvd.com
#
# 2009-10-16(26元/天。即使流量再微小,此类投放强制弹窗广告和性激素类成人药品广告的站点也绝对不会放行,后同)
0.0.0.0 v.cpp9v.cn
0.0.0.0 vv.9vcpc.cn
0.0.0.0 v1.9vcpc.cn
0.0.0.0 v.9vcpc.cn
#
# 2009-10-16:玩流量联盟(42元/天)
0.0.0.0 c2m.wanliuliang.com
0.0.0.0 p.wanliuliang.com
0.0.0.0 cpc.wanliuliang.com
#
# 2009-7-22猫猫广告联盟(43元/天,凡是投放的广告中有QQ中奖欺诈类网站的哪怕流量再小也一概拦截,后同)
0.0.0.0 www.maomao8.com
#
# 2009-10-16:速影联盟(70元/天)
0.0.0.0 c.sfilm.com
#
# 优质传媒的脚本服务器(86元/天)
0.0.0.0 js.0252.com
#
# 2009-10-17:亿告(275元/天)
0.0.0.0 monitor.yigao.com
0.0.0.0 p.yigao.com
#
# PEE互联网广告营销专家(275元/天)
0.0.0.0 c.pee.cn
#
# 2009-10-15(451元/天)
0.0.0.0 img.ok8848.com
#
# 推告联盟(652元/天)
0.0.0.0 js.tuigoo.com
#
# 2009-10-15:纵横广告联盟(1132元/天)
0.0.0.0 ww.zhcpm.com
#
# 2009-10-16:华夏广告联盟(1345元/天)
0.0.0.0 cpc11.hxad.com
0.0.0.0 cpm2.hxad.com
#
# 2009-10-16:我拉广告横幅制作网(1372元/天)
0.0.0.0 image2.55.la
#
# 双倍广告联盟(1375元/天)
0.0.0.0 www.2bj.cn
#
# 2009-10-16:LinkTech广告联盟(1620元/天)
0.0.0.0 banner.linktech.cn
0.0.0.0 track.linktech.cn
#
# 2009-10-17:信誉广告联盟(vvww:2452元/天;www:662元/天)
0.0.0.0 vvww.qyclick.com
0.0.0.0 www.qyclick.com
#
# 2009-8-8:(5102元/天)
0.0.0.0 g.91ivr.com
#
# 2009-9-29:脉动广告联盟(x2:6775元/日;img2:4572元/日)
0.0.0.0 x2.myad.cn
0.0.0.0 img2.myad.cn
#
# 极限广告联盟脚本服务器域名(8173元/天)
0.0.0.0 code.cnxad.com
#
# 弈天广告联盟(10098元/天)
0.0.0.0 play.unionsky.cn
#
# 纳奇游戏营销(153819元/天)
0.0.0.0 v.naqigs.com
#
# 2009-10-15:大联盟广告联盟(19881元/天,这个网址的前缀确实只有两个w)
0.0.0.0 ww.unionbig.com
#
# 2009-10-16:九赢广告联盟外链之一(20807元/天)
0.0.0.0 www1.9v.cn
#
# 2009-10-15:易告网络传媒(23123元/天)
0.0.0.0 code.egooad.com
0.0.0.0 i.egooad.cn
#
# 宣传易传媒(ads8.com:232元/天;1133.cc:269937元/天)
0.0.0.0 cpa.ads8.com
0.0.0.0 u.1133.cc
#
# 2009-7:网元网外派链接之一(519316元/天)
0.0.0.0 r.mybestyouxi.cn
#
# 2009-10-20:麒润广告网络(537528元/天)
0.0.0.0 ww3.keyrun.cn
#
# 推广网络游戏(大多都是电子海洛因,没什么信息或知识含量,只会消耗网民的精力、金钱和生命)或不知名软件的外派广告服务器的域名
#
# 伪装成电影下载链接的,推广兔兔图标秀软件的一个域名(0元/天,凡是搞伪装、误导的一律拦截,后同)
0.0.0.0 www.wooigoo.cn
#
# 2009-9-29:创速网络传媒(0元/日?)
0.0.0.0 www.37cs.com
#
# 2009-8-15:信誉广告联盟(3元/天)
0.0.0.0 click.5j.com
#
# 2009-10-16:信网在线(4元/天)
0.0.0.0 www.xwadv.com
#
# 2009-9-5:4399游戏广告联盟的脚本服务器域名(341元/天)
0.0.0.0 uimg.my4399.com
#
# 魔力岛(14366元/天)
0.0.0.0 u.molidao.com
#
# 就要玩(46002元/天?)
0.0.0.0 c.91wan.com
#
# 同学网武林传奇II(85500元/日)
0.0.0.0 dev.tongxue.com
#
# 2009-10-15:(13511元/日)
0.0.0.0 bto.youxiya.com
#
# 热血三国2009-10-15复查(95562/日)
0.0.0.0 g.91sanguo.cn
#
# 帝国争霸的弹出窗口型登录页面(23538373元/天,考虑到有人可能会去玩这个游戏,所以暂时不屏蔽它,需要屏蔽它的朋友请去掉下面那一行前面的“# ”,后同)
# 0.0.0.0 in.dg.mop.com
#
# 封神无敌(0元/天)
# 0.0.0.0 passport.fs5d.com
#
# 九洲战记(0元/天)
# 0.0.0.0 images.9zwar.com
#
# 纯粹的欺诈类网站,例如QQ中奖。
#
# 2009-10-16:QQ中奖(0元/天。此类广告,不论是弹出还是浮动,一律拦截,下同)
0.0.0.0 qqhdx.cn
用这套批处理的缺点是不支持相对路径,不支持子域名,不支持通配符;

优点是几乎不占用内存,没有额外的进程,也就不会有进程崩溃的问题,另外,也基本上没有误杀。

特别适合什么都不懂,什么都不会,只知道按回车的初级用户~~

Post Reply