Skip to content

Commit ef11401

Browse files
author
15cm
committed
Fix jQuery problem in Tampermonkey
1 parent bfc1513 commit ef11401

2 files changed

+2
-2
lines changed

sinker/bangumi_to_horriblesubs_shows.user.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// ==/UserScript==
1111

1212

13-
this.$ = this.jQuery = jQuery.noConflict(true);
13+
// this.$ = this.jQuery = jQuery.noConflict(true);
1414
$('head').append('<style type="text/css">.roma_input{ margin-left: 5%; } .roma_btn{ margin-left: 2%; } .hs_link{ margin-left: 5%; }</style>');
1515
var pair = JSON.parse(localStorage.getItem('bgm-id-name'));
1616
if (!pair){pair = {};}

sinker/horriblesubs_magnet_to_aria2.user.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
var aria2Url = 'http://ip:port/jsonrpc'
1515
var token = 'Your_aria2_token'
1616

17-
this.$ = this.jQuery = jQuery.noConflict(true)
17+
// this.$ = this.jQuery = jQuery.noConflict(true)
1818
$.jsonRPC.setup({
1919
endPoint: aria2Url,
2020
})

0 commit comments

Comments
 (0)