shetz163
V2EX  ›  问与答

请教一下如何禁止掉页面中设定好的部分 javascript 代码

  •  
  •   shetz163 · Oct 21, 2014 · 2231 views
    This topic created in 4312 days ago, the information mentioned may be changed or developed.
    一个视频的网站 如果将焦点换到其他页面 视频就会被暂停 找到了实现这个javasciprt代码段 但是是写在了视频的页面中 如果直接禁用掉javasciprt 视频也无法加载了 所以求一个可以禁止掉部分代码的插件 chrome 和firefox都可以
    1 replies    2014-10-21 15:12:16 +08:00
    xenme
        1
    xenme  
       Oct 21, 2014
    应该是绑定到某个event上嘛,自己加个userscript直接干掉bind就好了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5823 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 02:12 · PVG 10:12 · LAX 19:12 · JFK 22:12
    ♥ Do have faith in what you're doing.