Comments (6)
@tconfrey I'd also like to help out. I took a look around, but I don't see a project.json. How do you pull in external dependencies? Something like https://github.com/mozilla/webextension-polyfill would be perfect to help handle cross-browser compatibility, but I don't see a natural way to bring it in.
from braintool.
Hey there. TBH I don't have a roadmap for FF. I would like to support it and don't even think its that much work but being on Chrome and Edge (+ Brave, Vivaldi etc) I have many more pressing enhancements. There's a document here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities that talks about incompatibilities. On skimming it I don't see any showstoppers but in these cases you often don't know what you'll find until you try!
LMK if you give it a try!
from braintool.
I do wanna give it a try if you can point me to a "Makefile" that creates a binary I can try to import into Firefox. We can take it from there to see if there are dependencies, interface incompatibilities etc.
from braintool.
Hi Hörmet.
There is no Makefile or similar in BrainTool. The process for submitting to the Chrome and Edge store is just to zip up the /extensions folder. During development you can 'Load Unpacked' to load a local extension from the file system. It seems like something similar can be done in FF, see the Installing section here. If you load a local version of /versions/0.9.8/extension you should be running the latest version of the extension in your browser talking to the braintool.org site to run the 0.9.8 topic manager code.
I tried it just now and the extension launches but it doesn't look like the content script (which runs inside the topic manager) is injected, or maybe it throws an error. The topic manager just hangs. I don't see errors in the extension itself and can't find how to open the content script in the debugger.
Hopefully this gets you out of the starting blocks. LMK if I can help further. BTW about 60 lines into background.js you'll see an array of 'Handlers' followed by the onMessage listener function. These pretty much define the contract that the background process needs to implement.
from braintool.
I'm trying to run it with Firefox
The first time I click the BrainTool icon, I get a startup message:
There are two parts to BrainTool:
- The Topic Manager where you manage your topics and control the browser.
- The Saver where you save pages into your topic tree.
The second time however it tries to connect to localhost:8000 and fails. Do I have to start a server before running the extension?
Also I get the following error, hopefully it's related to the previous issue:
[firefox/index.js][debug] Firefox stderr: JavaScript error: moz-extension://2b6d2f98-608f-4acd-ad09-5f89dec95a71/background.js, line 180: TypeError: chrome.windows.onBoundsChanged is undefined
from braintool.
from braintool.
Related Issues (20)
- Filing to multiple new subtrees fails HOT 2
- Pressing enter in heading field breaks org link HOT 2
- Editing entry with hybrid heading (link and text) changes heading when updated HOT 1
- [Idea] Control Chrome from emacs HOT 3
- Keyboard short improvements (and UX feedback) HOT 3
- ambiguous error message HOT 1
- Is it possible for Braintool to support store file in Dropbox? HOT 5
- Import / Export to local Org.file Keyboard shortcut
- BT does hang on first start - ungoogled/safe mode available? HOT 2
- Please recognize Fragment of the URL (after #)
- Allow links to be nested under other links HOT 1
- Some sections of UI cut off HOT 1
- Selection of child topics within BrainTool Saver does not seem to work in all cases HOT 1
- wrong visualization in topic manager
- Tabs Outliner import discards notes HOT 2
- HTML tags in bookmarked titles not sanitized, displaying as actual elements in the UI HOT 1
- (Org-mode Interop) Clobbering Properties HOT 3
- Deleting a link navigates in "browser tab" setting HOT 1
- Using the TabsOutliner converter HOT 2
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 braintool.