src/BackgroundHandler.js
/**
     * Check if a script with a specific id associated to a specific tab has made a connection to the background page.
     * 
     * @param {string} scriptId 
     * @param {string} tabId 
     * @returns Whether the script is connected
     */
Check if a script with a specific id associated to a specific tab has made a connection to the background page.

@param {string} scriptId
@param {string} tabId
@returns Whether the script is connected
Check if a script with a specific id associated to a specific tab has made a connection to the background page . @param { string } scriptId @param { string } tabId @returns Whether the script is connected
hasConnectedScript(scriptId, tabId) {
        let specificScriptId = scriptId;
        if (tabId) specificScriptId += `-${tabId}`;
        return this.scriptConnections.has(specificScriptId);
    }
hasConnectedScript ( scriptId , tabId ) { let specificScriptId = scriptId ; if ( tabId ) specificScriptId += ` ${ tabId } ` ; return this . scriptConnections . has ( specificScriptId ) ; }
Check if a script with a specific id associated to a specific tab has made a connection to the background page.
Check if a script with a specific id associated to a specific tab has made a connection to the background page .