恢复简书图片

try to take over the world!

目前为 2019-12-10 提交的版本。查看 最新版本

// ==UserScript==
// @name         恢复简书图片
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.jianshu.com/p/0426184efd16?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation
// @grant        none
// @require      https://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    $.each($(".image-view > img"),function(i,obj){
        var $o = $(obj);
        var link = $o.attr("data-original-src");
        $o.attr("src",link); $o.addClass("illustration");
        $o.removeClass("image-loading");
        var $fu = $(obj.parentNode); });
    $(".image-view-maintain").removeClass("image-view-maintain");
})();