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)

CODE
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
1.6.6 (2024-12-11):
- fixed so it works again with the site revamp
Hashcompare_1.6.6.user.js.txt ( 20.36k )
Number of downloads: 27old versions:
Hashcompare_1.6.5.user.js.txt ( 22.79k )
Number of downloads: 82
This post has been edited by Dnkz: Dec 11 2024, 02:36