From dd99d3d6eeacc927c3b8a23c178d031388750c3f Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Tue, 20 Dec 2016 17:23:25 +0100 Subject: [PATCH] Initial release --- ani-search-enhancer.user.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ani-search-enhancer.user.js diff --git a/ani-search-enhancer.user.js b/ani-search-enhancer.user.js new file mode 100644 index 0000000..aae50d7 --- /dev/null +++ b/ani-search-enhancer.user.js @@ -0,0 +1,28 @@ +// ==UserScript== +// @name aniSearch Enhancer +// @namespace http://github.com/marvinl97/ani-search-enhancer +// @version 1.0 +// @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals. +// @author Marvin Lehmann (marvinl97) +// @grant none +// @include http://www.anisearch.de/anime/* +// @require http://code.jquery.com/jquery-latest.js +// @downloadURL http://raw.githubusercontent.com/marvinl97/ani-search-enhancer/master/ani-search-enhancer.user.js +// @supportURL http://github.com/marvinl97/ani-search-enhancer/issues +// ==/UserScript== +this.$ = this.jQuery = jQuery.noConflict(true); + +$(document).ready(function() +{ + $('head').append(''); + var animeTitleElem = document.getElementById('htitle'); + if(animeTitleElem !== null) + { + var animeTitle = animeTitleElem.innerText; + if(animeTitle) { + $('#page-action').append(''); + $('#page-action').append(''); + $('#page-action').append(''); + } + } +}); \ No newline at end of file