Wednesday, August 20, 2008

More Satellite Page Hacking

Writing bookmarklets can become addictive. Here is one similar to the AMSAT hack for Heavens-Above. Go to the Heavens-Above amateur satellites page (once you've registered,) and then paste the following code in the Address bar:

javascript:(function(){var%20minElev=Number(prompt("Enter%20minimum%20elevation.","30"));var%20table4=document.getElementsByTagName('table')[4];var%20row=2;while(row<table4.rows.length){if(table4.rows[row].cells[5].innerText<=minElev){table4.deleteRow(row);}else{row=row+1;}}})()

No comments:

Post a Comment