Created
November 3, 2015 19:48
-
-
Save thehowl/baf6395f45bb0c796d37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name like => fave in notifications | |
// @namespace http://howl.moe/ | |
// @version 0.1 | |
// @description what | |
// @author Howl | |
// @match https://tweetdeck.twitter.com/ | |
// @grant none | |
// ==/UserScript== | |
function unmeme() { | |
$("article.js-stream-item").each(function() { | |
if ($(this).attr("data-key").substr(0,8) == "favorite" && $(this).children()[0].children[0].children[1].innerHTML.slice(-6) == "liked ") { | |
$(this).children()[0].children[0].children[1].innerHTML = $(this).children()[0].children[0].children[1].innerHTML.slice(0, -6) + "favourited"; | |
} | |
}); | |
} | |
unmeme(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment