A script to turn visited links red

Discussion in 'mTurk Scripts & Resources' started by Lindazzz, Feb 22, 2020.

  1. Lindazzz

    Lindazzz New Turker

    Messages:
    26
    Ratings:
    +10
    I have Chrome 80 with MTS. Unlike Firefox, Chrome doesn't use another color to show visited links. Or maybe MTS doesn't.
    With previous versions of Chrome, I used a script, actually a bookmark, to turn visited links red. It's my own way of keeping track of what I had clicked on, as I don't use Tracker.

    I don't code, but someone on another forum wrote this for me a few years ago as a bookmark, and I would click it when I fired up MTS.:
    `beforeend`, `<style>a:visited {color: #B22222 !important;}</style>`);

    But Chrome v. 80 broke it. Anyone know how to tweak this?
     
    • Like Like x 1
  2. Kadauchi

    Kadauchi Administrator

    Messages:
    4,185
    Ratings:
    +7,952
    I can't get a bookmarklet to work either.

    Open the console log (ctrl+shift+j), paste the following code into the console and hit enter.

    Code:
    document.head.insertAdjacentHTML('beforeend', '<style>a:visited {color: red !important;}</style>');
    
    [​IMG]
     
    • Like Like x 1
    • Today I Learned Today I Learned x 1
    • WOW WOW x 1
  3. Lindazzz

    Lindazzz New Turker

    Messages:
    26
    Ratings:
    +10
    It worked! But it also says "undefined" underneath, and wiped it off. When I closed Chrome, then re-opened, it was gone.
     
    • Like Like x 1
    Last edited: Feb 24, 2020