Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

customize visited image links via own css script

  • 2 Antworten
  • 1 hat dieses Problem
  • 13 Aufrufe
  • Letzte Antwort von FredMcD

more options

Hi,

I know that due to privacy and security reasons some :visited options don't work anymore but I have a problem with some recurring job where I need exactly one of these features enabled in order to be more efficient.

I need to go through pages with tons of thumbnails and for those that I click, check and catalogue some of the hashtags if present and flag possible comments. The problem is that many thumbnails are repeating or look very similar to other image links and thus I often click the same image multiple times just to realize I already visited that one. This costs me time and money.

Would it be possible to check the visited status against history programmatically via an addon or any other way and if the link is found in browser history, and instead of checking for :visited inject an own CSS class (e.g. MyClass) into the image link tags so that I can either format the image with a border or even replace it with some void image or so? Well in fact I need to see on the fly, whether that link needs to be visited or not.

Br, Pascal

Hi, I know that due to privacy and security reasons some :visited options don't work anymore but I have a problem with some recurring job where I need exactly one of these features enabled in order to be more efficient. I need to go through pages with tons of thumbnails and for those that I click, check and catalogue some of the hashtags if present and flag possible comments. The problem is that many thumbnails are repeating or look very similar to other image links and thus I often click the same image multiple times just to realize I already visited that one. This costs me time and money. Would it be possible to check the visited status against history programmatically via an addon or any other way and if the link is found in browser history, and instead of checking for :visited inject an own CSS class (e.g. MyClass) into the image link tags so that I can either format the image with a border or even replace it with some void image or so? Well in fact I need to see on the fly, whether that link needs to be visited or not. Br, Pascal

Ausgewählte Lösung

Solved:

I just could solve it by myself.

Instead of formatting :visited I simply format :link with the addon Custom CSS injector (https://addons.mozilla.org/en-US/firefox/addon/customcss-injector/). e.g. with the following code:

a:link { border-bottom: 3px solid; text-decoration: underline; color: white; }

and set this CSS for the respective whitelist domains. Combined with the addon Visited Link enabler, where I chose a color for visited links, the link images then get underlined white for not visited ones and with the chosen color for the visited ones respectively. The backdraw is that this border also gets applied to normal links but as it's only for specific pages (when using whitelist or blacklist) it's ok for me.

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (2)

more options

Ausgewählte Lösung

Solved:

I just could solve it by myself.

Instead of formatting :visited I simply format :link with the addon Custom CSS injector (https://addons.mozilla.org/en-US/firefox/addon/customcss-injector/). e.g. with the following code:

a:link { border-bottom: 3px solid; text-decoration: underline; color: white; }

and set this CSS for the respective whitelist domains. Combined with the addon Visited Link enabler, where I chose a color for visited links, the link images then get underlined white for not visited ones and with the chosen color for the visited ones respectively. The backdraw is that this border also gets applied to normal links but as it's only for specific pages (when using whitelist or blacklist) it's ok for me.

more options

That was very good work. Well Done. Please flag your last post as Solved Problem as this can help others with similar problems. Go to that post and click the 'Solved' button to its right.