Proxomitron之天涯只看规则

[Patterns]
Name = "tianya_天涯只看"
Active = TRUE
URL = "$TYPE(htm)[^/]++.tianya.cn/"
Limit = 100
Match = "(<SCRIPT[^>]++\ssrc=$AV(\w/js/global/__ty_vip(_new|_[0-9]+{8}|).js)[^>]++>)\0$SET(MYOP="
        "<STYLE type="text/css">\n"
        ".tianya_menu{position:fixed;bottom:0;right:8px;top:85%;width:70px;}\n"
        "a:link {color: blue}\n"
        "a:visited {color: green}\n"
        "a:hover {color: red}\n"
        "a:active {color: gray}</STYLE>\n"
        "<div class=tianya_menu>\n"
        "<a href="javascript:V.lookByAuthor( V.author );"><font size=2>只看楼主</font></a><br /><br />\n"
        "<a href="javascript:void(f=prompt('输入查看人ID:',''));V.lookByAuthor( f );"><font size=2>只看某人</font></a><br /><br />\n"
        "<a href="javascript:V.lookByAuthorBack();"><font size=2>查看所有</font></a><br /><br /><br /></div>\n"
        "\0)"
        "|(<script[^/]++\ssrc=$AV(\w/js/user_ty_vip.js)[^/]++>)\1$SET(MYOP=<STYLE type="text/css">\n"
        ".tianya_menu_2{position:fixed;bottom:0;right:3px;top:80%;height:100px;width:70px;}\n"
        "a:link {color: blue}\n"
        "a:visited {color: green}\n"
        "a:hover {color: red}\n"
        "a:active {color: gray}</STYLE>\n"
        "<div class=tianya_menu_2>\n"
        "<a href="javascript:__ty_vip_fn_look_by_author(chrAuthorName);void 0;"><font size=2>&#x53EA;&#x770B;&#x697C;&#x4E3B;</font></a><br /><br />\n"
        "<a href="javascript:void(f=prompt('&#x8F93;&#x5165;&#x67E5;&#x770B;&#x4EBA;ID:',''));__ty_vip_fn_look_by_author( f );void 0;"><font size=2>&#x53EA;&#x770B;&#x67D0;&#x4EBA;</font></a><br /><br />\n"
        "<a href="javascript:__ty_vip_fn_look_back(chrAuthorName, true);void 0;"><font size=2>&#x67E5;&#x770B;&#x6240;&#x6709;</font></a>"
        "<br /><br /></div>\n"
        "\1)"
Replace = "$GET(MYOP)"
          "$STOP()"

猜你喜欢

转载自cj8631.iteye.com/blog/769881