Last active
July 18, 2022 02:15
-
-
Save tkit1994/79fbe8adf841e8899b605c511b34ffd2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name fucking-carl | |
| // @version 0.0.1 | |
| // @description A userscript to bypass programmingcarl.com's block | |
| // @author HaoCheng <[email protected]> | |
| // @namespace com.github.tkit1994 | |
| // @license MIT | |
| // @homepage https://github.com/tkit1994/fucking-carl | |
| // @updateURL https://gist.github.com/tkit1994/79fbe8adf841e8899b605c511b34ffd2/raw/fucking-carl.user.js | |
| // @downloadURL https://gist.github.com/tkit1994/79fbe8adf841e8899b605c511b34ffd2/raw/fucking-carl.user.js | |
| // @supportURL https://github.com/tkit1994/fucking-carl | |
| // @match https://programmercarl.com/* | |
| // @run-at document-idle | |
| // @grant GM_addStyle | |
| // ==/UserScript== | |
| (function() { | |
| "use strict"; | |
| GM_addStyle(` | |
| #read-more-wrap { | |
| display: none; | |
| } | |
| `); | |
| const style = ""; | |
| setTimeout(() => { | |
| let container = document.querySelector("#container"); | |
| container.setAttribute("style", "{ overflow: auto; height: auto }"); | |
| }, 2e3); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment