RARBBG - Full size mouseover

Shows the full poster on mouse over instead of the thumbnail.

Version vom 11.06.2016. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         RARBBG - Full size mouseover
// @namespace    http://tampermonkey.net/
// @version      0.2.1
// @description  Shows the full poster on mouse over instead of the thumbnail.
// @author       [email protected]
// @match        https://rarbg.to/torrents.php*
// @grant        none
// ==/UserScript==
/* jshint -W097 */
'use strict';

document._onmousemove = document.onmousemove;
document.onmousemove= null;

$('#overlib').css({ position: 'fixed', top: 10, right: 10, left: 'auto' })

$('.lista a').each(function() {
    var matches = String($(this).attr('onmouseover')).match(/static\/over\/(\w+\.\w+)/i);
    if (matches) {
        $(this).attr('onmouseover', 'return overlib(\'<img src="//dyncdn.me/posters2/' + matches[1][0] + '/' + matches[1] + '" border=0>\')');
    }
});