Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

تلاش سپورٹ

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

مزید سیکھیں

Just one click away from Wayback Machine's archives of current page (Request JavaScript codes for bookmarklet)

  • 2 جواب دیں
  • 2 میں یہ مسئلہ ہے
  • 1 دیکھیں
  • آخری جواب بذریعہ drkh

more options

I wish I can click on a bookmarklet on the Bookmarks bar to display the Wayback Machine's search results for the current page. In other words, I wish there can be a bookmarklet that opens the following URL:

http://wayback.archive.org/web/*/URL_of_current_page

I know I can drag a bookmarklet to the Bookmarks bar, and then, from its righ-click Properties menu, change the Location text to the JavaScript codes which opens the above Wayback Machine's URL. I just know nothing about programming.

So, could someone assist me with the needed JavaScript?


Thanks.

PS: I know there are some add-ons that deals with WaybackMachine, such as "Resurrect Pages" or "Wayback Machine 20100602". But I have not found one that does what I want.

I wish I can click on a bookmarklet on the Bookmarks bar to display the Wayback Machine's search results for the current page. In other words, I wish there can be a bookmarklet that opens the following URL: http://wayback.archive.org/web/*/'''''URL_of_current_page''''' I know I can drag a bookmarklet to the Bookmarks bar, and then, from its righ-click Properties menu, change the Location text to the JavaScript codes which opens the above Wayback Machine's URL. I just know nothing about programming. So, could someone assist me with the needed JavaScript? Thanks. PS: I know there are some add-ons that deals with WaybackMachine, such as "Resurrect Pages" or "Wayback Machine 20100602". But I have not found one that does what I want.

NoahSUMO کی جانب سے میں ترمیمکی گئ

منتخب شدہ حل

javascript:{var%20url=location.href;void(window.open("http://wayback.archive.org/web/*/"+url));}
اس جواب کو سیاق و سباق میں پڑھیں 👍 0

تمام جوابات (2)

more options

منتخب شدہ حل

javascript:{var%20url=location.href;void(window.open("http://wayback.archive.org/web/*/"+url));}
more options

Thank you very much.

I hide the label text of this bookmarklet and use a Wayback Machine favicon for it. Now I have an icon on the Bookmarks bar, a click on which takes me to the old vesions of the current web page.

I will drink a glass of champaigne for that.

The Wayback Machine favicon I use is here:

http://www.archive.org/download/waybackfavicon32/wayback_favicon32.ico

drkh کی جانب سے میں ترمیمکی گئ