General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Mark opened links
Posted by: Emil Sekula
Date: March 05, 2010 08:43AM

Hello,

Is it possible to setup K-Maleon to mark opened links ? For example here: http://img718.imageshack.us/img718/6343/kmeleon.png I don't know which links were opened by me and which not.

Regards,

Options: ReplyQuote
Re: Mark opened links
Posted by: JamesD
Date: March 05, 2010 12:39PM

That can be done with User Defined Stylesheet. Go to EDIT - CONFIGURATION - USER DEFINED STYLESHEET and add the following code.
/* --  Links that have been visited are DeepPink  -- */
a:visited { color: DeepPink !important; }
 
/* --  Links that need javascript are green  -- */
a[href^="javascript:"] { color: green !important; font-weight: bold !important; }
You may have to restart KM for this to take effect. You must have history turned on for this to work.



Edited 1 time(s). Last edit at 03/05/2010 12:40PM by JamesD.

Options: ReplyQuote
Re: Mark opened links / Visited links color
Posted by: siria
Date: March 05, 2010 02:44PM

That thing got me playing again, couldn't resist to make another mini-macro to toggle that color On/Off per menu or button: :cool:
http://kmeleonbrowser.org/forum/read.php?9,103064,103920#msg-103920

A note to what JamesD explained, it's even possible to set custom colors for certain domains only, or different colors for different sites:

/* -------- LINK STYLES - customized by URL */
@-moz-document
url-prefix(https://mail.google.com) ,
url-prefix(http://xy.example.) ,
url-prefix(http://www.xyzforum.fr)
{ a:visited , a:visited * {color: deeppink !important; } }




Edited 5 time(s). Last edit at 03/05/2010 11:11PM by siria.

Options: ReplyQuote
Re: Mark opened links / Visited links color
Posted by: Emil Sekula
Date: March 08, 2010 09:42AM

Where should I copy this code ? Does it matter which line ?

I suppose my history is turned on: http://img40.imageshack.us/img40/6343/kmeleon.png

I would like to have these links marked some days not only one session K-Meleon opened.

Options: ReplyQuote
Re: Mark opened links / Visited links color
Posted by: JamesD
Date: March 08, 2010 11:07AM

Yes, you have history on and are keeping history for 9 days.

Quote

Go to EDIT - CONFIGURATION - USER DEFINED STYLESHEET and add the following code.

/* -- Links that have been visited are DeepPink -- */
a:visited { color: DeepPink !important; }

/* -- Links that need javascript are green -- */
a[href^="javascript:"] { color: green !important; font-weight: bold !important; }

You may have to restart KM for this to take effect. You must have history turned on for this to work.

The DeepPink color for a visited link will show for nine days.

Options: ReplyQuote
Re: Mark opened links / Visited links color
Posted by: siria
Date: March 08, 2010 11:12AM

The line doesn't matter, except that later lines may overwrite earlier ones. So more general stuff should be higher and more specialized things, like this, afterwards. But you can just try out what works best for you.

I'd suppose the time depends on your history settings. Right-click on history-button for options, or find them in the preferences.

Edit: Oops, have seen your post too late! Never mind ;-)



Edited 2 time(s). Last edit at 03/08/2010 11:18AM by siria.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.