Links

Sep. 4th, 2007 01:14 pm
jack: (Default)
[personal profile] jack
http://itre.cis.upenn.edu/~myl/languagelog/archives/004880.html

It comes to something when you hear breaking news by reading the language log :)

javascript:if(document.referrer) document.location = document.referrer;

This one is cool. Obvious, but I never thought of it. It takes you back to a page the current page was linked from (ie. its referrer), so when you've forgotten why you opened a tab (say, because the link was phrased as a witty comment that only makes sense when you've already read the page), you can just go and see.

http://www.jimwegryn.com/Names/Surnames.htm

Comments on surnames, but quite funny.
simont: A picture of me in 2016 (Default)
From: [personal profile] simont
Its referrer!

Also, the href attribute in your <a> seems to have disappeared, but selecting that Javascript "URL" and middle-clicking it into a Firefox tab does seem to work. (Almost annoyingly, actually, since I was on the point of trying to disable that middle-click behaviour because it's nearly always a thundering inconvenience and not what I wanted. To now find a genuinely useful purpose for it ruins my plan.)
From: [identity profile] cartesiandaemon.livejournal.com
Whoops! Thank you, edited. I'm sure I had some reason for saying "it is", but I can't remember what.

Whoops again. I didn't check. Did livejournal strip it out?

disable that middle-click behaviour

Hm. Maybe they should remap it to ctrl-alt-l-middle-click? Or have some way of turning things that look like links into links without being intrustive?

Date: 2007-09-04 01:50 pm (UTC)
simont: A picture of me in 2016 (Default)
From: [personal profile] simont
Aha, no, I've worked it out. You make that piece of Javascript a bookmark, and then you have a "Referrer" button in your personal toolbar or your bookmarks menu (as you choose) which you can hit any time you want. Now I can get back to wanting to disable the middle-click paste-URL behaviour.

Date: 2007-09-04 01:58 pm (UTC)
From: [identity profile] cartesiandaemon.livejournal.com
Ah! Sorry. I forgot to explain that clearly in my post, yes, that's the idea. The only flaw is that its button has a text caption when a picture would be better.

I thought you meant something about following the link because my link was broken.