Its called a bookmarklet and I believe it was popularized by blogs like Wordpress and Tumblr - by clicking their bookmarklet you can create a new post for example. We faced a lot of challenge in trying to extract embedded video from the server side - because various sites use very different mechanisms (javascript, flash, ajax) to render embedded videos. That's why we resorted to client-side approach using a bookmarklet. Once a page is rendered we can parse the contents and grab what we need.
However we will have to figure a way to execute javascript on the server side eventually - for example bookmarking a video by right clicking a url (without opening the page), something I wish for every time I want to queue a video from my twitter feed. Right now I have to click the url, open the page and then bookmark. On May 12, 8:45 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > I did not know that you can put javascript in a bookmark instead of > simply a URL and when you click on the bookmark the JS code is > executed on the page you are currently visiting. >