Skip to content

Instantly share code, notes, and snippets.

View GrzegorzManiak's full-sized avatar
👋

Grzegorz Maniak GrzegorzManiak

👋
View GitHub Profile
// ==UserScript==
// @name Exam Papers Link Extractor
// @namespace http://tampermonkey.net/
// @version 2024-01-01
// @description Extracts links from the exam papers website and displays them in a popup window.
// @author https://git.grzegorz.ie/
// @match *://exampapers-ta-tudublin-ie.tudublin.idm.oclc.org/*
// @require https://cdn.jsdelivr.net/npm/jszip@3.10.1/dist/jszip.min.js
// @icon https://www.google.com/s2/favicons?sz=64&domain=oclc.org
// @grant none
@GrzegorzManiak
GrzegorzManiak / delete_youtube_comments.js
Created October 13, 2023 14:49
Delete all your youtube comments automatically
//
// ENSURE that you are on your own page
// https://myactivity.google.com/page?hl=en&pli=1&page=youtube_comments
//
// Wait for the page to fully load, and than copy / paste this script
// into the console.
//
// There are two variables that you can change, SLEEP_FOR and CLICK_DELAY
// --> SLEEP_FOR: Min,Max timeout before scrolling down
// --> CLICK_DELAY: Min,Max timeout between clicking the element
@GrzegorzManiak
GrzegorzManiak / delete_replys.js
Created October 13, 2023 13:03
Deletes all your replys on Twitter / X automatically
//
// ENSURE that you are on your own page eg https://twitter.com/x/with_replies
// Wait for the page to fully load, and than copy / paste this script
// into the console.
//
// There are two variables that you can change, SLEEP_FOR and CLICK_DELAY
// --> SLEEP_FOR: Min,Max timeout before scrolling down
// --> CLICK_DELAY: Min,Max timeout between clicking the element
//
(async() => {
@GrzegorzManiak
GrzegorzManiak / unlike.js
Created October 13, 2023 12:29
Unlikes all your liked content on Twitter / X automatically
//
// ENSURE that you are on your own page eg https://twitter.com/x/likes
// Wait for the page to fully load, and than copy / paste this script
// into the console.
//
// There are two variables that you can change, SLEEP_FOR and CLICK_DELAY
// --> SLEEP_FOR: Min,Max timeout before scrolling down
// --> CLICK_DELAY: Min,Max timeout between clicking the element
//
(async() => {
@GrzegorzManiak
GrzegorzManiak / zipThingiverse
Created May 1, 2022 18:31
Allows you zip up all files from thingiverse as they removed it
// ==UserScript==
// @name ThingiBetter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Makes it so you get a ZIP of all files instead of having to download them 1 by 1
// @author You
// @match https://www.thingiverse.com/thing:*
// @icon https://www.google.com/s2/favicons?sz=64&domain=thingiverse.com
// @grant none
// ==/UserScript==
@GrzegorzManiak
GrzegorzManiak / index.js
Created January 27, 2022 18:29
Moodle theme for TUD Tallaght
// ==UserScript==
// @name Gets rid of useless moddle shit
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://elearning-ta.tudublin.ie/*
// @icon https://www.google.com/s2/favicons?domain=tudublin.ie
// @grant none
// ==/UserScript==
@GrzegorzManiak
GrzegorzManiak / moodler.js
Created January 24, 2022 18:05
Make moodle good again!
// ==UserScript==
// @name Gets rid of useless moddle shit
// @namespace http://moodle.com/
// @version 0.1
// @description rethemes the moodle site for TUD tallaght
// @author You
// @match https://elearning-ta.tudublin.ie/*
// @icon https://www.google.com/s2/favicons?domain=tudublin.ie
// @grant none
// ==/UserScript==
@GrzegorzManiak
GrzegorzManiak / Moo.css
Created January 24, 2022 17:11
Moodle css
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');html{font-family:'Montserrat',sans-serif!important}H1,H2,H3,H4,H5,span,a,p,body{font-family:'Montserrat',sans-serif!important}::selection{color:#000;background-color:#d4d4d4}.dropdown-toggle:after{display:inline-block;margin-left:0!important;vertical-align:0!important;content:unset!important;border-top:unset!important;border-right:unset!important;border-bottom:unset!important;border-left:unset!important}.btn{all:unset;background-color:#00000033!important;padding:.5rem;border-radius:.3rem;transition:all .2s ease-in-out;display:flex!important;align-items:center;justify-content:center;gap:.5rem}.btn:hover{all:unset;background-color:#3a3a3a33!important;padding:.5rem;border-radius:.5rem;display:flex!important;align-items:center;justify-content:center;gap:.5rem}.btn:{all:unset}.dropdown-toggle{border:none}button,btn{all:
@GrzegorzManiak
GrzegorzManiak / main.ts
Created January 13, 2022 19:48
All http error codes and descriptions in a JS object
const httpErrorCodes: { [key:number]: string } = {
100 : "CONTINUE",
101 : "SWITCHING_PROTOCOLS",
102 : "PROCESSING",
103 : "EARLY_HINTS",
200 : "OK",
201 : "CREATED",
202 : "ACCEPTED",
203 : "NON_AUTHORITATIVE_INFORMATION",
204 : "NO_CONTENT",
@GrzegorzManiak
GrzegorzManiak / index.js
Created December 30, 2021 16:02
CurseForge instant download, Skips the 5 sec delay on CurseForge downloads
// ==UserScript==
// @name CurseForge instant download
// @namespace https://github.com/GrzegorzManiak
// @version 0.1
// @description Skips the 5 sec delay on curseforge downloads
// @author Grzegorz Maniak
// @match https://www.curseforge.com/*
// @icon https://www.google.com/s2/favicons?domain=curseforge.com
// @grant none
// ==/UserScript==