RARBBG - Full size mouseover

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

As of 11.06.2016. See ბოლო ვერსია.

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

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
// @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._onmouseover = document.onmouseover;
document.onmouseover = 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>\')');
    }
});