RARGB Search - YIFY Movies

Adds a button on YTS movie pages to search the movie title on RARGB.

Installer ce script?
Script suggéré par l'auteur

Vous aimerez aussi YTS - Hide Opened Movies.

Installer ce script
  1. // ==UserScript==
  2. // @name RARGB Search - YIFY Movies
  3. // @namespace https://greasyfork.org/en/users/670188-hacker09?sort=daily_installs
  4. // @version 8
  5. // @description Adds a button on YTS movie pages to search the movie title on RARGB.
  6. // @author hacker09
  7. // @include https://yts.mx/movies/*
  8. // @icon https://yts.mx/assets/images/website/apple-touch-icon-180x180.png
  9. // @run-at document-end
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. document.querySelector(".button-green-download2-big.hidden-xs.hidden-sm").insertAdjacentHTML('afterend', `<a onclick="document.querySelector('.modal-download').style.display = 'none'; location.href='https://rargb.to/search/?search=${document.querySelector('.hidden-xs > h1').innerText.replaceAll(/[^a-zA-Z0-9\s]/g, '').toLowerCase()}&category[]=movies';" class="torrent-modal-download button-green-download2-big hidden-xs hidden-sm" href="javascript:void(0);"><span class="icon-in"></span>Search on RARGB</a>`); //Adds a button on YTS movie pages to search the movie title RARGB and hides the download modal
  16. })();