GithubHelp home page GithubHelp logo

Comments (3)

hymbz avatar hymbz commented on July 28, 2024 1

emm,我在 last.fm 注册了账号,但不知道是什么问题,我在进入个人主页后控制台就报了一大堆错,即使我禁用了油猴扩展也是。个人主页里我连心都点不了,但其他页面就没问题。Chrome、Firefox、Edge都是这样(´_ゝ`)。

所以没办法,你在脚本头部注释里加上一行// @exclude http*last.fm*,让脚本不在 last.fm 启用吧。或者加上

// @include     *bbs.yamibo.com*
// @include     *www.yamibo.com*
// @include     *i.dmzj.com*
// @include     *m.dmzj.com*
// @include     *manhua.dmzj.com*
// @include     *exhentai.org*
// @include     *e-hentai.org*
// @include     *nhentai.net*

让脚本只在支持站点启用。

为了防止脚本冲突我特意封装了主要内容,在支持站点以外的网站,脚本除了声明变量函数外只往 Tampermonkey 扩展菜单里加了一个选项。应该只有点击选项后脚本才会影响到网页才对。。。

from comicreadscript.

fireattack avatar fireattack commented on July 28, 2024

范例图

BUG:

122

关闭脚本后立刻正常:

3

from comicreadscript.

fireattack avatar fireattack commented on July 28, 2024

我又测试了下几发,发现这个问题确实比我想象的奇怪…我重新启用comicRead然后禁用另外一个脚本,似乎也能修复bug

感觉可能是tempermonkey处理多个脚本的时候的冲突问题(外加last.fm写得差)。

总之多谢了。

from comicreadscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.