> [Script] Hashcompare (for Expunging)

 
post Dec 10 2021, 10:19
Post #1
Dnkz



never despair
*******
Group: Gold Star Club
Posts: 1,028
Joined: 1-June 14
Level 415 (Godslayer)


This is a userscript I wrote to help with expunging. It essentially collects the image hashes of the gallery that you are on and returns you the list. It also has some simple comparison functionalities.

Things to note:
- due to the nature of hashes, the tool is useless and won't return you any matches if the images have been altered in any way.
- it comes in form of a popup window, which is opened via a hotkey (default is 1) on any gallery's thumbnail view.
- on startup the script will only collect the hashes available on your current thumbnail page. By pressing the 'Grab all hashes' button you can make it fetch all hashes from the current gallery. (Keep it mind that this will go through all thumbnail pages, so if you overdo it you might get rate limited. Best to use the highest possible thumbnail row count per page)
- by default the script sets a cookie to receive the full hash in the page links, can be disabled as it is not required if you only use large thumbnails anyways.

the compare checks if:
- identical by files and order
- identical by files
- A contained in B
- B contained in A
- matching unique hashes, will return the amount (I'll eventually make this be displayed better)

Attached Image

1.6.3 (2023-08-23):
- Rewritten to plain javascript instead of partial jquery (done by Cipher-kun)
- Applies the dark mode from the MEMS to the popup (done by Cipher-kun)

1.6.4 (2023-08-25):
- fixed some broken buttons (done by Cipher-kun)

1.6.5 (2023-10-31):
- fixed script being broken due to UI changes on e-hentai

Attached File  Hashcompare_1.6.5.user.js.txt ( 22.79k ) Number of downloads: 57


This post has been edited by Dnkz: Oct 31 2023, 10:58


--------------------
QUOTE
my body is a machine that turns tea and toast into racist posts on the internet


[files.catbox.moe] Europa Rex
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:39