Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name NEW BANDAI
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description NEW BANDAI
- // @author You
- // @match http*://p-bandai.com/hk/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // Your code here...
- //if ($(":contains(預訂即將開始)").length||$(":contains(維護)").length||$(":contains(無效)").length||$(":contains(Error)").length||$(":contains(找不到頁面)").length||$(":contains(Sorry)").length){
- if (true){
- if (window.location.href.match("item")){
- window.alert("https://p-bandai.com/hk/item/N2447901001002");
- }
- if (window.location.href.match("cart")){
- window.alert("https://p-bandai.com/hk/cart");
- }
- if (window.location.href.match("login\/checkout")){
- window.alert("https://p-bandai.com/hk/login/checkout");
- } else if (window.location.href.match("login")){
- window.alert("https://p-bandai.com/hk/login");
- } else if (window.location.href.match("checkout")){
- window.alert("https://p-bandai.com/hk/checkout");
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement