Closed ninjamar closed 2 years ago
I can't do the extensions till this is fixed because the extension code doesn't run. If we use webview.insertCSS
and webview.executeJavaScript
, we have to bypass cors. My solution would be to make a cors proxy in node and run it when electron starts.
I'm aware of this issue, but I'm not sure what's causing it. I'll try to find a fix.
I tried to fix it but I was confused since I thought the webview was already on the page. Maybe it has to do how the variable was set (document.createElement
vs document.getElementById
)?
Pushed my fix to the v2.2.4 branch. I was just using getTitle
before the webview was ready.
I can't do the extensions till this is fixed because the extension code doesn't run. If we use
webview.insertCSS
andwebview.executeJavaScript
, we have to bypass cors. My solution would be to make a cors proxy in node and run it when electron starts.
I'll deploy a cors-anywhere instance on replit.
I can't do the extensions till this is fixed because the extension code doesn't run. If we use
webview.insertCSS
andwebview.executeJavaScript
, we have to bypass cors. My solution would be to make a cors proxy in node and run it when electron starts.I'll deploy a cors-anywhere instance on replit.
Or use allOrigins.
Already set it up. See 9pfs/cors-anywhere
Use that for right now, I got another idea for a permanent solution.
I can't do the extensions till this is fixed because the extension code doesn't run. If we use
webview.insertCSS
andwebview.executeJavaScript
, we have to bypass cors. My solution would be to make a cors proxy in node and run it when electron starts.
should it be pinged once ninetails loads?
Please discuss CORS and other unrelated topics in a different issue.
Whenever I run ninetails, the console says
Also, new tabs are blank