Skip to content

Instantly share code, notes, and snippets.

@Klaster1
Last active February 27, 2020 18:21
Show Gist options
  • Save Klaster1/4fc9d45e8cf7eff4cb160733da47ee0e to your computer and use it in GitHub Desktop.
Save Klaster1/4fc9d45e8cf7eff4cb160733da47ee0e to your computer and use it in GitHub Desktop.
Weight Weenies emoji fix
// ==UserScript==
// @name Weight Weenies emoji fix
// @version 1.0
// @description Reverses substitution of emoji to SVG.
// @author Klaster_1
// @icon http://weightweenies.starbike.com/images/weenie.gif
// @match https://weightweenies.starbike.com/forum/viewtopic.php*
// @grant none
// @downloadURL https://gist.github.com/Klaster1/4fc9d45e8cf7eff4cb160733da47ee0e/raw/ww_emoji_fix.user.js
// @updateURL https://gist.github.com/Klaster1/4fc9d45e8cf7eff4cb160733da47ee0e/raw/ww_emoji_fix.user.js
// ==/UserScript==
document.querySelectorAll('.emoji').forEach(el => {
el.after(el.getAttribute('alt')); el.remove();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment