1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 02:14:52 +12:00
This commit is contained in:
gorhill 2017-12-10 17:09:35 -05:00
parent 2016e28ee5
commit 05a312f6d0
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -19,7 +19,7 @@
Home: https://github.com/gorhill/uMatrix
*/
/* global HTMLDocument */
/* global HTMLDocument, XMLDocument */
'use strict';
@ -33,8 +33,11 @@
/******************************************************************************/
// https://github.com/chrisaljoudi/uBlock/issues/464
if ( document instanceof HTMLDocument === false ) {
//console.debug('contentscript.js > not a HTLMDocument');
// https://github.com/gorhill/uMatrix/issues/621
if (
document instanceof HTMLDocument === false &&
document instanceof XMLDocument === false
) {
return;
}