Skip to content

Commit

Permalink
Merge pull request #103 from defmethodinc/add-outlook-support
Browse files Browse the repository at this point in the history
Add outlook.com support
  • Loading branch information
sbrudz committed Dec 22, 2020
2 parents 390aee2 + e0af96f commit 4fc4366
Show file tree
Hide file tree
Showing 8 changed files with 3,341 additions and 3,924 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
![](https://github.com/defmethodinc/just-not-sorry/workflows/Node.js%20CI/badge.svg) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

# Just Not Sorry -- the Gmail Plug-in
# Just Not Sorry -- the Chrome extension

Inspired by the writings of Tara Mohr and others, this Chrome Extension for Gmail will warn you when you use phrases that might be undermining your message.
Inspired by the writings of Tara Mohr and others, this Chrome Extension for Gmail and Outlook.com will warn you when you use phrases that might be undermining your message.

The Chrome Extension can be found at https://chrome.google.com/webstore/detail/just-not-sorry-the-gmail/fmegmibednnlgojepmidhlhpjbppmlci?hl=en-US

Expand Down Expand Up @@ -42,7 +42,7 @@ You can also load the extension manually in Chrome using the following steps:

- Run `npm run build` in the project root to build the extension
- Follow the [instructions on the Chrome docs](https://developer.chrome.com/extensions/getstarted#unpacked) to load the unpacked extension using the `build` subdirectory
- Go to Gmail and open a compose window
- Go to Gmail (or outlook.com) and open a compose window
- If you make changes to the code, click the Reload link on the `chrome://extensions` page and then reload your Gmail tab to pick up the changes.
- Errors will show up in the console

Expand Down
3 changes: 3 additions & 0 deletions background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ chrome.runtime.onInstalled.addListener(function () {
new chrome.declarativeContent.PageStateMatcher({
pageUrl: { urlContains: 'inbox.google.com' },
}),
new chrome.declarativeContent.PageStateMatcher({
pageUrl: { urlContains: 'outlook.live.com' },
}),
],
actions: [new chrome.declarativeContent.ShowPageAction()],
},
Expand Down
10 changes: 7 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
{
"manifest_version": 2,
"name": "Just Not Sorry -- the Gmail Plug-in",
"name": "Just Not Sorry -- the Chrome extension",
"short_name": "JustNotSorry",
"author": "Steve Brudz, Manish Kakwani, Tami Reiss, and Eric Tillberg of Def Method",
"version": "2.0.0.2",
"version_name": "2.0.0-beta.2",
"description": "A Gmail Plug-in that warns you when you write emails using words which undermine your message",
"description": "A Chrome extension that warns you when you write emails using words which undermine your message",
"icons": {
"16": "img/JustNotSorry-16.png",
"48": "img/JustNotSorry-48.png",
"128": "img/JustNotSorry-128.png"
},
"content_scripts": [
{
"matches": ["https://mail.google.com/*", "https://inbox.google.com/*"],
"matches": [
"https://mail.google.com/*",
"https://inbox.google.com/*",
"https://outlook.live.com/*"
],
"css": ["./just-not-sorry.css"],
"js": ["bundle.js"]
}
Expand Down
Loading

0 comments on commit 4fc4366

Please sign in to comment.