On Tue, 10 Feb 2015 04:24:36 +0000, xyz wrote:
> http://www.imdb.com/title/tt0091605/?ref_=fn_al_tt_1
No, this is:
http://www.imdb.com/title/tt0091605/
The bit that was removed is tracker code. Refuse to use it. Some
obnoxious bitch told someone complaining about that it destroys
the feature visited links, that "they appreciate the problem,
but that they will not change their strategy."
In response I wrote a Greasemonkey script (look it up) to remove
it from (almost) everywhere on the site.
Here's the script, for those who want it:
-----8< cut here-------------------------------------------------------
// ==UserScript==
// @name killimdbrefs
// @namespace http://localhost/
// @description Removes the ?ref things in links on IMDb
// @include http://*imdb*
// @version 1
// ==/UserScript==
// <a href="/movies-in-theaters/?ref_=nb_mv_1_inth"
// becomes:
// <a href="/movies-in-theaters/"
// Author: Pepi, Sweden, (c) 2013
// Licence: GPL
// Reason: The new-ish IMDb stupidity of adding /ref?= at the end of links.
var links = document.getElementsByTagName('a');
for (i = 0; i < links.length; i++) {
var re_result = /[&?]ref/.exec(links[i].href); //regex to find either &ref or ?ref
var tester = links[i].href.indexOf(re_result);
if (tester > -1) {
links[i].href = links[i].href.replace(links[i].href.substring(tester, links[i].href.length), '');
}
}
if (location.href.indexOf('?ref') != -1 && location.href.indexOf('/find?') == -1) {
var fuckref = new RegExp("\\?ref_.*", "gi")
var locus = location.href;
locus = locus.replace(fuckref,"")
location.href = locus;
}
-----8< cut here-------------------------------------------------------
--
___ _ __S*P*A*M:________________________________
-(o o)----/_/_--_--.--| >Purge M$ products!< |
-/ v \---/--/_'/_//---|>http://www.babymilkaction.org/nestlefree<|
-\V V/--------/-------| >Killfile a google grouper!< |
|
|