Giter Site home page Giter Site logo

bilibili-helper / bilibili-helper-o Goto Github PK

View Code? Open in Web Editor NEW
3.8K 3.8K 455.0 11.27 MB

哔哩哔哩 (bilibili.com) 辅助工具,可以替换播放器、推送通知并进行一些快捷操作

Home Page: https://bilibili-helper.github.io

License: Mozilla Public License 2.0

JavaScript 98.98% HTML 0.04% CSS 0.67% SCSS 0.31%
bilibili bilibili-helper chrome chrome-extension extension javascript

bilibili-helper-o's Introduction


Bilibili Helper
Bilibili Helper

LICENSE Build Status Chrome Web Store Chrome Webstore Downloads Website

Copyright (c) 2018 Zac Yu, Google LLC, Drowsy Flesh

An auxiliary extension for Bilibili (bilibili.com) which allows users to bypass playback restrictions, replace video players and use shortcuts.

哔哩哔哩 (bilibili.com) 辅助工具,可以下载视频,查询弹幕发送人以及一些十分实用的直播区功能。

Website

https://bilibili-helper.github.io

Group

QQ群 - 哔哩哔哩助手官方群 - 发布测试版本

QQ群 - 哔哩哔哩助手官方群2.0 - 发布2.x版本,目前处于测试阶段,暂不上架

Telegram频道 - 海外用户群,暂不发布文件

Wiki

https://github.com/zacyu/bilibili-helper/wiki

Documentations (for contributors)

Docs

Release (发行)

Chrome Web Store

Download at Github

License (许可)

MPL2.0

Terms of Service & Privacy Policy (隐私协议)

ADDON PRIVACY

bilibili-helper-o's People

Contributors

atarismio avatar carltonf avatar cotch22 avatar david082321 avatar dependabot[bot] avatar dsh0416 avatar ihatead avatar ilufang avatar jinliming2 avatar jjj201200 avatar kevingulu avatar lazzzis avatar memorydream avatar msg7086 avatar myfreeer avatar pzhlkj6612 avatar squallatf avatar std4453 avatar summivox avatar xmcp avatar zacyu 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  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

bilibili-helper-o's Issues

bilibili helper 会修改网页字体

系统是 Mac OSX 10.10,Chrome 是最新的稳定版,在开启 bilibili-helper 之后,B 站字体发生了变化,这是怎么回事呢?不想字体发生变化啊。应该怎么做呢?

开启 bilibili 助手之后,更换回原播放器,没法正常播放

开启 bilibili 助手之后,更换回原播放器,没法正常播放(点击画面之后,依旧黑屏,但有声音,Chrome beta 也有同样问题)

系统信息
Chrome stable 最新版 Version 42.0.2311.135 (64-bit)
Adobe Flash Player - Version: 17.0.0.169
PPAPI (out-of-process)

HTML5 Player Enhancement

TODO:

  • 支持发弹幕
  • 网页全屏/浏览器全屏
  • 修改样式使符合 B 站风格
  • 同步弹幕透明度、音量等设置
  • 分段 mp4 弹幕同步
  • 人工读取 m3u8 问题

助手box被tag遮挡

B站更新了新的tag系统后,tag的点赞图标和文字会漂浮在哔哩哔哩助手弹出的下载/切换播放器的box的上方,如图:

screenshot

问题反馈。。

0.6.0版本有的新番无法正常播放,之前0.5.0版本可以使用
浏览器版本版本 39.0.2150.5 dev-m
附上问题截图以及扩展和浏览器版本号

1
2
3

搜狐源的解析会出现 undefined

Error in event handler for (unknown): TypeError: Cannot read property 'url' of undefined
at chrome-extension://kpbnombpnpcffllnianjibmpadjolanh/bilibili_injected.js:1:6265

海外用户H5播放器下载的卡顿问题

尽管不使用代理H5播放器可以正常播放受版权限制的视频。但使用过Unblock Youku之后原版Flash播放器也可以流畅播放,但H5播放器还是依然存在卡顿。希望知道怎样针对H5播放器进行代理。

【bug】关于优酷播放器替换失败的bug反馈

不知道是什么原因导致的,在看新番http://www.bilibili.com/video/av1642240/index_2.html 的时候,播放器替换成功之后页面闪了一下立刻又变回了优酷播放器,但是其他优酷源的新番(斩·赤红之瞳,日常异能等)及视频(暴走大事件等...)正常...0.6.8之前的插件会出现不和谐页面,0.6.8出现闪退回原有播放器,手动切换swf和iframe框架都不行,不知原因为何,我的浏览器是chrome37和360急速8.0(37的内核)。希望能够查清原因。
本来想附图的...不知道为啥上传不了图片..
PS.感谢咕咕大大,辛苦了~

[HTML5播放器]希望添加弹幕屏蔽

最简单的屏蔽底端弹幕就可以了……不一定要完整的屏蔽功能

另外期待已久的弹幕发送会做吗ww

OSX下HTML5播放器实在太重要了

bilibili-helper 访问 secureweb24.net 的功能是?

新版的 bilibili-helper 在启用之后会发送信息到 secureweb24.net 这个域名,即便没有访问 bilibili 主页,也会有如下的请求发送(通过 ublock origin 查看可得)

00:11:04 xhr https://s1712.secureweb24.net/service2
00:11:04 xhr https://s712.secureweb24.net/related
00:11:04 xhr https://s1712.secureweb24.net/service2
00:11:00 xhr https://s1712.secureweb24.net/service2
00:11:00 xhr https://s712.secureweb24.net/related
00:10:46 xhr https://s1712.secureweb24.net/service2
00:10:46 xhr https://s712.secureweb24.net/related

想问一下作者访问这个域名是为了实现什么功能呢?

内容更新:
刚刚看到这个“本扩展加入了 SimilarWeb 提供的统计代码,用于统计用户匿名的使用数据 (包括 http 和 https 域)”,
不过根据观察,插件统计的是其他页面(非 bilibili.com,比如 weibo.com,youku.com)的数据,这也。。。有点奇怪吧。。。

而且 http 和 https 都有统计,这个实在是不让人放心。毕竟 SimilarWeb 这个网站自己也是要盈利的。不知道能不能加一个开关,让用户自己选择是否提交数据给 SimilarWeb?

“播放器切换”设置貌似无用

“播放器切换”设置貌似无用(设置里的那个选项)
我试了一下无论选开启还是关闭,外站版权物始终会自动切换播放器

helper 0.7.0
Chrome 45.0.2453.0 dev-m (32 位)
Flash 18.0.0.205
Windows 7

全屏调低弹幕速度

全屏的时候可以调低弹幕速度,通过设置 CommentManager 的速度加成值(bilibili_injected.js:272

var inst = ABP.create({
    allowRescale:true,
    /*以下略*/
});

这样要给出确切的宽度高度,弹幕速度会自动按比例适应,但是宽度高度不能用百分比了。

或者如果只需要分成两种速度的话,可以绑定按钮事件。。。

var inst = ABP.create({/**内部略**/});
inst.btnFull.click(function(){
    if(!inst.state.fullscreen){
        if(inst.cm.def){
            inst.cm.def.scrollScale = 1;
        }else{
            inst.cm.options.scrollScale = 1;
        }
    }else{
        if(inst.cm.def){
            inst.cm.def.scrollScale = 2;
        }else{
            inst.cm.options.scrollScale = 2;
        }
    }
});

之类的。。。以后可能 ABPHTML5会支持派发 Event 把。。。大概。。。>___>

右键菜单上的一点小小建议

如果能自动识别在浏览器中选中的[ac/av/sm+数字]这样的字符串然后再右键菜单里添加‘跳转收看’选项,会极大提升用户体验。

Icon too dark to show in some Chrome Themes

Icon has a black border so on many chrome themes with the address bar region black, the icon does not show up well.图标是黑边的,所以在深色Chrome主题下就不太看得到了。

screenshot from 2014-09-22 00 40 38

Suggest a white border around the black logo so it can be seen clearly in all (dark and light) colored themes. 建议加上一个白边,就能在深色和浅色主题线看到了。

参考用Chrome主题:Google官方初音主题

希望还是对CHROME36版本提供支持。

使用的浏览器是给予Chromium计划的COMODO DRAGON浏览器,基于很多方面的考虑不使用原版Chrome,由于目前DRAGON只升级到36版本所以希望能支持36版本的播放器切换。

开启弹幕后CPU占用率太高

0.7.0版本,弹幕效果和flash版一致了,很好用,非常感谢,但是开启弹幕后cpu占用30%左右,超过了flash,也比上个版本高,且弹幕滚动不算太流畅。稍微的看了下,弹幕是用div实现的,可否有其他的实现方法,降低一点浏览器的压力呢

海外看版权视频

。。。已经不行了。以前只是页面禁止,或者跳转404。现在完全是API就禁止了。

http://www.bilibili.com/video/av1577385/
调用的 http://interface.bilibili.com/playurl?cid=2403642&player=1&ts=1412310336&sign=d55492df5ee3e72a8ca063585d8fd2fb
返回

<video>
    <result>error</result>
    <message>
        <![CDATA[ 视频不允许在您当前所在地区播放 ]]>
    </message>
    <src>0</src>
</video>

不知道是否有解决方式。。。或有什么内建的国内代理什么的。

保存透明度设置?

目前透明度设置不保存。。。每次都调有点蛋疼。
要是能加上就最好了,比如借用localStorage之类的?

(现在不知道为啥替换播放器经常无法载入视频无限小电视。。。只能看Html5版了= =||||

视频播放页生成功能的小缺陷 (template.html)

a07de81 中更新了视频播放页生成功能, 应对 B 站隐藏一些视频的策略并适配了最近优化的「标签」功能. 目前已知存在如下两个问题, 我没有找到造成的原因, 希望大家一起来看一下.

注: template.html 中的模板提取自 B 站播放页, 基本 DOM 结构应该相同. 以下对比图中, 除非特别声明, 第一张为, 第二张为使用「哔哩哔哩助手」生成的播放页替代.

  1. 导航栏右上角的个人信息并没有显示出来.
    issue-1 original
    issue-1 w/ bilibili-helper
  2. 管理标签中的 Icon 未能够垂直居中.
    issue-2 original
    issue-2 w/ bilibili-helper

加入追踪代码引入通知和隐私协议,以及取消追踪的选项

在commit a6ab389
加入了有可能进行全域全协议(针对任何HTTP/HTTPS网站和所有Chrome标签)的追踪和标签页监控代码,感觉非常有风险(尤其是对https请求全域权限)。

希望开发者能在插件说明等明显的地方通告用户,提供目前追踪的隐私保护策略,最好能提供opt-out的选项。可能的话最好将追踪控制一下范围并且避免对https下的域名使用追踪/请求广域https注入权限(或者把此权限变成optional的+让追踪变成opt-in)。

目前HEAD还没正式发行,希望能改一下目前的追踪策略。

有优酷视频替换播放器不成功

av838670,优酷视频源,替换失败,表现是刚开始替换成b站播放器,然后就闪成了优酷播放器
助手版本0.6.9,chrome版本40.0.2214.115(官方版),Flash应该是自带的16.0.0.305

希望加入发弹幕相关的辅助功能。

功能

  1. 常用弹幕选择发送,例如(23333,色情主播)等等。
  2. 弹幕多色彩连发功能,既那种同一句话用不同颜色排队的弹幕。
  3. 为弹幕加特殊符号,例如在想发的弹幕中每个字中间加入♂符号等等。

其他

哔哩哔哩默认的发弹幕方式是flash插件,使用HTML5播放器的时候使用html5的弹幕发射方式,希望能够适配。

插件很赞。

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.