diff --git a/src/js/asset-viewer.js b/src/js/asset-viewer.js index db22ee267..ef0824d6d 100644 --- a/src/js/asset-viewer.js +++ b/src/js/asset-viewer.js @@ -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;