🏠 Home 

简单解决v2##图床显示问题

try to take over the world!


安装此脚本?
// ==UserScript==
// @name         简单解决v2##图床显示问题
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       huanchena
// @match        *://*.v2ex.com/*
// @grant        none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
$(function(){
var imgs=$("img");
for(var i=0;i<imgs.length;i++){
//https://wx1.sinaimg.cn/mw####/5e5fbf46ly1fwki3soufvj21900xr7wi.jpg
if (imgs[i].src.indexOf("sinaimg.cn/")) {
$(imgs[i]).attr("referrerpolicy","no-referrer").attr("src",imgs[i].src.replace("https://","http://"));
}
}
});
})();