You aren't signed in     Sign In    Help

Flickr Link Preview - Greasemonkey Script

In order to view this Flickr video, you'll need to
install the latest version of the Adobe Flash Player.
In my research into this goal, I discovered two reasons why my goal is unattainable using pure javascript:

1) Due to very reasonable security restrictions on AJAX calls, a script running on any page not hosted at flickr.com cannot communicate with Flickr via an XMLHttpRequest.
2) Even if I could get around #1, I would have to include my personal Flickr API key and secret in plain text in the javascript file. This is not only a bad idea, but against Flickr's Terms of Service.

The result is that the script must use a cross-site scripting technique to send information to a PHP program running on a server I host, which sends the request to Flickr and returns the remaining part of the script that knows what to do with the information from Flickr.

Get it at userscripts.org/scripts/show/39390.

Script website here

Comments

view profile

firewallender  Pro User  says:

Nice!
Posted 12 months ago. ( permalink )

view profile

Torley  Pro User  says:

Friendly greetings, I'm an admin for a group called Video Tutorials, and we'd love to have this added to the group!
Posted 12 months ago. ( permalink )

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

[?]

erikrasmussen's photostream

6,801
uploads

This video also belongs to:

FlickrCentral (Pool)

Flickr API (Pool)

Flickr Hacks (Pool)

Flickr★Favorites (Pool)

FlickrToday (only 1 pic per day) (Pool)

Video Tutorials (Pool)

Tags

Click this icon to see all public photos and videos tagged with xss xss

Additional Information

All rights reserved Anyone can see this video

Add to your map