Added HTTPS support and temporary button fix
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name aniSearch Enhancer
|
// @name aniSearch Enhancer
|
||||||
// @namespace http://github.com/marvinl97/ani-search-enhancer
|
// @namespace http://github.com/marvinl97/ani-search-enhancer
|
||||||
// @version 1.1
|
// @version 1.2
|
||||||
// @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals.
|
// @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals.
|
||||||
// @author Marvin Lehmann (marvinl97)
|
// @author Marvin Lehmann (marvinl97)
|
||||||
// @grant none
|
// @grant none
|
||||||
// @include http://www.anisearch.de/anime/*
|
// @include /^https?://www.anisearch.de/anime/.*$/
|
||||||
// @require http://code.jquery.com/jquery-latest.js
|
// @require http://code.jquery.com/jquery-latest.js
|
||||||
// @downloadURL http://raw.githubusercontent.com/marvinl97/ani-search-enhancer/master/ani-search-enhancer.user.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
|
// @supportURL http://github.com/marvinl97/ani-search-enhancer/issues
|
||||||
@@ -14,7 +14,7 @@ this.$ = this.jQuery = jQuery.noConflict(true);
|
|||||||
|
|
||||||
$(document).ready(function()
|
$(document).ready(function()
|
||||||
{
|
{
|
||||||
$('head').append('<style>#page-action #page-action-search:before{content:"\\f002";}</style>');
|
$('head').append('<style>#page-action li{font-size:xx-small;text-overflow:clip;} #page-action-search:before{content:"\\f002";}</style>');
|
||||||
var animeTitleElem = document.getElementById('htitle');
|
var animeTitleElem = document.getElementById('htitle');
|
||||||
if (animeTitleElem !== null)
|
if (animeTitleElem !== null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user