Skip to content

Instantly share code, notes, and snippets.

@Aryoam
Last active February 3, 2016 04:34
Show Gist options
  • Save Aryoam/704d05f5dea183e23703 to your computer and use it in GitHub Desktop.
Save Aryoam/704d05f5dea183e23703 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Waifu
// @author otro
// @include http://taringa.net/*
// @include https://taringa.net/*
// @include http://*.taringa.net/*
// @include https://*.taringa.net/*
// @run-at document-start
// @version 1
// ==/UserScript==
(function() {var css = [
"body::after {",
"position: fixed !important;",
"content: url('https://k60.kn3.net/0/B/3/2/B/C/F2F.png');",
"bottom: -3px !important;",
"right: 0px !important;",
"opacity: 0.90;",
"z-index: 10;",
"}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
document.documentElement.appendChild(node);
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment