> [Script] EH Highlighter (API Version), Unlimited number of tags + does not require tag flagging perk

 
post Feb 28 2017, 03:50
Post #1
Simpleton8



Casual Poster
****
Group: Members
Posts: 336
Joined: 2-November 15
Level 264 (Godslayer)


I modified the [sleazyfork.org] highlighter script by hzqr/etc to use the api instead of tag flagging hath perk. The main different is that it allows you to highlight/filter gallery tags without tag flagging (whereas, for the newest version of EH highlighter, without tag flagging, you can only highlight/filter based on title & with tag flagging, the number of tags you can use is limited). The api portion is copied and pasted from [github.com] gallery size script by blue penguin (so it will probably not overload the server).

I have disabled tag flagging hath perk as it is useless with the script.

I wouldn't recommend using this script unless you want to use more tags than what's allowed by the tag flagging hath perk. It works for me on Firefox with Greasemonkey (haven't tested it on chrome/anywhere else). There are probably some issues (e.g., namespace in filter doesn't seem to work well, doesn't update highlighted galleries after color changes unless refreshed page - I think a couple of these issues exist in the original script as well).

10b is okay with this script; according to him, tag flagging hath perk is already something he's planning on making available to everyone after certain server-side optimizations have been made.

Warning: Don't try to open too many tabs with too many galleries at the same time (e.g., 10 tabs with 200 galleries each), otherwise it might overload the api and get ip banned. I'm "currently" looking into this issue.

Script: [gist.github.com] https://gist.github.com/anonymous/4fbe008e4...b63537a381864b0

P.S. I was hoping someone else would do this before me. Feel free to use it or make a better version smile.gif. I'm still not familiar with >80% of the code.

This post has been edited by Simpleton8: Mar 2 2017, 03:33
User is offlineProfile CardPM
Go to the top of the page
+Quote Post




Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
1 Members: kuranokiriha

 


Lo-Fi Version Time is now: 12th October 2024 - 15:40