usernametoolong
V2EX  ›  问与答

怎样 block 这个网站的 anti-block? #高能预警#NSFW

  •  
  •   usernametoolong · Sep 14, 2017 · 6038 views
    This topic created in 3339 days ago, the information mentioned may be changed or developed.
    #高能预警#NSFW
    #高能预警#NSFW
    #高能预警#NSFW

    忽略内容,只研究技术

    http://gg3av.com
    里面的“免费影片”

    只要开了 adblock 之类的插件就出现
    “目前沒有您搜尋的內容,或是您已使用廣告封鎖,請將本站加入白名單才能看到精彩內容。”
    我找了几个办法屏蔽掉了,但是一点播放的时候就回到了首页,搞不定了
    这里大神多
    能找到是怎么实现的么?并把它屏蔽
    12 replies  •  2017-09-14 22:51:34 +08:00
    freed
    freed
    Sep 14, 2017❤️1
    1
    不是很懂.用油猴脚本直接删掉那个'.google-ad').height() == 0 的 js 不行吗..
    usernametoolong
    usernametoolong
    OP
    Sep 14, 2017
    2
    @freed 不行。。。
    xenme
    xenme
    Sep 14, 2017 via iPhone❤️1
    3
    开车开的措不及防,手机上 content blocker 完全没问题
    usernametoolong
    usernametoolong
    OP
    Sep 14, 2017
    4
    @xenme 已经提示过了。。。电脑上 chrome 还是不行。。。
    lzhr
    lzhr
    Sep 14, 2017❤️1
    5
    uBlock Origin
    lzhr
    lzhr
    Sep 14, 2017
    6
    @lzhr #5 看错了
    usernametoolong
    usernametoolong
    OP
    Sep 14, 2017
    7
    @lzhr 这样试过了。。。点播放的时候会跳回首页
    honeycomb
    honeycomb
    Sep 14, 2017 via Android❤️1
    8
    @usernametoolong 如果要手写的话就一个个下断点,把它打的桩全部拔掉。

    或者找找看有没有现成的做法。
    usernametoolong
    usernametoolong
    OP
    Sep 14, 2017
    9
    @honeycomb 我搞了半天没搞定。。。
    honeycomb
    honeycomb
    Sep 14, 2017
    10
    @usernametoolong 因为我也不会
    usernametoolong
    usernametoolong
    OP
    Sep 14, 2017
    11
    @honeycomb 哈哈,肯定有高手会的。。。我们就坐等高手
    coolan
    coolan
    Sep 14, 2017❤️2
    12
    楼主的需求是禁止它提示广告封锁?它的内容栏用了 google-ad 的 class,会被屏蔽。所以把这个删了就好了。
    我是用 adbyby 的,里面有替换字符串的功能。
    自定义规则:
    ||gg3av.com$s@google-ad@@
    ||gg3av.com[email protected]("http://javfree.club/av/", "_blank")@
    要是用 adblockplus 只能使用例外规则禁止在这个网站上屏蔽.google-ad,但是我没试成功。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3141 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 04:33 · PVG 12:33 · LAX 20:33 · JFK 23:33
    ♥ Do have faith in what you're doing.