[Release] ComicVine Userscript

Information and Tutorials on features in Mylar and how to use it
User avatar
evilhero
Site Admin
Posts: 2027
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: [Release] ComicVine Userscript

Post by evilhero » Mon Apr 10, 2017 1:08 pm

Just a quick update on this - since CV changed to https enforced now, this script won't work...so here's the updated one:

Code: Select all

// ==UserScript==
// @name        Comic Vine Mylar
// @namespace   https://comicvine.gamespot.com/
// @author      Losty
// @include     https://comicvine.gamespot.com/*
// @version     1
// ==/UserScript==
if ($($(".wiki-page-type")[0]).text().indexOf("Volume") != -1){
   current = $($(".instapaper_title")[0]).html();
   $($(".instapaper_title")[0]).html("<a href='http://localhost:8090/addbyid?comicid="+document.URL.split("/")[4].split("-")[1]+"' target='_blank'><img style='width:50px' alt='Download with Mylar' title='Download with Mylar' src='https://raw.githubusercontent.com/evilhero/mylar/master/data/images/mylarlogo.png'/></a>"+current);
}

kongponleu88
Posts: 1
Joined: Sat May 20, 2017 2:20 am

Re: [Release] ComicVine Userscript

Post by kongponleu88 » Sat May 20, 2017 3:01 am

nice

Post Reply