[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki ]

A banner for soyjak.party

/soy/ - Soyjaks

The Serious Boardβ„’ for feedback, suggestions, and metawhining
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: 1786175151674z.png πŸ“₯︎ (78.68 KB, 583x415) ImgOps

File: 1783190182556c.png πŸ“₯︎ (19.19 KB, 648x696) ImgOps

 β„–17317161[Quote]

Hello, I made some vichan hider thing with jeet tier vibecoding. can you guys test it for me and report issues?
https://dpaste.com/9WHZA8WQN (this is the userscript)
https://violentmonkey.github.io/
Features:
Thread hiding
Image hashbanning
Hashban removal
Automatic image hashing
Vichan API support
Built-in MD5 hashing
Catalog support
Thread support
Live thread update support
Per-board thread hiding
Image hash caching
Separate hidden-content controls
Separate hashban controls
Hashban import/export
Aggressive/similarity hash matching
Compact control panel
Adjustable panel transparency
Vichan icon
Settings panel
Hideable UI
Persistent settings
Temporary status feedback
Local-only storage

 β„–17317172[Quote]

>>17317161 (OP)
Gem go up

 β„–17317181[Quote]

SOMEBODY ADD THIS TO THE 'KI

 β„–17317182[Quote]

>local only storage
marge?

 β„–17317186[Quote]

nigga really needed to make this because salt fucked the site up so hard
gem

 β„–17317188[Quote]

stole my session cookies award

 β„–17317189[Quote]

File: 1785291670995d.webm πŸ“₯︎ (3.03 MB, 1718x935) ImgOps


 β„–17317214[Quote]

>>17317161 (OP)
oooh this is really gemmy >>17317189

 β„–17317229[Quote]

File: whack.mp4 πŸ“₯︎ (1.7 MB, 516x640) ImgOps

gem will go up

 β„–17317230[Quote]

can you just upload this as a .txt? dpaste glows

 β„–17317232[Quote]

File: 1786911712256z.png πŸ“₯︎ (116.27 KB, 502x694) ImgOps

>>17317214
thanks, it was inspired by the grandma gif because I'm a hunky who doesn't like seeing old people get killed

 β„–17317251[Quote]

File: vichan hider.txt πŸ“₯︎ (79.87 KB)

>>17317230
Yeah sure

 β„–17317257[Quote]

File: 1783604027696h.gif πŸ“₯︎ (2.71 MB, 209x255) ImgOps

>>>17317214
>thanks, it was inspired by the grandma gif because I'm a hunky who doesn't like seeing old people get killed

 β„–17317258[Quote]

>>17317189
>Spectacle is Recording

 β„–17317262[Quote]

File: 1783730532000a.png πŸ“₯︎ (109.57 KB, 676x1021) ImgOps

>>17317251
thank you. I'll check the code to see if its any good since you vibecoded it

 β„–17317274[Quote]

>>17317251
just checked it for malicious code, it's clean

 β„–17317277[Quote]

>>17317262
it's not good code it's a mess of gpt and claude. If anyone who actually is good at this thing wants to fix it up they would be a legend

 β„–17317297[Quote]

File: 1785437550915x.png πŸ“₯︎ (6.73 KB, 264x90) ImgOps

>>17317277
i could maybe try to cook up a simpler hider script. I already made and use 3 simple sharty userscripts.

 β„–17317313[Quote]

>>17317297
it is pretty late for me THOUGH since i am a euromutt, so I probably will forget to make it gegggggg

 β„–17317317[Quote]

Shift + Click image β†’ Hide thread/post
Ctrl + Click image β†’ Hashban image
Ctrl + Click image (Mac: Cmd + Click) β†’ Hashban image
Alt + Click image β†’ Remove hashban
Ctrl + Alt + H β†’ Show/hide the Vichan Hider panel

 β„–17317320[Quote]

Add this to the 'ki nowwwwwwwwwwwwww

 β„–17317328[Quote]


 β„–17317365[Quote]

I don't think similar hashing works that good

 β„–17317376[Quote]

works

 β„–17317384[Quote]

>>17317365
example?

 β„–17317398[Quote]

>>17317161 (OP)
Put it on Github

 β„–17317400[Quote]

>>17317262
okay i checked the code. There seems to be a lot of query selectors for whatever reason, like a copious amount of them geg.
<reddit
The similar image check works by downscaling the image and making it grayscale. I hecking forgor what exact resolution but that might lead to falsepositives.
<plebbit
Other than that, good enough i guess if it works for regular hashbans. Could be rewritten to be less 'cado sized doe

 β„–17317402[Quote]

>>17317384
was testing on the /plier/ board and it wasn't working aswell as I'd like

 β„–17317418[Quote]

>>17317402
you wanted to block all pliers or what?

 β„–17317425[Quote]

>>17317418
no just for the purpose of the test I am a fan of 'pliers actually

 β„–17317432[Quote]

>>17317425
I doubt the similarity extends over different variants, its just to prevent if they changed some pixels to change to hash ig.

 β„–17317447[Quote]

>>17317432
from the code
/*
*
* SIMILARITY HASH
*
* This is deliberately separate from MD5.
*
* It creates a 64-bit dHash from a small grayscale
* representation of the image.
*
* Similar images can therefore have similar hashes even
* after resizing/recompression.
*
*/

 β„–17317454[Quote]

>>17317447
oh I see so it compresses the image or something

 β„–17317455[Quote]

>>17317432
someone can easily modify an image and but it through all kinds of filters or move it before spamming. Thinking this is a bit beyond the scope of things but the idea of the aggressive toggle is to be like an emergency option

 β„–17317466[Quote]

>>17317447
const canvas =
document.createElement(
'canvas'
);

canvas.width = 9;
canvas.height = 8;
<reddit
the compressed image is 9 by 8 for whatever fucking reason. That can easily lead to falsepositives

 β„–17317490[Quote]

>>17317466
I think it would be smarter to do pixel wise comparision or some kind of error metric with images you want filtered.

 β„–17317503[Quote]

>>17317466
Apparently a 9Γ—8 input is actually the standard dHash construction but idk

 β„–17317507[Quote]

>>17317490
idk, pretty sure imageDNA and other anti 'p systems do the same shit with the compression and creating some sort of lower resolution hash to block and detect all possible variants of the image in question.

 β„–17317521[Quote]

>>17317507
yeah whatever ig its correct then

 β„–17317548[Quote]

>>17317521
ok before i go to sleep
/*
* Similarity threshold.
*
* 0 = identical
* 64 = completely different
*
* 10 is deliberately conservative.
*/
const SIMILARITY_THRESHOLD =
10;
found this in your code

 β„–17317555[Quote]

>>17317548
you can tweak (or make the ai jeet add this to UI) this value to make the similarity hash more strict or not

 β„–17317572[Quote]

>>17317555
I'm gonna try and implement this



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki ]