This is a standard IMDB link:
http://www.imdb.com/title/tt0066049/
The website I am on helps populate movies information through a scripting addon, but now that IMDB has added things to the end of its links it has messed things up. Example:
http://www.imdb.com/title/tt0066049/?ref_=fn_al...
I was wondering if anyone could make a JS that could be made as a bookmark that would strip out everything except the numbering (0066049) and add a link to website and open that page.
Stepping through it.
1. Find the IMDB website address that I am currently viewing.
http://www.imdb.com/title/tt0066049/?ref_=fn_al...
2. Strip out everything but 0066049
3. Add link to the name
http://www.mywebsite.com/imdb.php?mid=0066049
4. Open page to that link.
I got the idea from a TinyUrl bookmarklet I use
[CODE].open(%22http:\//tinyurl.com/create.php?url=%22+location.href.replace(/#/,'%23'),'','toolbar=no,location=no,%20directories=no,%20status=yes,%20menubar=no[\CODE]