hgjian
V2EX  ›  问与答

关于网页天气插件 2345 天气报错的问题,包含菠菜?

  •  
  •   hgjian · Jun 8, 2019 · 1823 views
    This topic created in 2558 days ago, the information mentioned may be changed or developed.
    2345 旗下的 网站 2345 天气 提供的 iframe 天气插件 ,
    https://tianqi.2345.com/plugin/widget/index.htm?s=1&z=1&t=0&v=0&d=3&bd=0&k=&f=&ltf=009944&htf=cc0000&q=1&e=1&a=1&c=54511&w=385&h=96&align=center

    在 360 安全浏览器 下报错,日志如下:

    Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
    index.htm:1 Error in event handler for (unknown): SyntaxError: Failed to execute 'insertRule' on 'CSSStyleSheet': Failed to parse the rule 'a[href^="http://hnbwin."], a[href^="http://hobibet."], a[href^="http://hoki228."], a[href^="http://hoki365."], a[href^="http://hokibandarkiu."], a[href^="http://hokibandarq."], a[href^="http://hokiliga."], a[href^="http://hokinusa."], a[href^="http://hokipk."], a[href^="http://honorqiu."], a[href^="http://hotsports7."],..........................................................
    at ContentFiltering.addRulesInline (chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.preload.js:500:19)
    at browser.runtime.sendMessage.response (chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.preload.js:560:14)
    index.php:109 GET https://s5.cnzz.com/z_stat.php?id=1277635480&web_id=1277635480 net::ERR_BLOCKED_BY_CLIENT
    index.php?c=code&id=12&icon=1&num=3&site=12:106 GET https://hm.baidu.com/hm.js?86f43783acc56b0c8abb5bb039edc763 net::ERR_BLOCKED_BY_CLIENT
    (anonymous) @ index.php?c=code&id=12&icon=1&num=3&site=12:106
    (anonymous) @ index.php?c=code&id=12&icon=1&num=3&site=12:107
    favicon.ico:1 GET http://i.tianqi.com/favicon.ico 404 (Not Found)

    然后我用 bing 或者 谷歌 搜索查了其中一个 网站 ,
    发现其中的 "http://hoki228."], a[href^="http://hoki365."] 是菠菜网站;

    奇怪的是 另外一家网站 天气网 提供的网页天气插件:
    http://i.tianqi.com/index.php?c=code&id=12&icon=1&num=3&site=12

    打开以后竟然出现同样的 错误日志。

    错误日志中的
    at ContentFiltering.addRulesInline (chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.preload.js:500:19)
    是 指 Adblock Plus 插件,好像是 开启 Adblock Plus 才会出现这些错误日志。

    请问这些 免费 的 iframe 网页插件 是不是植入了 这些东西 ?
    原理是什么呢? 依靠 在 浏览网页 的 用户 电脑上 弹出 广告 来盈利?
    Supplement 1  ·  Jun 10, 2019
    已经确认,是 360 安全浏览器的 ABP 广告拦截插件问题,大家不要用他们自己商店插件,

    不过,估计这里也没有几个人 用这个浏览器
    8 replies    2019-06-08 12:53:38 +08:00
    hgjian
        1
    hgjian  
    OP
       Jun 8, 2019 via Android
    有没有人帮忙解答一下呢?我打算使用这些 iframe 插件,要是有问题,就不使用了。
    roustar31
        2
    roustar31  
       Jun 8, 2019 via Android
    心知天气比这个强多了。
    hgjian
        3
    hgjian  
    OP
       Jun 8, 2019 via Android
    @roustar31 可是心知不免费的
    rssf
        4
    rssf  
       Jun 8, 2019
    不盈利他会给你用么
    roustar31
        5
    roustar31  
       Jun 8, 2019
    心知有免费的天气挂件,只不过现在页面 404 了,另外他家的天气数据基础版也是免费的。

    上一下天气挂件效果: https://i.loli.net/2019/06/08/5cfb313dd701b46643.png
    ![sshot-256.png]( https://i.loli.net/2019/06/08/5cfb313dd701b46643.png)
    roustar31
        7
    roustar31  
       Jun 8, 2019
    中国天气插件: https://cj.weather.com.cn
    可还行?
    hgjian
        8
    hgjian  
    OP
       Jun 8, 2019 via Android
    @roustar31 谢谢,主要是看央视符合我的需要,中国天气的插件就是要么太大要么太小,所以没选
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3293 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    ♥ Do have faith in what you're doing.