Skip to content

Commit

Permalink
Merge pull request adam-p#318 from michaelstepner/master
Browse files Browse the repository at this point in the history
Forgot-to-Render check for Fastmail
  • Loading branch information
adam-p authored Oct 30, 2017
2 parents 5bb51a2 + d6ea26b commit 82c2900
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contributors/michaelstepner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2015-12-01

I hereby agree to the terms of the "Markdown Here Individual Contributor Assignment Agreement", with MD5 checksum 20a56153709a38a23316feb565f80756.

I furthermore declare that I am authorized and able to make this agreement and sign this declaration.

Signed,

Michael Stepner https://github.com/michaelstepner
3 changes: 3 additions & 0 deletions src/common/common-logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ function getForgotToRenderButtonSelector(elem) {
else if (elem.ownerDocument.location.host.indexOf('inbox.google.') >= 0) {
return '[role="button"][tabindex="0"][jsaction$=".send"]';
}
else if (elem.ownerDocument.location.host.indexOf('fastmail.') >= 0) {
return '[class~="s-send"]';
}

return null;
}
Expand Down
1 change: 1 addition & 0 deletions src/common/forgot-to-render-prompt.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
padding-bottom: 0.3em;
margin-top: 1.5em;
width: 5em;
text-align: center;
}
</style>

Expand Down

0 comments on commit 82c2900

Please sign in to comment.