香菜了子

About me

Developer Information
Name 香菜了子
Homepage http://www.patchy.tk/
User since February 23, 2011
Number of add-ons developed 3 themes
Average rating of developer's add-ons Not yet rated
View all

Themes I've created

My Reviews

Danbooru Downloader

way to add support for flash Rated 5 out of 5 stars

I like this add-on, but I found it doesn't support flash file,so I tried to add support for flash. This is the way I used:

Open the add-on's xpi file(you can open this page by other browser such as IE to download the xpi file) by winrar or winzip.
Unpack the chrome\content\danbooru_downloader_tab.js and open it,
Find the method getPicUrl (at line 531), you can find this content in the method (at line 541):

else
{ pic_url = this.tabDocument.getElementById('image').src; }

change it to:

else if (this.tabDocument.getElementById('image')!=null)
{ pic_url = this.tabDocument.getElementById('image').src; }
else
{ pic_url = this.tabDocument.getElementsByTagName('embed')[0].src; }

Save and drop the .js file back into the xpi file.
Drop the xpi file to firefox to install the add-on.

This review is for a previous version of the add-on (1.8).