You can paste the code into the Chrome extension TamperMonkey
It assumes your Mylar url is: http://localhost:8090 - if not please replace in the source.
Would be awesome if EvilHero added this to Mylar the same way CouchPotato lets you install userscript.
Regards,
Losty
Code: Select all
// ==UserScript==
// @name Comic Vine Mylar
// @namespace http://www.comicvine.com/
// @author Losty
// @include http://www.comicvine.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/addComic?comicid="+document.URL.split("/")[4].split("-")[1]+"'><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)
}