NATION

PASSWORD

Link colors

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Omigodtheykilledkenny
Negotiator
 
Posts: 5744
Founded: Mar 14, 2005
Left-Leaning College State

Link colors

Postby Omigodtheykilledkenny » Fri Jun 26, 2009 7:17 pm

Is it possible visited links could be changed to light green instead of light blue? The strange neon effect on posts with a lot of links is a bit grating.
Omigodtheykilledkenny FAQ | "The Biggest Sovereigntist IN THE WORLD" - Chester Pearson

User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Re: Link colors

Postby Glen-Rhodes » Sat Jun 27, 2009 8:00 am

If you have Greasemonkey (and Firefox), you can create a user-script and use this code:
Code: Select all
// ==UserScript==
// @name           NS Forum Link-Visited Color
// @namespace      http://forum.nationstates.net/*
// @include        http://forum.nationstates.net/*
// ==/UserScript==
var style=".postlink:visited{color:#7CCD7C !important;}";
var head=document.getElementsByTagName("HEAD")[0];
var element=window.document.createElement('link');
element.rel='stylesheet';
element.type='text/css';
element.href='data:text/css;charset=utf-8,'+escape(style);
head.appendChild(element);
Last edited by Glen-Rhodes on Sat Jun 27, 2009 8:01 am, edited 1 time in total.

User avatar
Omigodtheykilledkenny
Negotiator
 
Posts: 5744
Founded: Mar 14, 2005
Left-Leaning College State

Re: Link colors

Postby Omigodtheykilledkenny » Sat Jun 27, 2009 8:53 am

Are you talking to me, or the admins?
Omigodtheykilledkenny FAQ | "The Biggest Sovereigntist IN THE WORLD" - Chester Pearson

User avatar
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Re: Link colors

Postby Glen-Rhodes » Sat Jun 27, 2009 9:03 am

You. :) Greasemonkey is a user-end script. It uses javascript to change the looks and functions on webpages, but only for those users who have it. The only downside is a little half-second delay between when the page loads, and when the changes are made.


Return to Technical

Who is online

Users browsing this forum: Altopranoss, Bangea, Mue, Narvatus, New Gehenna, Satreburg, Syndic Australia, The Plough Islands, Tiami, Yelda

Advertisement

Remove ads