MCPcopy Index your code
hub / github.com/zxlie/FeHelper / _mountFormatterShell

Function _mountFormatterShell

apps/json-format/content-script.js:793–811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

791 };
792
793 let _mountFormatterShell = () => {
794 if (document.getElementById('jfToolbar')) {
795 return;
796 }
797
798 let originalContent = document.getElementById('jfOriginalContent');
799 if (!originalContent) {
800 originalContent = document.createElement('div');
801 originalContent.id = 'jfOriginalContent';
802 originalContent.style.display = 'none';
803
804 while (document.body.firstChild) {
805 originalContent.appendChild(document.body.firstChild);
806 }
807 document.body.appendChild(originalContent);
808 }
809
810 $('body').prepend(_getHtmlFragment());
811 };
812
813 let _mountExcludedOriginToolbar = () => {
814 if (!document.getElementById('fhJsonExcludedOriginPrompt')) {

Callers 1

_formatTheSourceFunction · 0.85

Calls 2

_getHtmlFragmentFunction · 0.85
$Function · 0.50

Tested by

no test coverage detected