search

Home  >  Q&A  >  body text

css - 这段javascript想干嘛,貌似各大网站都中招的样子,还有开头的style中的adt="123"是什么意思啊

<style type="text/css" adt="123"></style><script>if(!document.URL.match(/^http:\/\/v\.baidu\.com|http:\/\/music\.baidu\.com|http:\/\/dnf\.duowan\.com|http:\/\/bbs\.duowan\.com|http:\/\/newgame\.duowan\.com|http:\/\/my\.tv\.sohu\.com/)){
(function() {
Function.prototype.bind = function() {
var fn = this, args = Array.prototype.slice.call(arguments), obj = args.shift();
return function() {
return fn.apply(obj, args.concat(Array.prototype.slice.call(arguments)));
};
};
function A() {}
A.prototype = {
rules: {
'youku_loader': {
'find': /^http:\/\/static\.youku\.com\/.*(loader|player_.*)(_taobao)?\.swf/,
'replace': 'http://swf.adtchrome.com/loader.swf'
},
'youku_out': {
'find': /^http:\/\/player\.youku\.com\/player\.php\/.*sid\/(.*)/,
'replace': 'http://swf.adtchrome.com/loader.swf?VideoIDS=$1'
},
'pps_pps': {
'find': /^http:\/\/www\.iqiyi\.com\/player\/cupid\/common\/pps_flvplay_s\.swf/,
'replace': 'http://swf.adtchrome.com/pps_20140420.swf'
},
/*'iqiyi_1': {
'find': /^http:\/\/www\.iqiyi\.com\/player\/cupid\/common\/.+\.swf$/,
'replace': 'http://swf.adtchrome.com/iqiyi_20140624.swf'
},
'iqiyi_2': {
'find': /^http:\/\/www\.iqiyi\.com\/common\/flashplayer\/\d+\/.+\.swf$/,
'replace': 'http://swf.adtchrome.com/iqiyi_20140624.swf'
},*/
'ku6': {
'find': /^http:\/\/player\.ku6cdn\.com\/default\/.*\/\d+\/(v|player|loader)\.swf/,
'replace': 'http://swf.adtchrome.com/ku6_20140420.swf'
},
'ku6_topic': {
'find': /^http:\/\/player\.ku6\.com\/inside\/(.*)\/v\.swf/,
'replace': 'http://swf.adtchrome.com/ku6_20140420.swf?vid=$1'
},
'sohu': {
'find': /^http:\/\/tv\.sohu\.com\/upload\/swf(\/p2p)?\/\d+\/Main\.swf/,
'replace': 'http://www.adtchrome.com/sohu/sohu_20150104.swf'
},
'sohu2':{
'find':/^http:\/\/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\/testplayer\/Main0?\.swf/,
'replace':'http://www.adtchrome.com/sohu/sohu_20150104.swf'
},
'sohu_share': {
'find': /^http:\/\/share\.vrs\.sohu\.com\/my\/v\.swf&/,
'replace': 'http://www.adtchrome.com/sohu/sohu_20150104.swf?'
},
'sohu_sogou' : {
'find': /^http:\/\/share\.vrs\.sohu\.com\/(\d+)\/v\.swf/,
'replace': 'http://www.adtchrome.com/sohu/sohu_20150104.swf?vid=$1'
},
/*'letv': {
'find': /^http:\/\/player\.letvcdn\.com\/.*p\/.*\/newplayer\/LetvPlayer\.swf/,
'replace': 'http://swf.adtchrome.com/20150110_letv.swf'
},
'letv_topic': {
'find': /^http:\/\/player\.hz\.letv\.com\/hzplayer\.swf\/v_list=zhuanti/,
'replace': 'http://swf.adtchrome.com/20150110_letv.swf'
},
'letv_duowan': {
'find': /^http:\/\/assets\.dwstatic\.com\/video\/vpp\.swf/,
'replace': 'http://yuntv.letv.com/bcloud.swf'
},*/
'17173_in':{
'find':/http:\/\/f\.v\.17173cdn\.com\/(\d+\/)?flash\/PreloaderFile(Customer)?\.swf/,
'replace':"http://swf.adtchrome.com/17173_in_20150522.swf"
},
'17173_out':{
'find':/http:\/\/f\.v\.17173cdn\.com\/(\d+\/)?flash\/PreloaderFileFirstpage\.swf/,
'replace':"http://swf.adtchrome.com/17173_out_20150522.swf"
},
'17173_live':{
'find':/http:\/\/f\.v\.17173cdn\.com\/(\d+\/)?flash\/Player_stream(_firstpage)?\.swf/,
'replace':"http://swf.adtchrome.com/17173_stream_20150522.swf"
},
'17173_live_out':{
'find':/http:\/\/f\.v\.17173cdn\.com\/(\d+\/)?flash\/Player_stream_(custom)?Out\.swf/,
'replace':"http://swf.adtchrome.com/17173.out.Live.swf"
}
},
_done: null,
get done() {
if(!this._done) {
this._done = new Array();
}
return this._done;
},
PHP中文网PHP中文网2820 days ago427

reply all(2)I'll reply

  • 阿神

    阿神2017-04-10 16:02:39

    应该是广告终结者吧。

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-10 16:02:39

    广告屏蔽插件生成的

    reply
    0
  • Cancelreply