This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Highlight visited links

  • 3 fhreagra
  • 43 leis an bhfadhb seo
  • 8 views
  • Freagra is déanaí ó thejase

more options

I have a bookmarklet that sets a strike-through style on visited links so I can tell them out in sites that don't display them in a different colour (such us Mozilla Support). This no longer works in Firefox 4. What are my alternatives?

I have a bookmarklet that sets a strike-through style on visited links so I can tell them out in sites that don't display them in a different colour (such us Mozilla Support). This no longer works in Firefox 4. What are my alternatives?

Athraithe ag Álvaro González ar

All Replies (3)

more options

What is the code of that bookmarklet?

You can also do that with code in userContent.css

:visited { text-decoration : line-through !important; }

more options

The code is this:

javascript:(function(){var%20css=document.createElement('link');css.rel=%22stylesheet%22;css.href='data:text/css,'+escape(%22:visited{text-decoration:line-through%20!important;}%22);document.documentElement.childNodes[0].appendChild(css);})();

The problem is that Firefox 4 ignores text-decoration on purpose:

Privacy-related changes coming to CSS :visited

more options

I am having the exact same problem.