Created
March 4, 2021 08:41
-
-
Save rommmka/e0cd0f646c77d402f5c12298005832be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://argentotheme.com/index.php/mainframe2017/helpmate_ticket/edit/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var allCodeElements = document.getElementsByTagName('code'), | |
length = allCodeElements.length, | |
element = null; | |
for (var i = 0; i < length; i++) { | |
element = allCodeElements[i]; | |
element.innerText = element.innerText.split(", Customer Support")[0]; | |
element.innerText = element.innerText.split("From: Customer Support")[0]; | |
element.innerText = element.innerText.split("Customer Support")[0]; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment