IMDBAge

By Thomas Stewart Last update Sep 24, 2011 — Installed 29,937 times.

Hyperlinks turned to plain text

in
Subscribe to Hyperlinks turned to plain text 5 posts, 4 voices



chgoguy7 User
FirefoxWindows

Hi Thomas,

Thanks so much for the great script. I have used it for some time now. However, after updating to the Nov 15, 2009 version, I have run into problems with the script. Some of the hyperlinks are turned into plain text. For instance, on Sandra Bullock's IMDB page (http://www.imdb.com/name/nm0000113/), the IMDBAge script changes the following movies from hyperlinks to plain text: The Proposal, Premonition, and Crash.

It took some time to figure out what script was actually causing the problem. I have disabled every other Greasemonkey script except IMDBAge and enabling it and disabling the IMDBAge script is clearly causing the issue.

Any chance you could take a look at this when you get a chance? Thanks again!

 
AL bino User
FirefoxWindows

I see this bug as well, which is a bit annoying, but not as annoying as when the script was broken.

I can't believe how I've come to rely on scripts like these that make webpages so much better. So, as an aside, thanks for creating this script Thomas, and I hope you continue to support it!

 
Thomas Stewart Script's Author
X11

I've added this to my todo list, thanks for the bug report. :-)

 
foerno User
FirefoxWindows

any news on this? it's still an issue...

EDIT: I've managed something like this:

if (age == "NaN years old")
{
link.innerHTML = link.innerHTML;
}
else
{
link.innerHTML =
link.innerHTML.substring(0, yearindex + 5)
+ ", " + agetxt
+ link.innerHTML.substring(yearindex + 5);
}

 
Thomas Stewart Script's Author
X11

I've fixed this issue in the latest version. The underlying cause was a bad regex. Hopefully all the bizarre link errors and some titles not getting ages are fixed now. Sorry it took me so long :-)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel