mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-01 18:10:17 +12:00
Firefox: remove evalInSandbox
Probably we won't eval plain text code, which makes it unnecessary, also this way the validator on AMO won't complain about it.
This commit is contained in:
parent
a61e73d212
commit
97ae38c584
|
@ -610,11 +610,11 @@ vAPI.tabs.injectScript = function(tabId, details, callback) {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( details.file ) {
|
||||
details.file = vAPI.getURL(details.file);
|
||||
if ( typeof details.file !== 'string' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
details.file = vAPI.getURL(details.file);
|
||||
tab.linkedBrowser.messageManager.sendAsyncMessage(
|
||||
location.host + ':broadcast',
|
||||
JSON.stringify({
|
||||
|
|
Loading…
Reference in a new issue