v2ex 隐藏头像

v2ex 隐藏头像1

目前為 2022-09-19 提交的版本,檢視 最新版本

// ==UserScript==
// @name         v2ex 隐藏头像
// @namespace    http://tampermonkey.net/
// @version      0.2.1
// @description  v2ex 隐藏头像1
// @author       h2ero
// @match        https://www.v2ex.com/*
// @icon         https://www.google.com/s2/favicons?domain=v2ex.com
// @grant        none
// @require     https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.5.1/jquery.min.js
// ==/UserScript==
var m = function (f) {
    return f.toString().split('\n').slice(1, - 1).join('\n');
}
loadCss = function () {
    var style = document.createElement('style');
    style.type = 'text/css';
    style.textContent = m(function () { /*
         .avatar{display:none;}
#Wrapper{background:none !important;}
          */
    });
    var head = document.querySelector('head')
    head.appendChild(style);
};
loadCss();

(function() {
    'use strict';
$(function(){
})
    // Your code here...
})();