Skip to content

Instantly share code, notes, and snippets.

View joker314's full-sized avatar

Max joker314

  • United Kingdom
View GitHub Profile
@towerofnix
towerofnix / scratch-comment-redactor.js
Created May 7, 2018 21:48
Anonymizes Scratch comments
// ==UserScript==
// @name Scratch Comment Redactor
// @namespace https://towerofnix.github.io
// @match *://scratch.mit.edu/*
// @grant none
// ==/UserScript==
const usersSymbol = Symbol()
const replaceText = function(el, newText) {
@EdOverflow
EdOverflow / github_onplatform.md
Last active August 27, 2020 10:22
My basic workflow when using GitHub for recon purposes.

On-platform GitHub Reconnaissance

Note: Please keep in mind, that all of this does not work if you are not signed in to GitHub.

When searching for issues related to a target I often like to quickly look up their GitHub organization on Google.

So let's say Gratipay says nothing about being open source. A quick Google "Gratipay GitHub" should return Gratipay's org page on GitHub.

Then from there I am going to check what repos actually belong to the org and which are forked. You can do this by selecting the Type: dropdown on the right hand side of the page.

@bates64
bates64 / yt-volume-speed.user.js
Created June 26, 2017 20:25
Userscript that sets YouTube video playback speed based on the current volume. Satanic.
// ==UserScript==
// @name [YT] Volume -> Speed
// @author Satan
// @namespace youtube.com
// @description YouTube videos change playback speed based on the current volume. Fun.
// @include https://www.youtube.com/watch?v=*
// @version 1.0
// @grant none
// ==/UserScript==
@towerofnix
towerofnix / pick-a-country.js
Created November 20, 2016 20:54
Picks a country for you to study. (Actually, three.)
fetch('https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_and_their_capitals_in_native_languages')
.then(res => res.text())
.then(resText => (new DOMParser()).parseFromString(resText, 'text/html'))
.then(doc => (
Array.from(doc.getElementsByClassName('wikitable'))
.map(tbl => tbl.querySelectorAll('tr'))
.reduce((f, tf) => f.concat(Array.from(tf)), [])
.map(r => r.children[0])
.map(t => t.innerText)
))
// ==UserScript==
// @name NFE
// @namespace an-OK-squirrel.github.io
// @description NFE marker yey
// @include https://scratch.mit.edu/projects/*
// @version 1
// @grant none
// ==/UserScript==
if ($("meta[content='noindex']").length > 0) $("#project > div:nth-child(1) > div:nth-child(1)").append('<div id="nfe" class="wip on" style="left:611px"><span>Not For Everyone</span></div>')