V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Lentin

Twitter 去客户端广告

  •  1
     
  •   Lentin · May 2, 2025 · 8640 views
    This topic created in 374 days ago, the information mentioned may be changed or developed.
    前提环境是你的代理服务器支持 ipv6
    代理服务器 hosts 写入下面这行,或者其他方法把 api.twitter.com 解析到 cloudflare cdn 任一 ipv6 地址即可
    2606:4700:4700::1001 api.twitter.com
    Supplement 1  ·  Jul 1, 2025
    历史两个月 G 了 兄弟们,数字移门老毛子吧吧
    31 replies    2025-07-08 15:54:30 +08:00
    ZeawinL
        1
    ZeawinL  
       May 2, 2025 via iPhone   ❤️ 1
    补一个用俄罗斯节点也没广告
    kttde
        2
    kttde  
       May 2, 2025
    还有在用 twitter.com 这个域名吗,现在域名好像都切换到 x.com
    line
        3
    line  
       May 2, 2025
    为什么 v6 节点没广告? 推特的广告服务器只有 v4 IP ?
    Lentin
        4
    Lentin  
    OP
       May 2, 2025   ❤️ 1
    @kttde #2 客户端 api 还是用的 twitter 域名
    @line #3 api.twitter.com 没有配置 ipv6 解析,但是 cloudflare 是支持的,我猜测为后端根据地区投放广告的地址库没有匹配 ipv6 源地址,仅匹配了 ipv4 的源地址,所以就可以达到免广告了
    line
        5
    line  
       May 2, 2025
    @Lentin 这个解释合理, 应该只是暂时的,先用着, 确实有用👍
    quainter
        6
    quainter  
       May 2, 2025
    感谢分享,网页版同样也没广告了
    lucker6666
        7
    lucker6666  
       May 2, 2025
    厉害了 确实没有广告了
    holdeer
        8
    holdeer  
       May 3, 2025
    一直用的 web 版,很清爽,可以开沉浸式翻译
    sanquan
        9
    sanquan  
       May 3, 2025 via iPhone
    写到 host ?
    MC
        10
    MC  
       May 4, 2025
    @ZeawinL 哥,具体的规则是什么,我这里把 twitter (域名关键词) 、x.comt.co 全都通过俄罗斯节点走了,但依然有广告,谢谢
    Lentin
        11
    Lentin  
    OP
       May 4, 2025   ❤️ 1
    @MC #10 https://api.twitter.com/cdn-cgi/trace
    你看看这个页面 loc=RU 吗 主要就是这一个域名
    MC
        12
    MC  
       May 4, 2025
    @Lentin #11 是的哥,确实是 RU ,但手机端依然有广告哈
    MC
        13
    MC  
       May 4, 2025
    @Lentin #11 似乎需要一些时间来生效,现在重新打开好了,谢谢老哥
    Lentin
        14
    Lentin  
    OP
       May 4, 2025
    @MC #13 请问下你俄罗斯机器是哪家的,按理说俄罗斯有防火墙屏蔽了 twitter 0.0
    MC
        15
    MC  
       May 5, 2025
    @Lentin #14 IMM
    iworkcloud
        16
    iworkcloud  
       May 6, 2025
    这个 nb
    a174871
        17
    a174871  
       May 6, 2025
    神了,还真行
    sanquan
        18
    sanquan  
       May 6, 2025
    loon 的 hosts 下面写了:api.twitter.com = server:2606:4700:4700::1001 ,感觉没发挥作用,求解。
    Lentin
        19
    Lentin  
    OP
       May 6, 2025
    @sanquan #18 需要设置为远端调用本地 dns 解析这个选项才可以
    验证方法打开这个页面:
    https://api.twitter.com/cdn-cgi/trace
    ip 后面是 ipv6 地址 或者 loc=RU 才可以
    Lentin
        20
    Lentin  
    OP
       May 6, 2025
    @sanquan #18 surge 里面这个选项是叫 “代理请求本地 DNS 映射” loon 没用过不知道是那个选项
    Lentin
        21
    Lentin  
    OP
       May 20, 2025
    @sanquan #18
    Loon 最新测试版新增了这个功能了
    https://t.me/ibilibili/1062
    lmgoat
        22
    lmgoat  
       May 21, 2025 via iPhone
    @Lentin 请问能说一下 surge 具体怎么设置吗,或者说需要在配置文件里加什么,感谢了大哥🙏
    Lentin
        23
    Lentin  
    OP
       May 21, 2025
    @lmgoat #22

    [General]
    use-local-host-item-for-proxy = true
    [Host]
    api.twitter.com = 2606:4700:4700::1001
    lmgoat
        24
    lmgoat  
       May 25, 2025 via iPhone
    @Lentin ,谢谢大哥,但我这样改了之后 twitter 刷新不了,显示错误
    Lentin
        25
    Lentin  
    OP
       May 26, 2025 via iPhone
    @lmgoat 需要支持 ipv6 的节点
    rzbb
        26
    rzbb  
       Jul 1, 2025 via iPhone
    ipv6 去广告今天好像失效了 无法刷新推文
    iworkcloud
        27
    iworkcloud  
       Jul 1, 2025
    我也是,等解决方案
    Lentin
        28
    Lentin  
    OP
       Jul 1, 2025
    @iworkcloud 找个老毛子节点还是可以去广告的
    iworkcloud
        29
    iworkcloud  
       Jul 2, 2025
    @Lentin 机场没有老毛子,看来又要买一个了
    bzcrl
        30
    bzcrl  
       Jul 3, 2025
    挂了一天才反应过来加过这个 host 哈哈
    mabelrussell
        31
    mabelrussell  
       Jul 8, 2025
    崩了几天才反应过来是这个原因
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1087 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 23:23 · PVG 07:23 · LAX 16:23 · JFK 19:23
    ♥ Do have faith in what you're doing.