Skip to content

Instantly share code, notes, and snippets.

View Tackyou's full-sized avatar

Tackyou

  • Germany
  • 20:40 (UTC +02:00)
View GitHub Profile
@Tackyou
Tackyou / dark.studocu.user.js
Last active January 24, 2024 23:29
Dark Mode helper for Dark Reader on studocu.com
// ==UserScript==
// @name Dark Mode Helper StuDocu.com
// @namespace http://tampermonkey.net/
// @version 0.2
// @description for DarkReader addon
// @author Tackyou
// @match https://www.studocu.com/*/document/*
// @icon https://www.google.com/s2/favicons?domain=studocu.com
// @grant GM_addStyle
// ==/UserScript==
@Tackyou
Tackyou / clean.tiktok.user.js
Created May 15, 2023 20:05
Makes TikTok look a little bit more like Youtube by removing a bunch of useless stuff
// ==UserScript==
// @name De-Trashify TikTok on Desktop
// @namespace http://tampermonkey.net/
// @version 0.2
// @description websites should be cleaner
// @author Tackyou
// @match https://www.tiktok.com/*
// @icon https://icons.duckduckgo.com/ip2/tiktok.com.ico
// @grant GM_addStyle
// @run-at document-start
@Tackyou
Tackyou / adiro.invoice.downloader.js
Created December 22, 2018 02:02
Downloads all invoices
(function(){ console.log("Adiro Invoice Downloader"); $.getScript('https://cdnjs.cloudflare.com/ajax/libs/downloadjs/1.4.8/download.min.js'); console.log("Please wait 8 seconds..."); setTimeout(function(){$('body > div.mdl-grid.content > div.mdl-cell.mdl-cell--8-col > table.mdl-data-table.table.mdl-shadow--2dp.mdl-cell--hide-tablet.mdl-cell--hide-phone > tbody > tr').each(function(i){ var dl = $(this).find('td > a'); var uri = "https://publisher.adiro.de"+dl.attr('href'); var filename = "adiro_"+dl.text().slice(0, -4)+"_"+$(this).find('td:nth-child(2)').text().trim()+".pdf"; setTimeout(function(){ console.log('Downloading #'+(i+1)+' '+filename); var x=new XMLHttpRequest(); x.open("GET", uri, true); x.responseType="blob"; x.onload=function(e){download(e.target.response, filename, "application/pdf");}; x.send(); }, i*3000); });}, 5000); })();