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

Function _mountExcludedOriginToolbar

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

Source from the content-addressed store, hash-verified

811 };
812
813 let _mountExcludedOriginToolbar = () => {
814 if (!document.getElementById('fhJsonExcludedOriginPrompt')) {
815 $('body').prepend(_getExcludedOriginToolbarFragment());
816 }
817
818 _bindExcludedOriginPromptBehavior();
819 _setExcludeSiteButtonState(true);
820 $('#fhJsonExcludeSite').off('click.fhOmni').on('click.fhOmni', e => {
821 e.preventDefault();
822 _toggleCurrentOriginExclusion();
823 });
824 };
825
826 let _createSettingPanel = () => {
827 let html = `<div id="jfSettingPanel" class="mod-setting-panel">

Callers 1

_formatFunction · 0.85

Calls 5

$Function · 0.50

Tested by

no test coverage detected