Create fuck_qidian.user.js

This commit is contained in:
2022-12-03 08:53:24 +08:00
committed by GitHub
parent e55b5acdc8
commit 2458e54ee6

18
fuck_qidian.user.js Normal file
View File

@@ -0,0 +1,18 @@
// ==UserScript==
// @name Fuck qidian
// @namespace https://github.com/lifegpc/userscript
// @version 0.1
// @description Remove console.clear to help develop.
// @author lifegpc
// @match https://*.qidian.com/*
// @icon http://qidian.com/favicon.ico
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
let a = document.createElement('script');
a.innerHTML = 'console.clear = () => {}';
document.head.append(a);
})();