您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Finds the shortest routes between two wikipedia pages and marks the corresponding links
This script finds the shortest path between two articles on wikipedia.org using only links on Wikipedia articles. These links are marked so you can follow them.
Usage: Press 'r' or use the 'route' menu command to start a route from the current page. You should get a prompt that allows you to specify the destination. After that the script will mark the links to follow in 3 different colors: black, gray and green. Black links take you directly to the next page, gray links go via a redirect and green links occur when the links on a page are different than what the extension expected.
You can press 'k' or use the 'link' menu command to focus one of the links.
When you have reached the destination the script will stop marking links until you start another route.
In order to find the shortest path it uses the API provided by wikiroute.revig.nl Currently this API only works for en.wikipedia.org and nl.wikipedia.org. There is partial functionality for the mobile versions, although it doesn't work as well because the mobile version misses some links that are present on the desktop version.