Newsarama JScleaner

By Alvaro Last update Jan 17, 2006 — Installed 479 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Script Summary:
Turns Newsarama javascript links into regular links
Version: 0.1

This script has no discussions.

start the discussion

This script has no reviews.

This script turns Newsarama javascript links into regular links, allowing for example middle-clicking.

Caution! This is a very recent (17. January 2006) script. Although no errors have been found it has not yet been fully tested.

What it does: some time ago the popular comics site Newsarama changed the way images (I'm not sure if other links also follow this) are linked, using javascript. The change is quite stupid, it calls a function which just opens the image - that's what html <a> tags should be used for! Not only is it poor coding, it also interferes with my navigation habits (I open images in the background while reading the documents from where they are linked). This script should find the URL of the image a link is pointing to, put it in the href attribute of the <a> tag and leave a blank onclick attribute, to avoid interference by the function.