Skip to content

Instantly share code, notes, and snippets.

@quasar098
Last active May 25, 2023 14:24
Show Gist options
  • Save quasar098/d31c232ce861047b63c48df99aae3234 to your computer and use it in GitHub Desktop.
Save quasar098/d31c232ce861047b63c48df99aae3234 to your computer and use it in GitHub Desktop.
asciitable.com removal from google
// ==UserScript==
// @name Remove bad ascii table
// @namespace https://quasar.name
// @version 0.1
// @description screw asciitable.com. whoever made this hot garbage -> why would you ever
// @author quasar098
// @match https://www.google.com/search?q=*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACfklEQVR4AWJgYPjPBMQ1QPwMiP/TA0PtqgHbDWX8HyBcw0Bnn2OGBIgxkHjoOWDUAaysANrKACKCIIzCOqRUXQWShKqCgBQClCpCKRRKKUmVhEhIVE5ChShQREQEgbpSBYUCieCqSqkSpZLucl94zDgcbq8+WN7+O/N25p83UFEBk5OwuQlnZ+DzwckJrKxARwckJf2DAbcbxsbg8REAvr7g6Ag2NuDgAN7eMLy8yMifGaiqgvt7AHh6gt5eSEwMrYmNhfZ2TQ5iYoLoDbS1wc8PgP44PT18bUoKFBTIJEAwCJWVURgoK4NAAABOTyE52b6Lj4emJm3L8DDMzWnC8XHpILa2HBqIi4PLS/snRUX2XWEhXFxgeH7GcHsLLhfc3QHA66tDA11dGPb2rJ6aCjc3dvDGRmhowDA0pLrVVQD4/nZowOvFMDpq9akpuyrl5dK6uzHU1UlbWADQSjkyoEYSnZ3SXC6re722tqcHQ3OztMNDAFhacmjg4wNDf7+03FwMIyO2dmAAg8ejLdEqQUmJQwNXVxgWF6UVF2OYnpaWkWFrNSmG+fkocmBtDWyyKXjS0pSAoOf2thLw/Bw+PwlhfV2xXVOjyI7YQG0tIczMSG9ttSZAd0BOjvrE54PdXdXExOiEBAIyF6EBDbC/H7q0fX32KJaWQn5++IFbWsDvB4CdHYdJmJkJ19dY0PFyu8N/k5AAs7O2F/x+mXV8F2RlwfExANieUBNWV0NeHmRnK7Y9Hnh4wPD+DvX1Ud+GaqbBQTt4eGz6LS/D7xQVKa4NMatcHx9QEEPi9fp1SBTdvAlpE8yaBUmAIiKjbULi8agDBrxrNuCd0wHvngMAnF5cgCRTOJMAAAAASUVORK5CYII=
// @grant none
// @require https://code.jquery.com/jquery-3.6.0.min.js
// ==/UserScript==
let doneIt = false;
setInterval(() => {
if (doneIt) {
return;
}
function onclicked() {
window.location.href = "https://www.rapidtables.com/code/text/ascii-table.html"
}
$("[src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACfklEQVR4AWJgYPjPBMQ1QPwMiP/TA0PtqgHbDWX8HyBcw0Bnn2OGBIgxkHjoOWDUAaysANrKACKCIIzCOqRUXQWShKqCgBQClCpCKRRKKUmVhEhIVE5ChShQREQEgbpSBYUCieCqSqkSpZLucl94zDgcbq8+WN7+O/N25p83UFEBk5OwuQlnZ+DzwckJrKxARwckJf2DAbcbxsbg8REAvr7g6Ag2NuDgAN7eMLy8yMifGaiqgvt7AHh6gt5eSEwMrYmNhfZ2TQ5iYoLoDbS1wc8PgP44PT18bUoKFBTIJEAwCJWVURgoK4NAAABOTyE52b6Lj4emJm3L8DDMzWnC8XHpILa2HBqIi4PLS/snRUX2XWEhXFxgeH7GcHsLLhfc3QHA66tDA11dGPb2rJ6aCjc3dvDGRmhowDA0pLrVVQD4/nZowOvFMDpq9akpuyrl5dK6uzHU1UlbWADQSjkyoEYSnZ3SXC6re722tqcHQ3OztMNDAFhacmjg4wNDf7+03FwMIyO2dmAAg8ejLdEqQUmJQwNXVxgWF6UVF2OYnpaWkWFrNSmG+fkocmBtDWyyKXjS0pSAoOf2thLw/Bw+PwlhfV2xXVOjyI7YQG0tIczMSG9ttSZAd0BOjvrE54PdXdXExOiEBAIyF6EBDbC/H7q0fX32KJaWQn5++IFbWsDvB4CdHYdJmJkJ19dY0PFyu8N/k5AAs7O2F/x+mXV8F2RlwfExANieUBNWV0NeHmRnK7Y9Hnh4wPD+DvX1Ud+GaqbBQTt4eGz6LS/D7xQVKa4NMatcHx9QEEPi9fp1SBTdvAlpE8yaBUmAIiKjbULi8agDBrxrNuCd0wHvngMAnF5cgCRTOJMAAAAASUVORK5CYII=\"]").parent().parent().parent().parent().parent().parent().parent().parent()[0].onclick = onclicked;
$("[src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACfklEQVR4AWJgYPjPBMQ1QPwMiP/TA0PtqgHbDWX8HyBcw0Bnn2OGBIgxkHjoOWDUAaysANrKACKCIIzCOqRUXQWShKqCgBQClCpCKRRKKUmVhEhIVE5ChShQREQEgbpSBYUCieCqSqkSpZLucl94zDgcbq8+WN7+O/N25p83UFEBk5OwuQlnZ+DzwckJrKxARwckJf2DAbcbxsbg8REAvr7g6Ag2NuDgAN7eMLy8yMifGaiqgvt7AHh6gt5eSEwMrYmNhfZ2TQ5iYoLoDbS1wc8PgP44PT18bUoKFBTIJEAwCJWVURgoK4NAAABOTyE52b6Lj4emJm3L8DDMzWnC8XHpILa2HBqIi4PLS/snRUX2XWEhXFxgeH7GcHsLLhfc3QHA66tDA11dGPb2rJ6aCjc3dvDGRmhowDA0pLrVVQD4/nZowOvFMDpq9akpuyrl5dK6uzHU1UlbWADQSjkyoEYSnZ3SXC6re722tqcHQ3OztMNDAFhacmjg4wNDf7+03FwMIyO2dmAAg8ejLdEqQUmJQwNXVxgWF6UVF2OYnpaWkWFrNSmG+fkocmBtDWyyKXjS0pSAoOf2thLw/Bw+PwlhfV2xXVOjyI7YQG0tIczMSG9ttSZAd0BOjvrE54PdXdXExOiEBAIyF6EBDbC/H7q0fX32KJaWQn5++IFbWsDvB4CdHYdJmJkJ19dY0PFyu8N/k5AAs7O2F/x+mXV8F2RlwfExANieUBNWV0NeHmRnK7Y9Hnh4wPD+DvX1Ud+GaqbBQTt4eGz6LS/D7xQVKa4NMatcHx9QEEPi9fp1SBTdvAlpE8yaBUmAIiKjbULi8agDBrxrNuCd0wHvngMAnF5cgCRTOJMAAAAASUVORK5CYII=\"]").parent().parent().parent().parent()[0].href = "https://www.rapidtables.com/code/text/ascii-table.html";
doneIt = true;
}, 10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment