您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Play a sound if Nintendo Switch is in stock
// ==UserScript== // @name TargetSwitch (Local Pickup) // @namespace TargetSwitch (Local Pickup) // @description Play a sound if Nintendo Switch is in stock // @version 3 // @include https://www.target.com/p/nintendo-switch-with-neon-blue-and-neon-red-joy-con/-/A-77464001* // @include https://www.target.com/p/nintendo-switch-with-gray-joy-con/-/A-77464002* // @include https://www.target.com/p/nintendo-switch-lite-yellow/-/A-77419249* // @author Xavier // ==/UserScript== //LOAD LEAVE THE BROWSER ON THIS PAGE: https://www.target.com/p/nintendo-switch-with-neon-blue-and-neon-red-joy-con/-/A-77464001 var player = document.createElement('audio'); player.src = 'https://notificationsounds.com/soundfiles/298f95e1bf9136124592c8d4825a06fc/file-sounds-1105-rush.mp3'; player.preload = 'auto'; if (!(/Temporarily out of stock/i.test (document.body.innerHTML) ) || (/In stock/i.test (document.body.innerHTML) ) || ((/Pick up/i.test (document.body.innerHTML) ) && (/Ship to store/i.test (document.body.innerHTML) )) || (/Ship it/i.test (document.body.innerHTML) ) ) { document.title = "MATCH"; player.play() } else { setTimeout(function(){ location.reload(); }, 6*1000); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址