Skip to content

Instantly share code, notes, and snippets.

@tkit1994
Last active July 18, 2022 02:15
Show Gist options
  • Select an option

  • Save tkit1994/79fbe8adf841e8899b605c511b34ffd2 to your computer and use it in GitHub Desktop.

Select an option

Save tkit1994/79fbe8adf841e8899b605c511b34ffd2 to your computer and use it in GitHub Desktop.

Revisions

  1. tkit1994 revised this gist Jul 18, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fucking-carl.user.js
    Original file line number Diff line number Diff line change
    @@ -7,8 +7,8 @@
    // @namespace com.github.tkit1994
    // @license MIT
    // @homepage https://github.com/tkit1994/fucking-carl
    // @updateURL https://gist.github.com/tkit1994/79fbe8adf841e8899b605c511b34ffd2/raw/leetcode-copy.user.js
    // @downloadURL https://gist.github.com/tkit1994/79fbe8adf841e8899b605c511b34ffd2/raw/leetcode-copy.user.js
    // @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
  2. tkit1994 revised this gist Jul 18, 2022. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions fucking-carl.user.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@

    // ==UserScript==
    // @name fucking-carl
    // @version 0.0.1
    @@ -6,8 +7,8 @@
    // @namespace com.github.tkit1994
    // @license MIT
    // @homepage https://github.com/tkit1994/fucking-carl
    // @updateURL https://gist.github.com/tkit1994/cace80dfd3487af8ff6e43061b54e5db/raw/leetcode-copy.user.js
    // @downloadURL https://gist.github.com/tkit1994/cace80dfd3487af8ff6e43061b54e5db/raw/leetcode-copy.user.js
    // @updateURL https://gist.github.com/tkit1994/79fbe8adf841e8899b605c511b34ffd2/raw/leetcode-copy.user.js
    // @downloadURL https://gist.github.com/tkit1994/79fbe8adf841e8899b605c511b34ffd2/raw/leetcode-copy.user.js
    // @supportURL https://github.com/tkit1994/fucking-carl
    // @match https://programmercarl.com/*
    // @run-at document-idle
  3. tkit1994 created this gist Jul 18, 2022.
    29 changes: 29 additions & 0 deletions fucking-carl.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    // ==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/cace80dfd3487af8ff6e43061b54e5db/raw/leetcode-copy.user.js
    // @downloadURL https://gist.github.com/tkit1994/cace80dfd3487af8ff6e43061b54e5db/raw/leetcode-copy.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);
    })();