 |
Quite neat.
I wonder if the script might have been quicker to simply grab the flic.kr from the HTML of the page, rather than recalculate it?
Posted 4 months ago.
(
permalink
)
|
 |
Thanks!
Actually, That was my original plan of attack, but I noticed something interesting:
This has the flic.kr link on line 21:
http://www.flickr.com/photos/s_d/3664820893/
But not This:
http://www.flickr.com/photos/s_d/3664820893/in/photostream/
Which I thought was odd, but I wrote the original script to actually load the 1st URL and get the code.
You can see it here and see that it's a bit verbose (first time playing with GM!) but fun for me to play with...
Originally posted 4 months ago.
(
permalink
)
S.D. edited this topic 4 months ago.
|
 |
I can understand that Twitter has a limit on characters, but for most places like blogs and Facebook, wouldn't a regular link work (copied & pasted out of the address bar)?
You can even take out the /photo/ part:
flickr.com/saintseminole/3685959770/
Originally posted 4 months ago.
(
permalink
)
Saint.Seminole edited this topic 4 months ago.
|
 |
Absolutely, but since Flickr offered this functionality, I figured I'd take advantage of it.
Ultimately, for me, It was fun to write and tinker with.
Originally posted 4 months ago.
(
permalink
)
S.D. edited this topic 4 months ago.
|
 |
thanks, a much-needed script!
i'm also happy that flic.kr redirects to flickr.com (and redirects all the sub-dirs too)!
Posted 4 months ago.
(
permalink
)
|
 |
Glad you like it.
Posted 4 months ago.
(
permalink
)
|
 |
Nice idea for a first script. Thanks for sharing!
Posted 4 months ago.
(
permalink
)
|
 |
Posted 4 months ago.
(
permalink
)
|
 |
Cool.
Posted 4 months ago.
(
permalink
)
|
 |
Doh! Didn't think of searching for this before I did the same thing, also based on Xenocryst @ Antares Scorpii's bookmarklet code. Mine just puts the link in a slightly different place on the page:

Still, variety is the spice of life and all that! Here's the link:
userscripts.org/scripts/show/56364
Originally posted 3 months ago.
(
permalink
)
bitrot edited this topic 3 months ago.
|
 |

Posted 3 months ago.
(
permalink
)
|
 |
I've just released v0.2 of my script that fixes the bug caused by today's change in the Flickr page source code. Unfortunately you'll need to update all your other scripts that have been broken in order for it to take effect. (The fix is described in that link.)
You can grab v0.2 from Userscripts:
userscripts.org/scripts/show/56364
Posted 2 months ago.
(
permalink
)
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|