I wrote this little bookmarklet to help me instantly grab the large/original version of any Flickr photo. Funnily enough, because of Flickr's consistent filenaming scheme, it also works for photos where the See different sizes
option normally remains hidden:
view big (gets 1024px version; should work for most photos)
view original (gets full version as uploaded; works for photos pre-March 2007)
Drag the link above to your Bookmarks Toolbar (or right click, Add to Favorites), then click it when viewing a single Flickr photo page.
Here's the formatted source code, if you're into that sorta thing:
for (m in M=document.getElementsByTagName('img'))
{
s = M[m].src;
if (s && s.match(/static/) && !s.match(/_s|buddy/))
{
void(window.open(s.replace('.jpg','_o.jpg'),'_self'));
break;
}
}:visited pseudo-class and background-image urls to detect if a user has visited a particular link. [href=] selector. Unfortunately, there's another method that does work in IE and is even more dangerous...body {
background: url("
javascript:
document.body.onload = function(){
...custom js here...
}
");
}By specifying a rule like this in the browser's user stylesheet, it might even be possible to run a custom set of Javascript commands on opening of any visited website. (Although my brief attempt at making this work proved unsuccessful.) [via webgraphics]expression() syntax to simulate the css max-width property, which works in Mozilla/Opera but not in IE.document.myForm.myInput.value
document.someImage.srcdocument.forms['myForm'].elements['myInput'].value
document.images['someImage'].srcchar=' .:*sS#$'.split('');char=new Array(' ','.',':','*','s','S','#','$');<form onsubmit="this.target=event.shiftKey?'_blank':'_self'">
something new
border-style: dashed;.Exact rendering depends on browser model and window size. Warning: hypnotizing!
1. posted by Low at 10:19 on July 30, 2008
2. posted by Dal Jean at 16:39 on July 30, 2008
3. posted by Marc at 23:00 on August 02, 2008
4. posted by battez at 20:48 on September 28, 2010
5. posted by battez at 20:48 on September 28, 2010