alt.binaries.multimedia.vintage-film.post-1960Prev. Next
Re: THE.NAME.OF.THE.ROSE.01 file.[720p] [01/25] - "The.Name.of.the.Rose.1986.720p.BRRip.AVC-YIFY.nfo" yEnc (1/1) Easynews - www.easynews. ..
Pepi (pepi@egg.nog) 2015/03/12 13:27

Path: news.nzbot.com!not-for-mail
From: Pepi <pepi@egg.nog>
Subject: Re: THE.NAME.OF.THE.ROSE.01 file.[720p] [01/25] -
 "The.Name.of.the.Rose.1986.720p.BRRip.AVC-YIFY.nfo" yEnc (1/1)
Newsgroups: alt.binaries.multimedia.vintage-film.post-1960
References: <1423509356.00590.1@news.newshosting.com>
 <8KfCw.1111883$Ub6.692042@fx20.iad>
X-No-Archive: Yes
X-OS: Linux Mint
User-Agent: Pan/0.136 (I'm far too busy being delicious; GIT 926a150
 git://git.gnome.org/pan2)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 59
Message-ID: <EMlMw.990858$lm5.87008@fx36.am4>
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 12 Mar 2015 19:27:32 GMT
X-Received-Body-CRC: 1379139967
X-Received-Bytes: 3054
Xref: news.nzbot.com alt.binaries.multimedia.vintage-film.post-1960:1656

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!<       |

Follow-ups:12
Next Prev. Article List         Favorite