mirror of https://github.com/gorhill/uBlock.git
Remove bad test
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1798
This commit is contained in:
parent
955fe944ca
commit
c97d12c1d6
|
@ -35,9 +35,6 @@ import './codemirror/ubo-static-filtering.js';
|
||||||
const assetKey = subscribeParams.get('url');
|
const assetKey = subscribeParams.get('url');
|
||||||
if ( assetKey === null ) { return; }
|
if ( assetKey === null ) { return; }
|
||||||
|
|
||||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/1797
|
|
||||||
if ( /^(file|https?):\/\//.test(assetKey) === false ) { return; }
|
|
||||||
|
|
||||||
const subscribeElem = subscribeParams.get('subscribe') !== null
|
const subscribeElem = subscribeParams.get('subscribe') !== null
|
||||||
? document.getElementById('subscribe')
|
? document.getElementById('subscribe')
|
||||||
: null;
|
: null;
|
||||||
|
|
Loading…
Reference in New Issue