Page 1 of 1

Bookmark all APODs at once

Posted: Tue Mar 01, 2005 8:04 am
by makc
Want fast access to any APOD, simply by typing the date in?
Easy. Follow this procedure:
  • Make new bookmark of whatever page, but call it APOD
  • Go to it's properties and replace http://blah.blah/blah with following line of code:

Code: Select all

javascript:if(s=prompt("Enter date in YYMMDD format:"))location=' http://antwrp.gsfc.nasa.gov/apod/ap'+s+'.html';
No new lines/carriage returns, just a single line, please.

P.S.:With some help of Dan there may be "Insert APOD URL button" posting option, soon.

Edited: The code above was, actually, button code, not bookmark code. The fact that it wasn't pointed out for two weeks, means that nobody had tried it. View count also indicates low interest, and Dan didn't move a finger to help with a button, so I consider this idea not interesting, and un-sticky it. Mar 15, 2005