• 38696阅读
  • 621回复

潜能激活策略--神秘策 查看手机触屏版 [复制链接]

上一主题 下一主题
离线zerobbq

只看该作者 570楼 发表于: 2012-11-25
看有没有用啊,练了这么久,实际效果还没多少。(function main(Global) {        var CONSTANTS = {            PLAYER_DOM:    'object[data],embed[src],iframe[src]',            PLAYERS: [                {                    find: /^http:\/\/static\.youku\.com\/.*?q?(player|loader)(_[^.]+)?\.swf/,                    replace: 'http://player.opengg.me/loader.swf'                },                {                    find: /^http:\/\/js\.tudouui\.com\/.*?\/TudouVideoPlayer_Homer_[^.]*?.swf/,                    replace: 'http://player.opengg.me/TudouVideoPlayer_Homer_238.swf'                },                {                    find: /^http:\/\/player\.youku\.com\/player\.php\//,                    replace: 'http://player.opengg.me/player.php/'                },                {                    find: /^http:\/\/dp\.tudou\.com\/nplayer[^.]*?\.swf|http:\/\/js\.tudouui\.com\/doupao\/nplayer[^.]*?\.swf/,                    replace: 'http://player.opengg.me/nplayer.swf'                },                {                    find: /^http:\/\/www.tudou.com\/(([a-z]|programs)\/.*)/,                    replace: 'http://player.opengg.me/td.php/$1'                }            ],            SHARE_DOM: '#panel_share input,input#copyInput.txt',            SHARES: [                {                    find: /http:\/\/player\.youku\.com\/player\.php\//,                    replace: 'http://player.opengg.me/player.php/'                },                {                    find: /http:\/\/www.tudou.com\/(.*v\.swf)/,                    replace: 'http://player.opengg.me/td.php/$1'                }            ],            TIPS_HOLDER: '#miniheader,#gTop',            TIPS: '
OpenGG.Clean.Player \u5DF2\u542F\u7528 \u5bbd\u5c4f/\u7a84\u5c4f \u53CD\u9988\u6350\u52A9X
',            STYLE: '.playBox_thx #player.player,.playBox_thx #player.player object{min-height:' + Math.max(Global.innerHeight * 0.6, 580) + 'px !important}.tips_container{position:absolute;top:3em;padding:1em 2em;right:50px;color:green;opacity:0.4;background:#ddd;z-index:999999}.tips_container:hover{opacity:0.8}.tips_container .tips_toggleWide{color:red;cursor:pointer;display:none}.tips_close{position:absolute;right:3px;top:3px}',            NODEINSERTED_HACK: '@-moz-keyframes nodeInserted{from{opacity:0.99;}to{opacity:1;}}@-webkit-keyframes nodeInserted{from{opacity:0.99;}to{opacity:1;}}@-o-keyframes nodeInserted{from{opacity:0.99;}to{opacity:1;}}@keyframes nodeInserted{from{opacity:0.99;}to{opacity:1;}}embed,object{animation-duration:.001s;-ms-animation-duration:.001s;-moz-animation-duration:.001s;-webkit-animation-duration:.001s;-o-animation-duration:.001s;animation-name:nodeInserted;-ms-animation-name:nodeInserted;-moz-animation-name:nodeInserted;-webkit-animation-name:nodeInserted;-o-animation-name:nodeInserted;}',            TOGGLE_BTN: '.tips_container .tips_toggleWide'        };        var DONE = [];        var UTIL = {            addCss: function (str) {                var style = document.createElement('style');                style.textContent = str;                document.head.appendChild(style);            },            procFlash: function (elem) {                if (DONE.indexOf(elem) !== -1) {                    return;                }                if (this.reloadFlash(elem)) {                    DONE.push(elem);                }            },            reloadFlash: function (elem) {                var attrs = ['data', 'src'];                var players = CONSTANTS.PLAYERS;                var reloaded = false;                UTIL.forEach(attrs, function (attr) {                    UTIL.forEach(players, function (player) {                        var find = player.find;                        var replace = player.replace;                        var value = elem[attr];                        if (value && find.test(value)) {                            var nextSibling = elem.nextSibling;                            var parentNode = elem.parentNode;                            var clone = elem.cloneNode(true);                            clone[attr] = value.replace(find, replace);                            parentNode.removeChild(elem);                            parentNode.insertBefore(clone, nextSibling);                            //Baidu tieba shit.                            if(getComputedStyle(clone).display==='none'){                                clone.style.display='block';                            }                            reloaded = true;                        }                    });                });                return reloaded;            },            forEach: function (arr, callback) {                if (this.isArrayLike(arr)) {                    if (Array.prototype.forEach) {                        Array.prototype.forEach.call(arr, callback);                    } else {                        var i = 0;                        for (i = 0; i
离线柯南聪
只看该作者 571楼 发表于: 2012-12-09
            
离线凡冥
只看该作者 572楼 发表于: 2013-01-01
啊..神秘.真是太想看了.没什么话说了.不知道够不够30字.我想可能够了
离线q13461346
只看该作者 573楼 发表于: 2013-01-01
      
离线aliali123211
只看该作者 574楼 发表于: 2013-01-03
支持支持支持支持支持支持支持支持支持支持支持支持支持支持支持支持
离线rogerll
只看该作者 575楼 发表于: 2013-01-17
神秘神秘神秘神秘神秘神秘神秘神秘神秘神秘
离线fems
只看该作者 576楼 发表于: 2013-01-18
期待………………………………………………………………………………………………………………………………………………………………………………………………………………
离线z1y3s5h7
只看该作者 577楼 发表于: 2013-01-19
一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶一定顶
离线摩羯座610
只看该作者 578楼 发表于: 2013-02-10
小弟对楼主的敬仰,如滔滔江水连绵不绝!
离线1010588951
只看该作者 579楼 发表于: 2013-02-16
这个可以有!我看这个不错噢!谢谢楼主!
离线凡冥
只看该作者 580楼 发表于: 2013-03-31
我来看看,有那么神秘吗


离线高普化
只看该作者 581楼 发表于: 2013-03-31
好 好好好好好好好好好好好好 看看看看看看看看看看看看  一一一一一一一一一一 下下下下下下下下下下下下下下下下下下
离线wisebon
只看该作者 582楼 发表于: 2013-04-03
不知道是不是值得看,希望能看到给我一些灵感的文字
离线s98203
只看该作者 583楼 发表于: 2013-04-05
標題好吸引人啊.........
离线贪狼星124
只看该作者 584楼 发表于: 2013-04-10
有这样神奇吗,试试就知道了…
快速回复
限100 字节
 
上一个 下一个