We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5999415 commit 4a218d3Copy full SHA for 4a218d3
1 file changed
Easy offline/Easy offline.user.js
@@ -8,7 +8,7 @@
8
// @namespace http://tampermonkey.net/
9
// @require https://cdn.jsdelivr.net/jquery/1.7.2/jquery.min.js
10
// @require https://cdn.jsdelivr.net/hi-base64/0.2.0/base64.min.js
11
-// @version 1.0.48
+// @version 1.0.49
12
// @author Hoothin
13
// @mail rixixi@gmail.com
14
// @include http*://*/*
@@ -170,6 +170,7 @@
170
var aTags = $("a").get();
171
for(var aTag of aTags){
172
for(var reg of regs){
173
+ if(reg==="")continue;
174
var patt=new RegExp(reg);
175
if(patt.test(aTag.href) && $.inArray(aTag, rawnodes)==-1){
176
customnodes.push(aTag);
0 commit comments