최근 검색
최근 검색 없음

Benjamin Dietrich
가입한 날짜: 2024년 8월 09일
·
마지막 활동: 2024년 8월 09일
팔로잉
0
팔로워
0
총 활동 수
2
투표 수
0
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Benjamin Dietrich
Benjamin Dietrich님이 에 댓글을 입력함
커뮤니티 댓글 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();
}
}
});
})();
댓글 보기 · 2024년 8월 09일에 편집됨 · Benjamin Dietrich
0
팔로워
0
투표 수
0
댓글