Skip to content

Instantly share code, notes, and snippets.

@lenicyl
Created February 4, 2022 05:59
Show Gist options
  • Save lenicyl/e7cfc6fbb70527c02fa1dd2806a15132 to your computer and use it in GitHub Desktop.
Save lenicyl/e7cfc6fbb70527c02fa1dd2806a15132 to your computer and use it in GitHub Desktop.
Fuck Medium
// ==UserScript==
// @name New script - google.com
// @namespace Violentmonkey Scripts
// @grant none
// @version 1.0
// @author -
// @description 2/4/2022, 10:30:16 AM
// ==/UserScript==
// Thanks to @helium18 on github for helping me with this since im bad at js
let links = document.querySelectorAll('#root > div > div.l.c > div > div > div.v.w.x.y.z.ab.ac.ae.af > nav > div:nth-child(1) > div.al.am.an.o.ao.u.ap.aq.ar.as.at.c');
let firstElement = links[0]
let svg = firstElement.getElementsByClassName('bj bk')
window.location.replace("https://scribe.rip" + window.location.pathname + window.location.search)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment