您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirects Tumblr Image URLs to the raw version
当前为
// ==UserScript== // @name Tumblr Image URL Redirect // @description Redirects Tumblr Image URLs to the raw version // @version 1.1 // @author justausername // @include *media.tumblr.com* // @run-at document-start // @namespace justausername // ==/UserScript== if(window.location.href.indexOf("https://68.media.tumblr.com/") > -1) { window.location = window.location.href.replace( "https://68.media.tumblr.com/", "http://media.tumblr.com/" ); } if(window.location.href.indexOf("http://68.media.tumblr.com/") > -1) { window.location = window.location.href.replace( "https://68.media.tumblr.com/", "http://media.tumblr.com/" ); } if(window.location.href.indexOf("_1280") > -1) { window.location = window.location.href.replace( "_1280", "_raw" ); } if(window.location.href.indexOf("_540") > -1) { window.location = window.location.href.replace( "_540", "_raw" ); } if(window.location.href.indexOf("_500") > -1) { window.location = window.location.href.replace( "_500", "_raw" ); } if(window.location.href.indexOf("_400") > -1) { window.location = window.location.href.replace( "_400", "_raw" ); } if(window.location.href.indexOf("_250") > -1) { window.location = window.location.href.replace( "_250", "_raw" ); } if(window.location.href.indexOf("_100") > -1) { window.location = window.location.href.replace( "_100", "_raw" ); }