Skip to content

Instantly share code, notes, and snippets.

View LaPingvino's full-sized avatar
🏠
@ Home

Joop Kiefte LaPingvino

🏠
@ Home
View GitHub Profile
// ==UserScript==
// @name Rizzoma Esperanto translation
// @description translates Rizzoma into Esperanto
// @author Joop Kiefte (ikojba@gmail.com)
// @include https://rizzoma.com/topic/*
// @version 0.2
// ==/UserScript==
var load,execute,loadAndExecute;load=function(a,b,c){var d;d=document.createElement("script"),d.setAttribute("src",a),b!=null&&d.addEventListener("load",b),c!=null&&d.addEventListener("error",c),document.body.appendChild(d);return d},execute=function(a){var b,c;typeof a=="function"?b="("+a+")();":b=a,c=document.createElement("script"),c.textContent=b,document.body.appendChild(c);return c},loadAndExecute=function(a,b){return load(a,function(){return execute(b)})};