Comments (64)
bump
So? Life is bumpy!
from ninetails.
You have node 17?? I thought 16 was latest! Lol
You put ./extensions.js
instead of ./js/extensions.js
from ninetails.
I honestly don't know how to do this. You can try your hand at it if you want.
from ninetails.
I would love to have Scratch Addons on ninetails.
from ninetails.
wait so we can mention sa?
from ninetails.
wait so we can mention sa?
I don't think you're supposed to, but I don't care if you do.
from ninetails.
WebExtensions would be kind of hard to implement though.
from ninetails.
We could start small with something like userscripts.
from ninetails.
Yeah, that would be a good idea. Just something that can be run as normal JS code like it was in the webview. Or maybe give some permission to access Electron API?
from ninetails.
How about we can do some script injecting then work out way up to the electron api.
from ninetails.
I'll try to figure out a way to inject scripts inside a page.
from ninetails.
Okay !
from ninetails.
https://github.com/ninjamar/ninetails
I added the base of an extension loader (it can load from urls) but I am not good at the ui stuff.
from ninetails.
@MystPi could you help with the ui on my fork?
from ninetails.
I added userstyles and manifests.
https://github.com/ninjamar/ninetails/blob/main/src/loader.js#L17
https://github.com/ninjamar/ninetails/blob/main/src/loader.js#L25
^^ Sample manifests
from ninetails.
Nice! Please make sure you're using 2 spaces for tabs, instead of 4.
from ninetails.
MystPi could you help with the ui on my fork?
What type of UI do you want for it?
from ninetails.
There are actually pre-built functions for injecting styles into a webview. You should probably use it instead, as you can also remove the injected style.
webview.insertCSS
and webview.removeInsertedCSS
: https://www.electronjs.org/docs/latest/api/webview-tag#webviewinsertcsscss
from ninetails.
MystPi could you help with the ui on my fork?
What type of UI do you want for it?
Could you add a userscript/userstyle settings page so we can load them by url?
from ninetails.
There are actually pre-built functions for injecting styles into a webview. You should probably use it instead, as you can also remove the injected style.
webview.insertCSS
andwebview.removeInsertedCSS
: https://www.electronjs.org/docs/latest/api/webview-tag#webviewinsertcsscss
What about scripts? Should I use webview.executeJavaScript
?
from ninetails.
There are actually pre-built functions for injecting styles into a webview. You should probably use it instead, as you can also remove the injected style.
webview.insertCSS
andwebview.removeInsertedCSS
: https://www.electronjs.org/docs/latest/api/webview-tag#webviewinsertcsscssWhat about scripts? Should I use
webview.executeJavaScript
?
I don't really know. Possibly?
from ninetails.
There are actually pre-built functions for injecting styles into a webview. You should probably use it instead, as you can also remove the injected style.
webview.insertCSS
andwebview.removeInsertedCSS
: https://www.electronjs.org/docs/latest/api/webview-tag#webviewinsertcsscssWhat about scripts? Should I use
webview.executeJavaScript
?I don't really know. Possibly?
I'll mess around with it.
from ninetails.
Should https be used by default? I'm using #66 (comment)
Should we host the proxy on startup locally?
from ninetails.
Should https be used by default? I'm using #66 (comment) Should we host the proxy on startup locally?
Replit only allows HTTPS.
from ninetails.
What do you mean by https by default?
from ninetails.
Maybr an enbedded ad/tracker blocker likr brave
from ninetails.
Maybr an enbedded ad/tracker blocker likr brave
We should have a userscript/userstyle library
from ninetails.
Should https be used by default? I'm using #66 (comment) Should we host the proxy on startup locally?
If you enable nodeIntegration and make sure you're careful with user data, you could use node-fetch
.
from ninetails.
You can inject CSS and JS into the webview.
from ninetails.
Unfortunately you can't get access to the DOM
from ninetails.
Unfortunately you can't get access to the DOM
😭
Yes, you can. Just figure out how to run code in the renderer process as the webpage.
from ninetails.
Oh right, you can get access to the DOM.
from ninetails.
Oh right, you can get access to the DOM.
Yep!!!
from ninetails.
Should https be used by default? I'm using #66 (comment) Should we host the proxy on startup locally?
If you enable nodeIntegration and make sure you're careful with user data, you could use
node-fetch
. BTW, hover your mouse over the node-fetch link.
I don't like the idea of passing untrusted data
from ninetails.
Can someone help me by testing this branch? it doesn't seem to work. https://github.com/ninjamar/ninetails/tree/broken
I get some error about GUEST_VIEW_MANAGER_CALL
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
Not sure, and haven't even installed NodeJS yet.
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
Not sure, and haven't even installed NodeJS yet.
can you install it ? - i'm using nvm to manage versions
from ninetails.
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
Not sure, and haven't even installed NodeJS yet.
can you install it ?
Fine.
from ninetails.
That looks like it should work while I was browsing the code.
from ninetails.
That looks like it should work while I was browsing the code.
can you check on your computer?
i'm running popos 21.04 , node 17.3.0
from ninetails.
That looks like it should work while I was browsing the code.
can you check on your computer? i'm running popos 21.04 , node 17.3.0
Just installed nodejs 16.x
from ninetails.
You have node 17?? I thought 16 was latest! Lol You put
./extensions.js
instead of./js/extensions.js
i copy/pasted the files from my computer but i hand did index.html - i fixed it but this wasn't the error i was talking about see the commit comment i made - https://github.com/ninjamar/ninetails/commit/b3f147d4f20dac54173e6961efea993738268fdc#commitcomment-62856323
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
Done installing, looking at it
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
Done installing, looking at it
tnx
from ninetails.
@hello-smile6 @webdev03 can someone help ^^
Done installing, looking at it
tnx
Gonna see if I can post from Firefox in a Ubuntu 10 v86 VM first.
from ninetails.
I'm working on an implementation in Catalyst right now.
from ninetails.
I'm working on an implementation in Catalyst right now.
Nice! Could you by chance work on an Electron v86 client once you get that done? https://copy.sh/v86/
from ninetails.
@hello-smile6 status?
from ninetails.
I think that Electron is working on native extensions support, but userscripts we could implement.
from ninetails.
I think that Electron is working on native extensions support, but userscripts we could implement.
ok - can u review?
from ninetails.
@MystPi can u help?
from ninetails.
@MystPi can u help?
Sure, what do you need help with?
from ninetails.
@MystPi can u help?
Sure, what do you need help with?
from ninetails.
Okay, so first you should fetch upstream because you're 40 commits behind. Also you have a syntax error and a reference error:
from ninetails.
bump
from ninetails.
I just found this: https://www.electronjs.org/docs/latest/api/extensions Maybe it will help.
from ninetails.
I just found this: https://www.electronjs.org/docs/latest/api/extensions Maybe it will help.
Okay. Sorry if I'm not responding, I'm trying to run an HTTP server on v86 and use ngrok so I can send an HTTP request to it, maybe even dOS a VM, from my browser.
from ninetails.
I just found this: https://www.electronjs.org/docs/latest/api/extensions Maybe it will help.
Would that be able to run in webview?
from ninetails.
I just found this: https://www.electronjs.org/docs/latest/api/extensions Maybe it will help.
Would that be able to run in webview?
Not sure. Any ideas for ngrok on v86?
from ninetails.
I just found this: https://www.electronjs.org/docs/latest/api/extensions Maybe it will help.
Would that be able to run in webview?
That would work
from ninetails.
I don't have time to do this anymore
from ninetails.
Okay.
from ninetails.
Related Issues (20)
- From now on, version branches are deprecated
- Please, we need updates HOT 1
- Downloads manager HOT 7
- Dark Mode HOT 2
- AppImage please? HOT 1
- AppImage please? HOT 1
- Better settings implementation HOT 1
- Add ninetails.cf as the homepage HOT 1
- Move ninetails.cf to github pages HOT 5
- Enforce Dark Mode on Pages HOT 8
- [discuss] Possible move to jQuery. HOT 8
- Webview Dom Error HOT 10
- Bookmarks!!! HOT 7
- Use ionic vue so you can support mobile HOT 6
- v2.2.4 files on 2.2.5 release HOT 2
- Auto-Updating HOT 1
- Chrome using the js api window.open does not work HOT 1
- HOT 1
- RE: @hello-smile6 status? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ninetails.