An experimental add-on to email a list of all your tabs
Перейти к файлу
Ian Bicking 53939ac274 Fix lint errors 2018-07-18 15:16:46 -05:00
.circleci add circleci config 2018-07-13 15:09:23 -04:00
addon Fix lint errors 2018-07-18 15:16:46 -05:00
docs add success events 2018-07-13 10:09:01 -04:00
.babelrc Initial work 2018-04-10 18:00:18 -05:00
.eslintignore Initial work 2018-04-10 18:00:18 -05:00
.eslintrc.js Fix #4, add jsx a11y linter 2018-06-08 14:38:04 -05:00
.gitignore Fix #62, add package-lock.json 2018-07-12 14:17:35 -05:00
.stylelintrc Style improvements, checkbox usage improvements, use a popup, fix lint issues 2018-04-11 14:44:37 -05:00
LICENSE Initial commit 2018-04-10 16:11:24 -05:00
README.md Add some updates to the README 2018-07-12 15:15:07 -05:00
package-lock.json Fix #83, add a reader mode template 2018-07-18 14:58:18 -05:00
package.json Fix #83, add a reader mode template 2018-07-18 14:58:18 -05:00

README.md

Email Tabs

This is an experimental extension for Firefox that composes a Gmail email with information from a bunch of tabs in it.

Note that only Gmail is supported, because there's no general standard for composing HTML emails.

Installing

Install add-on with this link

That will install the latest version of the add-on built from the production branch.

Using the add-on

Once you've installed the add-on you'll see an icon in your toolbar: icon

If you click on the icon you'll be able to select one or more of your open tabs. After you've selected tabs, an email composition tab will open up and we'll put in links to each of the pages, along with the page title, and a screenshot. If you have selected some text then that text selection will also be included.

Developing

To install and test out:

git clone https://github.com/mozilla/email-tabs.git
cd email-tabs
npm install
npm start

You must login to gmail.com before sending an email.

If you are developing, note that the .jsx file will not trigger a reload on its own. To enable this reloading, in a separate terminal window run:

npm run watch

Code layout

The popup UI is in addon/popup.jsx.

The email templates are in addon/emailTemplates.jsx.

The content script addon/capture-data.js is loaded into any tabs being sent, and captures the screenshot and some metadata.

The content script addon/set-html-mail.js is loaded into the Gmail compose window, and effectively pastes in the HTML.

Overall things are managed with the addon/background.js script.

Contact & Contribution

You can email us at team-email-tabs@mozilla.com.

IRC is the best way to communicate, via #testpilot on irc.mozilla.org (you can use this link for chat access via the web if you do not otherwise use IRC). You might want to ping ianbicking or JSON_voorhees.

We label some of our bugs with good first issue.