Greasy Fork is available in English.

Discussioni » Sviluppo

How do I upload a script I made?

Pubblicato: 11/01/2023

Hello! :)

Today 9gag changed something about the website that I abhore. So I made a userscript to fix it. Basically, 9gag hid the comments under a post behind clicking an additional button. All I did was make a script that automatically presses this button when opening a post.

The code is this:

// ==UserScript==
// @name Open Comments when opening post.
// @namespace
// @version 0.1
// @description This script automatically opens the comments when opening a post.
// @author Animeconnoiseur
// @match*
// @icon
// @grant none
// ==/UserScript==

(function() {
const button = document.querySelector('.post-tab-bar__tab');
if (button) {;

So now I want to upload it, both for the case if I ever need to reinstall my browser, and for other people to use it too.

Pubblicato: 11/01/2023

Nevermind, I found it myself! x'D

Pubblicato: 23/02/2023


Pubblica risposta

Accedi per pubblicare una risposta.