Giter Club home page Giter Club logo

scripts's People

Contributors

binotaliu avatar chaucerling avatar ethereal-paladin avatar everpcpc avatar fifth avatar fireattack avatar fitailsh avatar inchei avatar jarvie8176 avatar jokester avatar jsdelivrbot avatar liaune avatar neutrinoliu avatar no1xsyzy avatar oscardoudou avatar protodonuts avatar sorz avatar swsoyee avatar trim21 avatar upsuper avatar vickscarlet avatar willian-zhang avatar xdcedar avatar xiaoyvyv avatar xingoxu avatar y-young avatar yonjar avatar yuanhaoreginald avatar zhifengle avatar zhuoy3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scripts's Issues

重写onair扩展,改用bgmlist的数据

B站旧的API失效了,而且本季B站没有版权的新番也增加了,依赖B站数据无法提供原来的便捷性,因此考虑取用bgmlist的数据链接到不同视频网站。

使用bgmlist的另一大优势是可以大大简化脚本复杂程度,因为该数据直接提供了Bangumi上的相应页面,省去了名称匹配的麻烦。

Bilibili 放送标志问题

disabled
未启用 Bilibili 放送标志 脚本时 Bangumi 首页部分截图。

enabled
启用脚本后的截图。似乎不太正常?

添加黄油助手坏了

@22earth

浏览器:Chrome 66.0.3330.2
脚本管理器:TamperMonkey 4.5.5663
脚本版本:0.3.3

现象描述:直接从新建角色进入创建角色后,在(角色/条目)关联页面没有绿字链接。而通过直接新建条目后进入关联页面就又有了绿字链接......

控制台输出:

ERROR: Execution of script 'bangumi new game subject helper' failed! Unexpected token u in JSON at position 0
SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at Object.addRelated (userscript.html?id=0…0c-e2ca8a38252a:661)
at Object.init (userscript.html?id=0…0c-e2ca8a38252a:456)
at init (userscript.html?id=0…0c-e2ca8a38252a:922)
at eval (userscript.html?id=0…0c-e2ca8a38252a:926)
at Object.eval (userscript.html?id=0…0c-e2ca8a38252a:927)
at webpack_require (userscript.html?id=0…f0c-e2ca8a38252a:84)
at module.exports.gmFetch (userscript.html?id=0…0c-e2ca8a38252a:127)
at Window.tms_0d732260_db9c_41b7_bf0c_e2ca8a38252a (userscript.html?id=0…0c-e2ca8a38252a:130)
at :2:120
at eval (userscript.html?id=0…bf0c-e2ca8a38252a:4)
at eval (userscript.html?id=0…bf0c-e2ca8a38252a:5)
at Object.eval (userscript.html?id=0…c-e2ca8a38252a:1199)
at :2:120
at Object.E_c (:2:433)
at oa (eval at exec_fn (game:1), :61:203)
at Object.create (eval at exec_fn (game:1), :72:116)
at e (eval at exec_fn (game:1), :16:131)
at Object.runListeners (eval at exec_fn (game:1), :16:90)
at eval (eval at exec_fn (game:1), :73:201)
at HTMLDocument.k (:9:9)

Bilibili放送标志部分失效

似乎Bilibili有了新的显示新番链接的方法,原来的获取方法在某些新番上已经失效,停滞在之前的某一话上了。

Uncaught TypeError: is not a function

Uncaught TypeError: is not a functionVM2197:310
getDateOfLastEp @ VM2197:310
isRecentBangumi @ VM2197:321
GM_xmlhttpRequest.onload.resp @ VM2197:342
(anonymous function) @ VM2133:59

不过好像底下原来没错的$prg_list也开始有问题了…是Chrome坑掉了么?…
Google Chrome 49.0.2573.0 (Official Build) canary (64 ビット)
JavaScript V8 4.9.52

对 Greasemonkey WebExtension ver. 的支持

众所周知 Mozilla 早就宣布在 FireFox 57 以后正式启用 WebExtension 代替传统扩展技术,对此 Greasemonkey 刚刚释出了他们的第一个 we 版本的测试版扩展:
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/versions/beta
目前在 we 版油猴上过去的脚本基本都失效了。而且在新版中部分函数名有变化:
greasemonkey/greasemonkey#2548
https://www.firefox.net.cn/read-54580#read_362468
在扩展完全迁移过去之后应该组织对现有脚本的检查,但是现在不清楚以上情况是暂时的还是既定事实。目前 Nightly 和 Dev 用户建议还是使用 TM 或者 VM 替代。
@upsuper 谋智那边什么意思啊……

添加黄油助手不能正确抓取人物信息

@22earth
系统:Windows 10 17134.112
浏览器:Firefox 61.0和暴力猴2.9.5 / Chrome 69.0.3462.0和Tampermonkey 4.7.5788
脚本版本:0.3.7

http://www.getchu.com/soft.phtml?id=1007200&gc=gc 中新建角色时不仅不能抓到名字,也不能抓到除了年龄和CV之外的个人信息……
控制台没有报错。
存储中charadata的内容如下(以第一个人物为例):

charaData": "{"characterName":"","日文名":"","characterIntro":"年齢:20歳(大学2年生)\n身長:156cm 体重:43kg スリーサイズ:B84/W58/H82\n血液型:A型 誕生日・星座:4月14日(牡羊座)\n好き:勉強\n嫌い:シモネタ(興味がない)\n\n主人公の実姉。\n絵に描いたような優等生として育ち、\n現在は有名私立に通う女子大生。\nその真面目な性格からか、\n浪人生である弟・拓哉のことを快く思っていない。\n\nまた、アニメオタクに対して強い嫌悪感を抱いており、\nそれが引き金となって、弟とのトラブルに発展してしまう。\n\nなお、性的なことには一切興味がない模様。\nセックス自体、不潔だと思っている。\n\n「弟がオタクな上に浪人生だなんて、ほんと情けない……」","年齢":"20歳(大学2年生)","hiraganaName":"かしわぎ ゆか","CV":"雪村とあ","characterImg":\(以下略)

bangumi-green-block-improve.user.js:似乎坏了

一周前发在 http://bangumi.tv/group/topic/341661 了,复制一遍过来:

现在是日本时间

6:09 PM
Wednesday, March 29, 2017 (GMT+9)
Time in Tokyo, Japan

首播:2017-03-30 的 クズの本懐 的最后一集却已经显示为绿色:

image

这个首播29日的也没变成橙色:

image

ERROR: Execution of script 'Bangumi-Green-Block-Improve' failed! $epBtn is not defined
BTN_YESTERDAY_COLOR
(unknown) ReferenceError: $epBtn is not defined
    at setEpStatus (eval at E_c (:3:114), <anonymous>:55:14)
    at Window.tms_f935f03d_adcf_4497_be74_54bb9ee85a8a (eval at E_c (:3:114), <anonymous>:98:7)
    at <anonymous>:2:297
    at BTN_YESTERDAY_COLOR (eval at E_c (:3:114), <anonymous>:3:1)
    at eval (eval at E_c (:3:114), <anonymous>:4:3)
    at Object.eval (eval at E_c (:3:114), <anonymous>:109:6)
    at <anonymous>:2:297
    at Object.E_c (<anonymous>:3:112)
    at E (eval at exec_fn (:1:108), <anonymous>:56:175)
    at Object.create (eval at exec_fn (:1:108), <anonymous>:64:282)

README: optipng -> pngquant

optipng 侧重编码时无损压缩,但是网页截图这种东西用 pngquant 降低一下颜色数量效果大概更好?

脚本名字应以 .user.js 结尾

@fitailsh 请修改你的personal_calendar脚本的文件名。脚本文件名以 .user.js 结尾才能让浏览器及扩展自动识别到这是一个用户脚本并提示安装。

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.