AdguardTeam / ExtendedCss

A TypeScript library for non-standard element selecting — :contains(), :matches-css(), etc., and applying CSS styles with extended properties.
GNU General Public License v3.0
65 stars 9 forks source link

Problem loading script extended-css.js #105

Closed WrongBit closed 4 years ago

WrongBit commented 4 years ago

I load it in Opera 67 (on Win7x64). Opera gives error:

Cannot use import statement outside a module

I load it using console and script:

!function(E,x,t,C,s,s_){C=E.createElement(x),s=E.getElementsByTagName(x)[0],C.src=t, C.onload=function(){alert('ExtCss loaded successfully')},s.parentNode.insertBefore(C,s)} (document,'script','http://127.0.0.1/ext.js')

ameshkov commented 4 years ago

It seems that the dev build is outdated, we'll see what can be done about it.