Comments on znerp's Scripts

475 comments

Comment on User Scripts Search Sorting - With Install Rate made 2 hours ago:

znerp

Well you're going to have to give me more details than that, Joe.

I've looked at your scripts, and the one I think you might be referring to (2 hours old, zero installs) is showing up as (0/day). If you give me some way of replicating this problem I might be able to fix it.

Comment on User Scripts Search Sorting - With Install Rate made 4 hours ago:

JoeSimmons

(NaN/day)

Please fix this. It's putting the scripts that aren't even a day old up at the top of the sorting list.

Comment on Facebook View Photo in Album made Oct 5, 2008:

znerp

Martin, yeah ... I'm so sorry about this. I really meant to sort that out for you but I guess I completely forgot. Good to hear Facebook have brought that back though.

Comment on Facebook View Photo in Album made Oct 5, 2008:

Martin Stone

Re: My last comment:

Facebook have reintroduces the descriptions in title tags in the last 20mins or so....about 10 minutes after I finished a script to do it based on this :P Ah well - all good experience.

And thanks.

Comment on Facebook View Photo in Album made Oct 5, 2008:

aparachitt

Try - Free Skype Call ,Now In Facebook also

Link http://www.vevin.com/free-skype-calls/

Thanks and meet u wid cool info.

Comment on User Scripts Search Sorting - With Install Rate made Oct 2, 2008:

znerp

@JoeSimmons: That's my bad, I guess I hadn't tested it with users with multiple pages of scripts. It should work now, but it will only calculate overall rates (at the top of the table) for one page at a time. Same for sorting.

Comment on User Scripts Search Sorting - With Install Rate made Oct 2, 2008:

JoeSimmons

I'm getting this error on my own scripts...

Error: scriptsTable.getElementsByTagName("tr")[j + 1] is undefined


It says greasemonkey.js is the source, not your script. I know it is though because I can disable it and the error goes away.

Comment on Facebook View Photo in Album made Sep 26, 2008:

znerp

@Martin Stone:

I really like having the photo descriptions as tooltips (title/alt) and "new" facebook doesn't have them
I hadn't realised that. I'll look at fixing that for you.

Comment on Facebook View Photo in Album made Sep 25, 2008:

Martin Stone

This probably sounds a bit pointless, but is there any way to include your "back to album" code on photos I can legitimately view anyway?

I tried to set this up myself a couple of versions back and failed, but I really like having the photo descriptions as tooltips (title/alt) and "new" facebook doesn't have them.

Comment on Facebook View Photo in Album made Sep 24, 2008:

swany28

Cheers, working perfectly

Comment on Facebook View Photo in Album made Sep 24, 2008:

znerp

@petoe: I just got around to reading your comment. I don't entirely understand why you posted all of that, but thanks I guess.

Comment on Facebook View Photo in Album made Sep 21, 2008:

petoe

it s still possible to see the complete album in which your friend was tagged in, just by changing the link

you dont even need to be firned or in the same netwerk as the album owner

however, it wont work if the owner restricted access to photos

suppose this is the link to the picture in the album made by someone who s not a friend, and that appears in your friend's photos:

http://www.new.facebook.com/home.php#/photo.php...

now just remove the &subj= part, like this:

http://www.new.facebook.com/home.php#/photo.php...

now if the album owner didnt restrict access to photos, you can now browse through the album with the next and previous buttons

concerning what you said about the photo link with all the numbers in it

it s basically still possible to 'examine' a whole bunch of links and see if they contain a photo, although it requires a lot of time

you HAVE TO be friends or be in the same network (and be able to see his facebook) to make this thing work

you need a pic to start with, to do so, you can use the following link:

http://www.facebook.com/photos.php?subj=

after subj= , fill in the facebook ID

now you can see 1 photo of every album your 'friend' was tagged in (also works if they restricted photo access)

(note: in the photo link, you can change the letter A to N, to see the normal size of the photo)

now starting with this photo link, you are able to start searching for the others in that album

as the person said, it is only possible if the pics were added in 1 time, otherwise it s impossible

now i wont explain it in detail, ask me if you dont understand something

suppose a link looks like this:

http://photos-a.ak.facebook.com/photos-ak-snc1/...

note: first part can vary: photos-a can be photos-b,c,d,e, up to h, and some links can look like this: http://photos-144.ll......

the last number is random (goes upor down by a certain amount), the prvious one usually goes up or down by 1

just start with the link you found, you can try the other combinations later on

now, to examine a bunch of links (up to 9999) you can use a download manager or javascript fusker, like this one:

http://members.home.nl/bas.de.reuver/files/fusk...

ok now for my example, i ll just enter some links in the fusker's search bar that might work to find the other photos in the album:

http://photos-a.ak.facebook.com/photos-ak-snc1/...

or for a very big amount:

http://photos-a.ak.facebook.com/photos-ak-snc1/...

(note that you need to scroll down slowly or you wont even notice it, i advise you run a few tests first with existing pics and always change a to n for normal size photos)

or else try changing link at start:

http://photos-b.ak.facebook.com/photos-ak-snc1/...

http://photos-c.ak.facebook.com/photos-ak-snc1/...

http://photos-d.ak.facebook.com/photos-ak-snc1/...

and so on.......

i guess you get the idea, note that this takes a lot of time and doesnt even guarantee you ll find anything (it s also possible you reached the start/end of the album, etc......)

Comment on Facebook View Photo in Album made Sep 19, 2008:

znerp

@ toLGa: Try asking in either the Script Development or the Ideas/Requests section of the forums.

Comment on Facebook View Photo in Album made Sep 19, 2008:

znerp

@bossanova: Thanks for the comment. I actually don't use Facebook much these days so this'll give me something to work from. It might be after the weekend before I get a chance to fix this, but I'll put what I can up as soon as it's done.

Comment on Facebook View Photo in Album made Sep 18, 2008:

bossanova

Hey man. First, thank you for your awesome script. I thought I'd let you know that "View in Album" and "Back to Album" seem to be working fine if you refresh, and you can still view all the photos of a single album on a single page.

However, a day or two after New Facebook became "Mandatory", viewing all of the photos of a given user at once (on a single page) suddenly disappeared. It worked for the first day or so, then *POOF* Any ideas?

Update: The view all photos only works for albums that you're not supposed to have access to. Normal ones still only display one page at a time.

Comment on Facebook View Photo in Album made Sep 18, 2008:

znerp

@swany28: Thanks for the feedback, I'll look at getting it working at some point when I have time. This might not be until after the weekend though, as I have a lot on this week.

Comment on Facebook View Photo in Album made Sep 18, 2008:

swany28

great script znerp, with the new facebook i have gotten it be able to get into the album but cannot click on "Back to Album". I am able to scroll through the photos by clicking "next". I was wondering if you have gotten "Back to Album" to work yet with the new facebook?

Thanks,

Keep up the good work

Comment on Facebook View Photo in Album made Sep 17, 2008:

znerp

@toLGa: No.

Comment on Facebook View Photo in Album made Sep 15, 2008:

ـناص sNipeR القـ

gooooooooooooooooooooooooooooooooood

Comment on Facebook View Photo in Album made Sep 15, 2008:

feesh

Didn't mean to be demanding, it just doesn't seem to work anymore for the new facebook which i've recently been forced to use now.

Comment on Facebook View Photo in Album made Sep 15, 2008:

znerp

@Mzrc: Can you please explain firther about what you mean by "the script doesn't work for this".

@feesh: If you start paying me I'll give in to your demanding comment. Until then I'll update the script when I'm ready to. It still works fine on the old Facebook, and I doubt I'll update it before I'm forced to use the new one.

Comment on Facebook View Photo in Album made Sep 14, 2008:

Mzrc

The script no longer works for the new facebook for those who don't tag themselves in their own photos. It normally splits them into ones added by the person whose profile it is, and ones of them tagged by others (which I'm sure everyone knows). If there isn't one in any of these sections, it just says "Photos of ____ ", and the script doesn't work for this. It has to say "Tagged by Others" for it to work.

Comment on Facebook View Photo in Album made Sep 13, 2008:

feesh

It stopped working, needs update

Comment on Facebook View Photo in Album made Sep 12, 2008:

znerp

@LibSoc: I've personally not figured this out, and this script has literally no intelligence so it's not figured this out either. I once spent an evening trying to figure out some form of algorithm for the numbering of the files, but I didn't get anywhere. Not to say there isn't one, but it most certainly isn't anything obvious. Not only does the second number change (I believe the first set of numbers is the id of the person who uploaded the photo, and the second is the picture id), it can simply increment by one if the photos are uploaded together, or by a larger number if for example someone uploads a photo days/weeks after the rest of an album (like in an album called 'random pics' or similar). Oh yeah, and also the beginning of the image will change from, eg http://photos-a.. to http://photos-b... This used to loop through a, b, c and d, but I believe this has since added up to f. I can only assume they got some more servers.

As for the last number, this seems to increment by a random number that is around 1500 (if I recall correctly). I once wrote a script similar to this one that would place several hundred images sequentially on top of each other, with only one of them actually pointing to an image, as per your proposal. The biggest issue I found with this however is that it is a huge drain on the browser, as it has to make several hundred requests for images to the facebook site. Also, as you say, it would most probably raise some flags eventually at Facebook if I used this a lot, or several people used a script such as this.

Comment on Facebook View Photo in Album made Sep 11, 2008:

LibSoc

I'm still getting up to speed on JavaScript, so bear with me. :)

Have you/this script figured out the numbering scheme for facebook photos? For example, one photo in an album will be:

n19301512_30591742_3287.jpg

and the next will be:

n19301512_30591743_4553.jpg

The last digit of the second grouping of numbers goes up one, but after looking at a lot of image URLs I've been able to find no rhyme or reason to the set of digits that come after it. Is there any way of finding them out, other than brute-force trying all 3 and 4 digit possibilities (and wouldn't that raise red flags at Facebook HQ)? Is it a random number generated, or is it an algorithm? I'm flummoxed.