Closed 8qwe24657913 closed 7 years ago
https://github.com/FirefoxBar/xStyle/commit/0df342243bba33527922e73b1d3fc8c4c936a704 used wrappedJSObject, which is firefox only. As a simple workaround for communication between isolated world and page script, we can just append an invisible element to the document and set xstyle_xxx as its attribute.
wrappedJSObject
xstyle_xxx
Fixed
https://github.com/FirefoxBar/xStyle/commit/0df342243bba33527922e73b1d3fc8c4c936a704 used
wrappedJSObject
, which is firefox only. As a simple workaround for communication between isolated world and page script, we can just append an invisible element to the document and setxstyle_xxx
as its attribute.