From 3a6f5502234513852fd599589c32e9803a76d1a1 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 16 Dec 2017 11:28:04 -0500 Subject: [PATCH] code review: be case-insensitive, "URL=" is also used sometimes --- src/js/contentscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/contentscript.js b/src/js/contentscript.js index eb31da4..4b178a1 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -432,7 +432,7 @@ var collapser = (function() { if ( noscripts.length === 0 ) { return; } var redirectTimer, - reMetaContent = /^\s*(\d+)\s*;\s*url=(['"]?)([^'"]+)\2/, + reMetaContent = /^\s*(\d+)\s*;\s*url=(['"]?)([^'"]+)\2/i, reSafeURL = /^https?:\/\//; var autoRefresh = function(root) {