Skip to content

Commit 29a9975

Browse files
committed
v1.18.4 - debug在firefox中打包MKV
1 parent 1d1c53f commit 29a9975

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

biliTwin.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @match *://www.bilibili.com/bangumi/media/md*
1212
// @match *://www.biligame.com/detail/*
1313
// @match *://www.bilibili.com/watchlater/
14-
// @version 1.18.3
14+
// @version 1.18.4
1515
// @author qli5
1616
// @copyright qli5, 2014+, 田生, grepmusic, zheng qian, ryiwamoto, xmader
1717
// @license Mozilla Public License 2.0; http://www.mozilla.org/MPL/2.0/
@@ -249,7 +249,7 @@ class BiliUserJS {
249249
else if (document.querySelector('#bofqi > object')) {
250250
throw 'Need H5 Player';
251251
}
252-
else if (!(document.getElementById('bofqi') instanceof Node)) {
252+
else if (!(document.getElementById('bofqi') instanceof Node) && document.querySelector("video")) {
253253
location.href = location.href; // 刷新
254254
}
255255
else {

biliTwinBabelCompiled.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @match *://www.bilibili.com/bangumi/media/md*
1212
// @match *://www.biligame.com/detail/*
1313
// @match *://www.bilibili.com/watchlater/
14-
// @version 1.18.3
14+
// @version 1.18.4
1515
// @author qli5
1616
// @copyright qli5, 2014+, 田生, grepmusic, zheng qian, ryiwamoto, xmader
1717
// @license Mozilla Public License 2.0; http://www.mozilla.org/MPL/2.0/
@@ -180,7 +180,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
180180
// @match *://www.bilibili.com/bangumi/media/md*
181181
// @match *://www.biligame.com/detail/*
182182
// @match *://www.bilibili.com/watchlater/
183-
// @version 1.18.3
183+
// @version 1.18.4
184184
// @author qli5
185185
// @copyright qli5, 2014+, 田生, grepmusic, zheng qian, ryiwamoto, xmader
186186
// @license Mozilla Public License 2.0; http://www.mozilla.org/MPL/2.0/
@@ -544,7 +544,7 @@ var BiliUserJS = function () {
544544
throw 'Need H5 Player';
545545

546546
case 19:
547-
if (document.getElementById('bofqi') instanceof Node) {
547+
if (!(!(document.getElementById('bofqi') instanceof Node) && document.querySelector("video"))) {
548548
_context3.next = 23;
549549
break;
550550
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bilitwin",
3-
"version": "1.18.3",
3+
"version": "1.18.4",
44
"description": "bilibili/哔哩哔哩:超清FLV下载,FLV合并,原生MP4下载,弹幕ASS下载,MKV打包,播放体验增强,原生appsecret,不借助其他网站",
55
"main": "bilitwin.user.js",
66
"directories": {

src/bilitwin.meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @match *://www.bilibili.com/bangumi/media/md*
1212
// @match *://www.biligame.com/detail/*
1313
// @match *://www.bilibili.com/watchlater/
14-
// @version 1.18.3
14+
// @version 1.18.4
1515
// @author qli5
1616
// @copyright qli5, 2014+, 田生, grepmusic, zheng qian, ryiwamoto, xmader
1717
// @license Mozilla Public License 2.0; http://www.mozilla.org/MPL/2.0/

src/biliuserjs/biliuserjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class BiliUserJS {
5555
else if (document.querySelector('#bofqi > object')) {
5656
throw 'Need H5 Player';
5757
}
58-
else if (!(document.getElementById('bofqi') instanceof Node)) {
58+
else if (!(document.getElementById('bofqi') instanceof Node) && document.querySelector("video")) {
5959
location.href = location.href // 刷新
6060
}
6161
else {

0 commit comments

Comments
 (0)