That page has an EntryTool object that can only be obtained from that page.
I can get the EntryTool object from the console. And I approached as follows to get the object in background.js.
// because it doesn't load right away
setInterval(() => {
if (EntryTool) console.log(EntryTool);
else console.log('none');
}, 1000);
And it kept outputting 'none'. I also used 'window.EntryTool' or 'document.defaultView.EntryTool' instead of 'EntryTool'(Both worked fine on console)
Still didn't work and I tried console the window.
The window object of the chrome extension and the window object obtained from the console are different.
how can i get it?
The manifest version is 3 and no API was used in the chrome extension.
Hopefully I can get it in some way I don't know.