RARBG Thumbnail

Display the thumbnail of each torrent listing without mouse hover.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name        RARBG Thumbnail
// @namespace   Violentmonkey Scripts
// @match       https://rarbg.to/torrents.php
// @grant       none
// @version     1.0
// @author      skygate2012
// @description Display the thumbnail of each torrent listing without mouse hover.
// @license     MIT
// ==/UserScript==

document.querySelectorAll(".lista2t .lista > a[onmouseover]").forEach((item, index) => {
    setTimeout(() => {
        var img_url = item.getAttribute("onmouseover").match(/src=\\'(.*)\\/);
        item.parentElement.parentElement.querySelector("img").src = img_url[1];
    }, index * 100);
})