Comments (3)
Hi @Standard8 ,
I know nothing about thunderbird development, so it's hard for me to answer.
My first impression would be to keep them separate: my main argument would be: single responsibility principle.
But I would be open to add some thunderbird features to this repo if you can provide more information about the type of features you would like to add to this repo. Maybe if you can tell me about thunderbird profile creation: are the steps similar to the firefox profile creation? Or maybe they are the same?
Thank you!
from firefox-profile-js.
Thunderbird uses Gecko (the backend of Firefox) - and hence has pretty much the same profile mechanism. The main differences happen to be slightly different locations for when there profiles are stored on the user's disk.
Some of the default prefs that we might want to set are also likely to be different.
For what I'm doing, I mainly need the profile_finder.js - though obviously set up for Thunderbird.
The simple diff there is something like:
diff --git a/lib/profile_finder.js b/lib/profile_finder.js
index 1a9e838..b879832 100644
--- a/lib/profile_finder.js
+++ b/lib/profile_finder.js
@@ -12,13 +12,13 @@ function locateUserDirectory(platform) {
var userDir;
switch (platform || os.platform()) {
case 'darwin':
- userDir = path.join(process.env.HOME, '/Library/Application Support/Firefox');
+ userDir = path.join(process.env.HOME, '/Library/Thunderbird');
break;
case 'linux':
- userDir = path.join(process.env.HOME, '/.mozilla/firefox');
+ userDir = path.join(process.env.HOME, '/.mozilla/thunderbird');
break;
case 'win32':
- userDir = path.join(process.env.APPDATA, '/Mozilla/Firefox');
+ userDir = path.join(process.env.APPDATA, '/Mozilla/Thunderbird');
break;
}
return userDir;
(I've not confirmed the Linux/Windows paths are correct yet).
from firefox-profile-js.
I see. Feel free to open a PR!
I am curious: are you also interstered in getting a base64 encoded profile? Is there a way to run selenium with thunderbird?
.
from firefox-profile-js.
Related Issues (20)
- Usage with Protractor HOT 1
- Why overriding browser.link.open_newwindow? HOT 5
- Outdated `archiver` uses tar-stream#bl package with security warning HOT 13
- jetpack-id usage HOT 4
- Install temporary addon HOT 7
- fs-extra doesn't seem to be exporting an rmSync method as native nodejs fs module does HOT 4
- `setPreference` doesn't escape quotes in values
- Firefox-profile prevents closing application on Ctrl+C HOT 6
- Your connection is not secure HOT 2
- DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead
- Deprecation warning because of `archiver.bulk()` HOT 1
- What is the difference with selenium-webdriver/firefox HOT 5
- Error: profile.getTemplateDir is not a function when set firefox profile in Protractor HOT 8
- No error-handling required? HOT 3
- Getting an error - getTemplateDir() is not a function HOT 5
- Error importing firefox profile HOT 2
- Fail to set the firefox profile HOT 5
- Update home link HOT 1
- Update adm-zip to secure version 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 firefox-profile-js.