1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

bypass FF's built CSS.escape(), to benefit from serializeAsString

This commit is contained in:
gorhill 2015-07-03 06:56:15 -04:00
parent cc6a811934
commit 93c4502acc

View File

@ -55,12 +55,7 @@ if ( document.querySelector('iframe.dom-inspector.' + vAPI.sessionId) !== null )
// Added serializeAsString parameter.
/*! http://mths.be/cssescape v0.2.1 by @mathias | MIT license */
var cssEscape = (function(root) {
var css = root.CSS || {};
if ( css.escape ) {
return css.escape;
}
var cssEscape = (function(/*root*/) {
var InvalidCharacterError = function(message) {
this.message = message;