Change the color of links if they open bookmarked sites

Discussion in 'JavaScript' started by MrMistrzuch, Aug 26, 2010.

  1. #1
    How can i check if a link's gonna open a bookmarked site in my FF ? For example if "Google.com" is my bookmark and if on other website there's a link to Google, i ain't gonna see blue link to google but for example yellow. i'd like to links to my bookmarked sites to show up differently on websites i'm browsing. i'm gonna add this script to my greasemonkey.
     
    Last edited: Aug 26, 2010
    MrMistrzuch, Aug 26, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm pretty sure that Javascript cannot do that. I think you need a browser plugin/addon, such as Link Status
     
    Cash Nebula, Aug 27, 2010 IP
  3. MrMistrzuch

    MrMistrzuch Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Thanks. Could someone unpack this extension and see if there is a code responsible for distinguishing links - unfortunately I know nothing about XUL and XML. I'd be very grateful. Is there another way to do it (CSS, different language, etc.)?
     
    MrMistrzuch, Sep 1, 2010 IP