Skip to content

Instantly share code, notes, and snippets.

View fdebijl's full-sized avatar

Floris de Bijl fdebijl

View GitHub Profile
@fdebijl
fdebijl / sommige_millennials.js
Created May 4, 2020 09:12
sommige_millennials.js
// ==UserScript==
// @name Sommige millennials
// @version 1.0
// @description https://twitter.com/Schellevis/status/1257234072037986305
// @author Fdebijl
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
@fdebijl
fdebijl / userscript.js
Created August 14, 2019 19:54
Ik ben geen expert, maar...
// ==UserScript==
// @name Ik ben geen expert, maar...
// @namespace https://floris.debijl.xyz/
// @version 1.0
// @author @Fdebijl
// @license GNU Affero General Public License 3.0 https://www.gnu.org/licenses/agpl-3.0.nl.html
// @match https://twitter.com/*
// @grant none
// ==/UserScript==
@fdebijl
fdebijl / Instructions.md
Last active May 21, 2019 08:10
Kleintjesay

Kleintjesay voor Linux

  1. Installeer cowsay
    sudo apt install cowsay

  2. Voeg kleintje.cow toe aan /usr/share/cowsay/cows/

  3. (Optioneel) Alias kleintjesay
    alias kleintjesay='cowsay -f kleintje'

@fdebijl
fdebijl / userscript.js
Created February 14, 2019 15:03
6Cijfers
// ==UserScript==
// @name Accounts met zes cijfers zijn altijd nazi's
// @namespace https://floris.debijl.xyz/
// @version 1.0
// @description Laat geen tweets zien van gebruikers die zes cijfers of meer in hun naam hebben
// @author Fdebijl
// @match https://tweetdeck.twitter.com/
// @match https://twitter.com/*
// @grant none
// ==/UserScript==
@fdebijl
fdebijl / Instructions.md
Last active December 28, 2018 15:35
Blocked Tweet Hider
@fdebijl
fdebijl / instructions.md
Last active July 11, 2022 14:42
Simon Stålenhag Wallpaper Downloader
@fdebijl
fdebijl / Instructions.md
Last active September 6, 2020 11:51
Twitter Like Exporter

WARNING: THIS USER SCRIPT NO LONGER WORKS - IT WAS ORIGINALLY MADE FOR THE TWITTER WEBAPP PRE JULY 2019

Download either Tampermonkey for Chrome, or Greasemonkey for Firefox if you want to run this script repeatably:

Tampermonkey: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo

Greasemonkey: https://addons.mozilla.org/nl/firefox/addon/greasemonkey/

Add the script via the dashboard of Tamper/Greasemonkey, and then simply navigate to https://twitter.com/i/likes to download your own likes, or replace 'i' with any other username to download their likes.

@fdebijl
fdebijl / ad.html
Last active February 26, 2018 22:05
ProPublica - Inhoud verzoek
<div class="_1dwg _1w_m">
<div>
<div class="_5x46 _1yz1 clearfix">
<div class="clearfix _5va3">
<a class="_5pb8 _1yz2 _8o _8s lfloat _ohe" href="https://www.facebook.com/amnestynl/">
<div class="_38vo"><img class="_s0 _4ooo _5xib _44ma _54ru img" src="https://scontent-ams3-1.xx.fbcdn.net/v/t1.0-1/p32x32/20621989_10155394055529961_5532988932518485105_n.png?oh=583c6a640604a1f94c6f935701714af6&oe=5B123389"></div></a>
<div class="clearfix _42ef">
<div class="rfloat _ohf"></div>
<div class="_5va4">
<div>
@fdebijl
fdebijl / getTimeLineID.js
Last active February 28, 2018 13:22
ProPublica - getTimeLineID.js
const getTimelineId = (parent, ad) => {
// Om te voorkomen dat de extensie te vaak informatie aanvraagt over
// een advertentie wordt er ook een cache bijgehouden.
if (adCache.has(toggle.id)) return Promise.resolve(adCache.get(toggle.id));
// Hier wordt het ID opgehaald
let promise = new Promise(
parseMenu(
ad,
".uiLayer",
@fdebijl
fdebijl / cleanad.js
Last active February 28, 2018 13:27
ProPublica - cleanad.js
// Dit zijn alle elementen die persoonsgegevens kunnen bevatten of
// om andere reden niet belangrijk zijn, zoals de like-knop.
const selectors = [
"video",
"input",
"button",
"iframe",
'a[href=""]',
".accessible_elem",
".uiLikePagebutton",