// ==UserScript== // @name YGGTools par Fervex // @namespace YGGTools // @version 0.112 // @description Ajout d'améliorations pour le site YGG. // @author Fervex // @supportURL https://www3.yggtorrent.qa/profile/7161-fervex // @updateURL https://yggland.fr/userscripts/YGGTools.user.js // @downloadURL https://yggland.fr/userscripts/YGGTools.user.js // @icon https://yggland.fr/assets/img/ygg32.png // @include https://*.yggtorrent.* // @include https://yggtorrent.* // @grant none // @require https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js // @ressource https://cdn.datatables.net/v/bs4/dt-1.10.24/cr-1.5.3/r-2.2.7/rr-1.2.7/datatables.min.css // @require https://cdn.datatables.net/v/bs4/dt-1.10.24/cr-1.5.3/r-2.2.7/rr-1.2.7/datatables.min.js // ==/UserScript== var ferveX = jQuery.noConflict(true); ferveX(document).ready(function() { var url = window.location.href; var styleBouton = "margin:15px 8px 0; display:inline-block; border-radius:25px; padding:8px 15px; text-transform:uppercase; background:#4e5c6f; color:#fff; font-size:13px; font-weight:700; transition:background 0.5s ease;"; var styleBoutonF = "margin:15px 8px 0; display:inline-block; border-radius:25px; padding:8px 15px; text-transform:uppercase; background:#267bbb; color:#fff; font-size:13px; font-weight:700; transition:background 0.5s ease;"; var styleBoutonS = "margin:15px 8px 0; display:inline-block; border-radius:25px; padding:8px 15px; text-transform:uppercase; background:#885599; color:#fff; font-size:13px; font-weight:700; transition:background 0.5s ease;"; ferveX("head link[rel='stylesheet']").last().after(''); ferveX("body").prepend('
Recherche sur sélection
'+ ''+ ' '+ ' '+ '
'+ 'Recherche par défaut
'+ ''+ ' '+ ' '+ '
'+ 'Afficher la sidebar ?
'+ ''+ ' '+ ' '+ '
'+ 'Afficher lien "notifications" si 0 notif ?
'+ ''+ ' '+ ' '+ '
'+ 'Afficher compteur notifs total ?
'+ ''+ ' '+ ' '+ '
'+ 'Afficher preview (survol) ?
'+ ''+ ' '+ ' '+ '
'+ ''+
'
'+
' Hauteur image : '+preview_height+' px'+
'
'+
'
'+
' Délai : '+preview_delai+' ms'+
'
Afficher preview (fixe) ?
[expérimental]
'+ ' '+ ' '+ '
'+ '' + ' Bas de l\'écran' + ' En popup' + ' | ' + 'Recherche sur sélection de texte (Affiche un bouton en bas d\écran ou en popup pour lancer une recherche torrent du texte sélectionné) | ' + '
' + ' Plus récent' + ' Plus ancien' + ' | ' + 'Tri du moteur de recherche par défaut (Affiche les torrents plus récents/anciens en premier) | ' + '
' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' Afficher la sidebar (Afficher la barre latérale de gauche contenant les catégories des torrents) | ' + '
' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' Afficher le lien "notifications" si 0 notif (Afficher le lien "notifications" dans le menu en haut de page même si aucun notif reçue) | ' + '
' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' Afficher le compteur de notifs total (Afficher la bulle verte dans le menu en haut de page) | ' + '
' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' ' +
' Afficher les prévisualisations de jaquettes sur les torrents au survol de la souris ' + 'Hauteur image : '+preview_height+' px ' + 'Délai : '+preview_delai+' ms ' + ' | ' +
'
' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' Afficher les miniatures des jaquettes dans les listes de torrents | ' + '