Pestpac - Duplicate Ticket Table

Duplicates table for the tickets and places it at the top of the page so the information is easier to get to when loading the account

当前为 2025-02-11 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        Pestpac - Duplicate Ticket Table
// @version     1.01
// @description Duplicates table for the tickets and places it at the top of the page so the information is easier to get to when loading the account
// @match       https://app.pestpac.com/*
// @author      Jamie Cruz
// @grant       none
// @license MIT
// Hi, lets see if this works
// @namespace https://greasyfork.org/users/1433767
// ==/UserScript==

(function() {
    'use strict';

    // Get the div element you want to duplicate
    var divElement = document.getElementById("OrderInfo");

     // Create a copy of the div element
    var newDivElement = divElement.cloneNode(true);

    // Get the div element above which you want to place the new div
    var targetDivElement = document.getElementById("page-header");

    // Insert the new div element above the target div element
    targetDivElement.parentNode.insertBefore(newDivElement, targetDivElement);
})();