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 提交的版本。查看 最新版本

// ==UserScript==
// @name        Pestpac - Duplicate Ticket Table
// @version     1.03
// @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
// @namespace https://gf.qytechs.cn/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);

    // Add padding to the new div element
    newDivElement.style.paddingLeft = "20px";
    newDivElement.style.paddingRight = "20px";

    // 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);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址