您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Using SSL breaks the site as it tries to load everything from HTTP rather than the server root.
// ==UserScript== // @name [WorldWideTorrents.eu] Load Content Over HTTPS // @namespace pxgamer // @version 0.3.1 // @description Using SSL breaks the site as it tries to load everything from HTTP rather than the server root. // @author pxgamer // @include https://*worldwidetorrents.eu/* // @require https://code.jquery.com/jquery-3.1.0.min.js // @grant none // ==/UserScript== (function() { 'use strict'; $('img[src^="https://worldwidetorrents.eu/"], script[src^="https://worldwidetorrents.eu/"]').each(function(){ let newSrc = $(this).attr('src').replace('https://', 'https://www.'); $(this).attr('src', newSrc); }); $('link[href^="https://worldwidetorrents.eu/"]').each(function(){ let newHref = $(this).attr('href').replace('https://', 'https://www.'); $(this).attr('href', newHref); }); })();