mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-02 10:24:59 +12:00
code review: be case-insensitive, "URL=" is also used sometimes
This commit is contained in:
parent
12630e8a8a
commit
3a6f550223
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue