Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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于修改