您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add estimated time of arrival on Track And Trace page
// ==UserScript== // @name PostNL add ETA // @namespace Violentmonkey Scripts // @match https://jouw.postnl.nl/track-and-trace/* // @grant none // @version 1.0 // @author - // @description Add estimated time of arrival on Track And Trace page // @locale en_US // @license MIT // ==/UserScript== const mo = new MutationObserver((_, observer) => { let hiddenSpan = document.querySelector('.ptt-route-information__slot .visually-hidden'); if (hiddenSpan) { let eta = hiddenSpan.textContent; let span = document.querySelector('.ptt-route-information').lastElementChild; span.innerHTML += `<br>${eta}`; observer.disconnect(); } }); mo.observe(document, { childList: true, subtree: true });