Comments (3)
As someone new to this toolkit, and WebExtension development generally, I think I understand where @jameschensmith is coming from -- I encountered the same issue myself.
The README for this project instructs the user to begin development by running webextension-toolbox dev <vendor>
, e.g. webextension-toolbox dev chrome
.
It's not entirely clear where to go from here.
Users such as myself will likely look to the terminal output, which includes:
webpack-webextension-plugin listens on ws://localhost:35729
and may then reasonably conclude that they need to visit either ws://localhost:35729
or localhost:35729
, neither of which will work.
If I understand correctly, the 'actual' dev workflow after running webextension-toolbox dev
is to install the compiled extension into the correct browser. For me, this meant opening Chrome, navigating to chrome://extensions/
, clicking "Load unpacked", then selecting the dist/chrome
project directory.
It'd be nice if any of the above info were included in the README.
from webextension-toolbox.
Hi @james-r-smith,
My apologies for the late reply. Happy new year to you!
I'm not sure what would you like to achieve with your extension. If I suspect correctly, you would like to see HTML page after you load your extension.
While that is certainly possible, WebExtensions are a little bit different from a normal Web application: you can extend the capabilities of your browser and/or the pages you visit. For example, I'm using Refined GitHub to enhance my experience on github.com. The other example would be Grammary, which checks my grammar mistakes while I'm typing this text to the text box.
WebExtension Toolbox helps with the development to extensions which are similar to the examples above. If you use the dev
mode, Load Temporary Add-on...
in Firefox, and you develop an extension for github.com, you don't need to refresh github.com manually every time you make a change in your extension code, because WebExtension Toolbox will do that for you.
Additionally, if you would like to develop a cross-browser extension - that works in Chrome, Firefox, Opera - you don't really need to worry about that as it includes the necessary library to polyfill the differences between those browsers.
For more information, I would recommend you to check out the Browser Extensions documentation on MDN. If you have any further question I can help with, please, let me know, and I will try to answer them.
Kind regards,
@balcsida
from webextension-toolbox.
Hi @james-r-smith,
I was wondering if you have had time to check my previous comment.
If it is not a problem for you, I will go ahead and close this issue now.
Please let me know if you have any further question regarding this matter.
Kind regards,
@balcsida
from webextension-toolbox.
Related Issues (20)
- "TypeError: this.readFile is not a function" when running with v4.0.2 HOT 8
- `@babel/preset-env` Ignores Project Browserslist Config for `targets` HOT 1
- Doesn't build when using webextension-toolbox-config.js HOT 9
- Doesn't build when there is no /app/_locales/**/*.json
- Localization keys are not replaced with strings HOT 2
- Maintainers or Abandoned? HOT 8
- --autoReload flag not working properly HOT 1
- v5 - Future HOT 12
- Error: listen EADDRINUSE: address already in use :::35729 HOT 1
- Setup with additional webextension-toolbox.config.js config seems to fail on windows 11 HOT 10
- Incognito manifest key "split" is incorrectly blocked by the web extension toolbox at the build time. HOT 2
- digital envelope routines::unsupported HOT 2
- web_accessible_resources ignore js file HOT 2
- Error: invalid relative path: ../../packages/webext.v0.0.1.chrome.zip when trying to build extension HOT 6
- Reloader connection fails with manifest V3 HOT 7
- Chalk is an implicit dependency (should be explicit) HOT 1
- Request for Node.js 20 Support HOT 2
- Use Browserslist Configuration for Vendor Versions HOT 1
- How to set default config location HOT 1
- DEV environment is not properly set HOT 1
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 webextension-toolbox.