apply: recognize moz-extension://

This commit is contained in:
tophf 2017-10-20 02:13:01 +03:00
parent d4ce2b2def
commit e9a7640a3f

View File

@ -3,7 +3,7 @@
var ID_PREFIX = 'stylus-';
var ROOT = document.documentElement;
var isOwnPage = location.href.startsWith('chrome-extension:');
var isOwnPage = location.protocol.endsWith('-extension:');
var disableAll = false;
var exposeIframes = false;
var styleElements = new Map();