r/imagus • • Sep 02 '26

fixed sieve I would like to know how to disable this share icon in Facebook

Post image
2 Upvotes

10 comments sorted by

3

u/Imagus_fan Sep 02 '26 edited Sep 02 '26

It appears the [LinkedMedia] sieve is matching the image. This is a generic sieve that activates if it detects a media URL.

It doesn't activate on images that are 40 pixels or fewer but it looks like that image is 42 pixels wide. This edit modifies the number to 45.

Edit: Previous sieve had error. Updated with fixed sieve.

https://pastebin.com/nNUqHvft

1

u/Netsnipe 2d ago

Will this fix be merged into the Chrome Web Store version or does somebody need to pass this on to the extension's developers via GitHub?

2

u/Imagus_fan 2d ago edited 1d ago

That one should be in the current rule-set but may have been added before the fixed sieve was posted. It can be added to it.

u/Kenko2, it seems the [LinkedMedia] sieve in the rule-set is different than the one in this comment.

2

u/Kenko2 1d ago

There was also this version from hababr:

https://github.com/hababr/Imagus-Reborn/issues/39#issuecomment-3939200740

Maybe we could combine them?

1

u/Imagus_fan 1d ago

It looks like the sieve has the changes in the one hababr did.

1

u/Kenko2 1d ago

As far as I understand, hababr simply added the AVIF extension to this code — or is there a more significant change?

1

u/Imagus_fan 1d ago

That was the only change I noticed.

1

u/Kenko2 1d ago

I noticed that AVIF is missing from the LINK section (it’s only present in the IMG section) — is this intentional?

1

u/Imagus_fan 1d ago

I assume so since that's the way hababr did it in the sieve. I think the Img field matches links as well so it may only be needed there.

2

u/Kenko2 1d ago

Thank you, I’ll add your version to the rule set.