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
当前为
// ==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);
})();