InboxSDK library - scripting permission question

100 views
Skip to first unread message

glr...@gmail.com

unread,
Jan 30, 2023, 10:27:43 AM1/30/23
to InboxSDK
Hello everyone, 

I have successfully migrated our code to use the new inboxsdk library/package. In doing so, I realized that I had to add the following code to make it work : 

            chrome.scripting.executeScript({
              target: { tabId: sender.tab.id },
              world: 'MAIN',
              files: ['./src/pageWorld.js'],
            })


Because of the above code, I had to add the scripting permission in our MV3 manifest.

Am I doing this right? Or is there a way for me to avoid having to add those codes and the scripting permission as well. 

Thank you all in advance. 

GovZ

Reply all
Reply to author
Forward
0 new messages