I have a nwjs project in which I put a webview to visit third-party websites.
the following figure shows a custom method in a third-party website:
chrome.tabs.executescript:
js:location.href="abc.com"
what is the problem with this? Is it true that chrome does not allow non-local methods on the site to be called? Please let the gods know