您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Estimate some travel times
// ==UserScript== // @name TORN Travel Hub - Standard Airfare ETA Adder // @namespace https://www.torn.com/factions.php?step=profile&ID=22887 // @version 1 // @description Estimate some travel times // @author Ayelis // @match https://doctorn.rocks/travel-hub // @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js // ==/UserScript== $(document).ready(function(){ window.setInterval(function(){ $('.mexico').parent().text('Mexico (26m)'); $('.cayman-islands').parent().text('Caymans (35m)'); $('.canada').parent().text('Canada (41m)'); $('.hawaii').parent().text('Hawaii (2h14)'); $('.uk').parent().text('UK (2h39)'); $('.argentina').parent().text('Argentina (2h47)'); $('.switzerland').parent().text('Switzerland (2h55)'); $('.japan').parent().text('Japan (3h45)'); $('.china').parent().text('China (4h02)'); $('.uae').parent().text('UAE (4h31)'); $('.south-africa').parent().text('South Africa (4h57)'); }, 100); });