Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Benjamin Dietrich
Beigetreten 09. Aug. 2024
·
Letzte Aktivität 09. Aug. 2024
Folge ich
0
Follower
0
Gesamtaktivitäten
2
Stimmen
0
Abonnement
1
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Benjamin Dietrich
Benjamin Dietrich hat einen Kommentar hinterlassen
Community-Kommentar Feedback - Ticketing system (Support)
You can use the following tampermonkey script:
// ==UserScript==
// @name Remove Internal Note Comments
// @namespace https://*.zendesk.com/
// @version 1.0
// @description Removes any comments that are internal notes on Zendesk ticket print pages
// @author Benjamin Dietrich
// @match https://*.zendesk.com/tickets/*/print
// @icon https://d1eipm3vz40hy0.cloudfront.net/images/logos/favicons/favicon.ico
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Select all comment divs
const comments = document.querySelectorAll('div.comment');
comments.forEach(comment => {
// Check if this comment contains a div.mast with a span.internal_note
const mast = comment.querySelector('div.mast');
if (mast) {
const internalNote = mast.querySelector('span.internal_note');
if (internalNote && internalNote.textContent.trim() === 'Internal note') {
// If it does, remove the entire comment div
comment.remove();
}
}
});
})();
Kommentar anzeigen · Bearbeitet 09. Aug. 2024 · Benjamin Dietrich
0
Follower
0
Stimmen
0
Kommentare