I'm noticing some odd behavior with CSS added by GM_addStyle()
. I have the following userscript:
// ==UserScript==
// @name Reddit
// @namespace http://example.com
// @include http://www.reddit.com/
// @grant GM_addStyle
// @version 1
// ==/UserScript==
GM_addStyle("a:visited { background-color: yellow !important; }");
Now, I'd expect the behavior to either work for all links or work for no links (due to the security patch), but what I get is an inconsistent behavior in that it works for some link, but not other.
Could anyone explain the above behavior for me?