Remove bad test

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1798
This commit is contained in:
Raymond Hill 2021-11-04 15:54:24 -04:00
parent 955fe944ca
commit c97d12c1d6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 0 additions and 3 deletions

View File

@ -35,9 +35,6 @@ import './codemirror/ubo-static-filtering.js';
const assetKey = subscribeParams.get('url');
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
? document.getElementById('subscribe')
: null;