InboxSDK
InboxSDK copied to clipboard
Question: Denying load of */pageWorld.js. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
Getting the error Denying load of chrome-extension://ececkagaccnfmkopaiemklekhoimmgpn/pageWorld.js. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. in console of gmail.
import * as InboxSDK from '@inboxsdk/core';
InboxSDK.load(2, 'sdk_extension_284828').then((sdk) => {
console.log('here'); // it's not coming here.
sdk.Toolbars.addToolbarButtonForApp(
appToolbarButton({
onClick: () => {
/** The inboxSDK API doesn't have a way to remove the dropdown arrow */
const inboxSDKTooltip = document.querySelector('.inboxsdk__appButton_tooltip');
inboxSDKTooltip && (inboxSDKTooltip.style.display = 'none');
},
}),
);
});
I'm using latest version "@inboxsdk/core": "^0.2.20".