If uBlock Origin add-on is installed, it inserts a style block
If the uBlock Origin browser add-on is installed (not necessarily through Git repository, but can be from Firefox/Chrome's extension managers), it appends the following into head
<style type="text/css">:root #content > #center > .dose > .dosesingle,
:root #content > #right > .dose > .dosesingle
{display:none !important;}</style>
Tested in Ubuntu Firefox and Chromium.
The add-on itself states that there are 0 items being blocked, and there no issues with the UI, so that's good.. but inserting that block of style is no good since we are exporting/saving the document and that gets carried around.
loads of chrome extensions inject html and css.. This is going to be a problem for others too. On Jan 3, 2016 5:33 PM, "Sarven Capadisli" [email protected] wrote:
If the uBlock Origin browser add-on is installed, it appends the following into head
Tested in Ubuntu Firefox and Chromium.
The add-on itself states that there are 0 items being blocked, and there no issues with the UI, so that's good.. but inserting that block of style is no good since we are exporting/saving the document and that gets carried around.
— Reply to this email directly or view it on GitHub https://github.com/linkeddata/dokieli/issues/80.
A workaround might be to rebuild the head and include what's dokieli's. It holds true for the body, but that's far more complicated since we don't exactly know what's intentional and what's just being injected. I think this might open up a can of worms, if we want to super-normalize the document and have to find alternative ways to preserve what's clean and wanted in the source.
Not sure how to proceed right now...
I found this through Google search, I am also having this problem on any website while uBlock Origin is enabled
And as a developer reviewing my code I see this as inappropriate and will try contacting gorhill about this