bangumi / scripts Goto Github PK
View Code? Open in Web Editor NEWUserscripts for Bangumi / 用于 Bangumi 的用户脚本
Userscripts for Bangumi / 用于 Bangumi 的用户脚本
比如說這裏的兩張圖片
建議圖片也加入版本庫?
id: fitailsh
nickname: fitailsh
如题
id: everpcpc
nickname: everpcpc
github id: jokester
bangumi id: mono
求权限!
id:eien
nickname:默沨
音乐的应该是
光盘编号|曲目编号|原文标题|简体中文标题|时长
但是却显示为
章节编号 | 原文标题 | 简体中文标题 | 时长 | 放送日期
Uncaught TypeError: is not a function
VM2197: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
现在bangumi.tv已经支持https了(事实上http由于有验证码缓存的bug,几乎完全无法用了)
这个脚本会导致某些情况无法正常访问https://bangumi.tv (例如https://bgm.tv 会跳转http://bangumi.tv)。
id: 313469
nickname: Cedar
userpage: https://bgm.tv/user/313469
id: neutrinoliu
nickname: 徒手开根号二
userpage: https://bgm.tv/user/neutrinoliu
鉴于D娘的 http://netaba.re/ 无法访问,而部分 bgmer 希望能有直观的评分统计,可以考虑用脚本完成这功能。
sai 老板反映的爬虫/脚本访问过于频繁,脚本功能可以限定只统计当前用户。
投票用emoji来计数,欢迎大家提出自己的想法
B站旧的API失效了,而且本季B站没有版权的新番也增加了,依赖B站数据无法提供原来的便捷性,因此考虑取用bgmlist的数据链接到不同视频网站。
使用bgmlist的另一大优势是可以大大简化脚本复杂程度,因为该数据直接提供了Bangumi上的相应页面,省去了名称匹配的麻烦。
一周前发在 http://bangumi.tv/group/topic/341661 了,复制一遍过来:
现在是日本时间
6:09 PM
Wednesday, March 29, 2017 (GMT+9)
Time in Tokyo, Japan
首播:2017-03-30 的 クズの本懐 的最后一集却已经显示为绿色:
这个首播29日的也没变成橙色:
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)
@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":\(以下略)
id: 11896
nickname: JarvieK
bgm homepage: http://bgm.tv/user/11896
Uncaught TypeError: title.contains is not a function
queryBilibiliSP @ VM2341:88
(anonymous function) @ VM2341:164
GM_xmlhttpRequest.onload @ VM2341:76
(anonymous function) @ VM2278:58
据说已经被改名了哦学姐~
腳本路徑在 /binota/bangumi-anti-netabare.user.js
。參見討論主題。
id: fifth
nickname: fifth
bgm homepage: https://bgm.tv/user/fifth
Chrome 46.0.2490.71 m (64-bit)
Tampermonkey
https://bgm.tv/
实测缓存过之后,依旧无法高亮新回复,脚本已打开。
只有一个脚本:https://bgm.tv/group/topic/345086
话说我都没看到有人在这里按格式请求权限的……(逃)
似乎Bilibili有了新的显示新番链接的方法,原来的获取方法在某些新番上已经失效,停滞在之前的某一话上了。
ID: vickscarlet
NickName: 神戸小鳥
BgmHomePage: https://bgm.tv/user/vickscarlet
@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)
localStorage不适合用作大规模数据存储,应使用IndexedBD重写,包括首页中文化脚本和讨论增强脚本。
一个脚本 用于在站外版权站播放时直接点格子
请移步以下地址参与讨论:
https://bgm.tv/group/topic/345130
id: yonjar
nickname: NevaR
bgm homepage: http://bgm.tv/user/yonjar
id: prevails
nickname: Donuts.
userpage: http://bgm.tv/user/prevails
id : 274591
nickname: ychz
tampermonkey
对应超合金组件
另外讨论帖 https://bgm.tv/group/topic/311623 地址好像也失效了
@fitailsh 请修改你的personal_calendar脚本的文件名。脚本文件名以 .user.js 结尾才能让浏览器及扩展自动识别到这是一个用户脚本并提示安装。
众所周知 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 谋智那边什么意思啊……
id: liaune
nickname:君寻
现在bgm对https支持得蛮不错了嘛,学姐不来改改@include
么~
optipng 侧重编码时无损压缩,但是网页截图这种东西用 pngquant 降低一下颜色数量效果大概更好?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.