Returns the GM API factory JavaScript code as a string for injection into the page context.
The code defines window.GM({ data_key, meta }) factory that provides
Greasemonkey-compatible API (GM_info, GM_getValue, GM_setValue, GM_xmlhttpRequest, etc.).
Bridge transport is abstracted via window.__iitc_gm_bridge__ which is set up
by the host app's bridge adapter code concatenated before this factory.
Returns the GM API factory JavaScript code as a string for injection into the page context.
The code defines
window.GM({ data_key, meta })factory that provides Greasemonkey-compatible API (GM_info, GM_getValue, GM_setValue, GM_xmlhttpRequest, etc.).Bridge transport is abstracted via
window.__iitc_gm_bridge__which is set up by the host app's bridge adapter code concatenated before this factory.