Lab - jQuery


Background: My footer JS to change links

  

Lab - adapt this to your site

  1. Start a new web page with a few links, some to Wikipedia and some to other sites.
  2. Look in my footer.js. Copy these functions to your page:
     isUserContent
     fixUserContentLinks
    
  3. Include my copy of jQuery. Get the URL right.
  4. Include my CSS. Get the URL right.
  5. To test it, in the console run:
      fixUserContentLinks(); 
    The Wikipedia links should turn red.

  

Notes and edits


ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.