[personal profile] asterroc
[livejournal.com profile] the_xtina, prompted by a post by [livejournal.com profile] hitchhiker, I'm curious as to whether one can write a greasemonkey script that would look at each icon on a page searching for a characteristic file size, image dimensions, and loop time, or some other simple description of the file that wouldn't require actual face recognition-style analysis, and then block either (a) the icon itself, or (b) any post or comment with that icon.

I don't actually care about the specific icon in question and wouldn't use such a script, I'm just curious if this is doable. So don't feel you need to create such a thing, a yes or no would be entirely satisfying to me.

Date: 2008-04-28 03:18 am (UTC)
From: [identity profile] xoder.livejournal.com
Wouldn't it be easier to check the URL of the icon, if your goal is to block a particular poster?

JavaScript (which is what Greasemonkey uses) would have a very hard time doing the kind of checksumming you're speaking of. File sizes and raw IMG data are not accessible by the DOM.

Date: 2008-04-28 11:41 am (UTC)
From: [identity profile] zandperl.livejournal.com
The problem is that many people use the particular icon that [livejournal.com profile] hitchhiker dislikes, and therefore the icon URL is not consistent.

Date: 2008-04-28 05:47 pm (UTC)
From: [identity profile] xoder.livejournal.com
I still think it would be easier to just have a list of banned photos. Hell, if you have ad-block already installed, you can block the icons one by one as they come up.

Date: 2008-04-28 09:16 pm (UTC)
From: [identity profile] hitchhiker.livejournal.com
that's pretty much what i'm doing

Profile

asterroc

April 2017

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425 26272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 16th, 2026 09:35 am
Powered by Dreamwidth Studios