Page content stylesheet
-
A Former User last edited by
Is there any way to use a content stylesheet to change colours on a web page with Opera 43? Even Safari has a provision for that, but I cannot find any way to do that with this version of Opera. Am I stuck with having to use bookmarklets all the time?
-
A Former User last edited by
I found a Violent Monkey script that would embed a stylesheet. That works, but brings up something that puzzles me. With normal stylesheets, adding !important after a setting overrides something on the page, whereas not adding !important just sets a default without overriding. That did not seem to be the case with a stylesheet embedded into a script. I set:
body {background: #DCFFDC;}
I intended that to be a default, but it overrode the body colour of web pages anyway. How does that happen? Is it because the new stylesheet gets embedded? But it cannot be embedded, because I do not see it in the page source code.
-
zalex108 last edited by
Should appears as a script name info.
"You cannot know the meaning of your life until you are connected to the power that created you". · Shri Mataji Nirmala Devi
-
A Former User last edited by
I am thinking that the script-generated stylesheet is the last stylesheet loaded, and that is why it overrides. I am stuck with using a bookmarklet to override the body background if I really need to do that.