This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[background.js] fix resolvePlaybackLink
- Loading branch information
597687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
http://isithackday.com/hacks/videozoomandrotate/transforming-video.html
ref: http://stackoverflow.com/questions/4129102/html5-video-dimensions
https://github.com/myfreeer/bilibili-helper/blob/hd/bilibili_injected.js#L1006
should notice that
http://biliquery.typcn.com/api/user/hash/5cc0bbf4
(39999998) and hashes from less than 39999998 (0-39999998 exactly) can return a value;so we can usecheckCommentHash(hash, 65E6, 4E7-2)
, and calculatecheckCommentHash(hash, 4E7)
on failshttps://github.com/myfreeer/bilibili-helper/blob/hd/bilibili_injected.js#L1006-L1031