ComicVine Chrome Extension

Information and Tutorials on features in Mylar and how to use it
Post Reply
Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

ComicVine Chrome Extension

Post by Destron » Sat Apr 30, 2016 5:22 pm

I'm working on a chrome extension to let you import the currently open Volume page on ComicVine into Mylar. Mostly I'm doing it to make my life easier, but if it would be helpful for anyone, are there any rules against posting it here?

All it does is parse the current URL, verify it's a ComicVine volume page, and then send an API call to Mylar to add the series to the library.

Edit:

Here's a link to the extension. http://www.filedropper.com/vine2mylar06

I didn't pack it as an official chrome extension or anything. To install it in chrome, go to

Unzip the extension, it should create a folder called Vine2Mylar.

chrome://extensions

Make sure "Developer Mode" is turned on, and then Click "Load Unpacked Extension", browse to your Vine2Mylar folder, and select it, you should get the Vine2Mylar button in the upper righthand corner. Right click it, set options. Then browse to ComicVine, open any Volume link, and then click the Vine2Mylar extension.

I left it as an unpacked extension so anyone can check it out, and improve on it if they like.

I'm open to feature requests, but really, this is a simple tiny utility, that should just do one thing, to save cutting and pasting. :)

Also note, you do NOT have to wait for Mylar to respond, if you're running on the same machine, you can pretty much click it and move on. If you want to wait for confirmation, of course, you can.
Last edited by Destron on Sat Apr 30, 2016 8:28 pm, edited 3 times in total.
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

User avatar
evilhero
Site Admin
Posts: 2002
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: ComicVine Chrome Extension

Post by evilhero » Sat Apr 30, 2016 5:43 pm

Nope, no rules - I just have a problem with people spamming (in general, not in here usually). Anything that's relevant to Mylar, or helps with the general usage is by all means allowed and very much appreciated.

There was a userscript posted on here that used TamperMonkey to do almost the same thing - aside from the learning aspect, you might want to check that out to see if what you're doing is any different ?

Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

Re: ComicVine Chrome Extension

Post by Destron » Sat Apr 30, 2016 5:48 pm

I used to use GreaseMonkey, not sure I've ever tried TamperMonkey. With the exception of prettying it up and testing it a few dozen more times, it's done. My first chrome extension. I'm pretty excited :)
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

Re: ComicVine Chrome Extension

Post by Destron » Sat Apr 30, 2016 6:01 pm

Out of curiosity, when one makes an API call to addComic, is the response always plain text?
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

User avatar
evilhero
Site Admin
Posts: 2002
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: ComicVine Chrome Extension

Post by evilhero » Sat Apr 30, 2016 6:53 pm

It probably does respond in plain text - more of an oversight than anything else since I haven't really done much with the api, like ever ;)

I can add in the api call for addbyid, which does the same thing as the addComic call but it only requires the comicvine and is run in the background by default.

Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

Re: ComicVine Chrome Extension

Post by Destron » Sat Apr 30, 2016 7:34 pm

The plain text response is fine, but if you add that, please lt me know, and I'll update it. I'll finish up the extension and post it soon. :)

Thanks again, Mylar really is a fantastic resource.
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

Re: ComicVine Chrome Extension

Post by Destron » Sat Apr 30, 2016 8:11 pm

Posted a first version of the extension. Anyone who wants to try it, please let me know what you think.
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

tatsumasagc
Posts: 1
Joined: Sun May 28, 2017 3:07 pm

Re: ComicVine Chrome Extension

Post by tatsumasagc » Sun May 28, 2017 3:08 pm

Destron wrote: Here's a link to the extension. http://www.filedropper.com/vine2mylar06
the link appears to be dead

Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

Re: ComicVine Chrome Extension

Post by Destron » Mon May 29, 2017 12:52 am

My guess is that that hosting site is only good for a year. I'll repost it and share a link asap.
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

Destron
Posts: 55
Joined: Thu Apr 28, 2016 7:37 pm

Re: ComicVine Chrome Extension

Post by Destron » Mon May 29, 2017 12:56 am

Ok, it should be back now. Same link
Vine 2 Mylar Chrome Extension: http://www.filedropper.com/vine2mylar06

Post Reply