Commit Graph

36 Commits

Author SHA1 Message Date
Oscar Hinton c27f421d56
Add eslint (#2405) 2022-02-24 18:14:04 +01:00
Oscar Hinton 519e4b9372
Improve null checks in content scripts (#2390) 2022-02-15 16:11:44 +01:00
Anton c6926614b8
Make vault URL check more concise (#2361) 2022-02-14 11:33:58 +10:00
Daniel James Smith 2844e06aa8
Fix regression in notificationBar (#2314) 2022-02-07 11:31:18 +01:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Daniel James Smith d96b19b9fc
Merge branch 'master' of https://github.com/bitwarden/browser into reduce-binking-of-notificationBar 2021-10-19 18:55:47 +02:00
Daniel James Smith 3bb58baf45
Add types for addLogin and changePassword runtime messages 2021-10-19 12:10:31 +02:00
Daniel James Smith a1022c8b27
Set iframe.src so that the check in closeExistingAndOpenBar actually works 2021-10-18 18:48:52 +02:00
Daniel James Smith 705c287e1a
Removed unneeded alert/info functionality from notificationBar 2021-09-30 16:50:17 +02:00
Daniel James Smith 686c7fbfff
Pass vault state (locked/unlocked) to notificationBar 2021-09-30 16:09:42 +02:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Oscar Hinton 3e79dd245b
Safari Web Extension Port from App Extension (#1531) 2021-02-03 20:36:05 +01:00
Chad Scharf 336f8f3117
Revert "Safari Web Extension Port from App Extension" 2021-01-13 17:08:33 -05:00
Hinton 9fb80823ba Remove safari only code from autofill. 2020-12-11 16:13:50 +01:00
Hinton a9c9108053 Remove more old safari app ext code 2020-12-11 15:25:35 +01:00
Kyle Spearrin 3e1e05ab4f ally on notification bar 2019-10-09 10:12:06 -04:00
Kyle Spearrin 0a2f413ab4 app path prefix for safari 2019-08-22 16:05:19 -04:00
Kyle Spearrin 80314e766f process safari tab on app messages 2019-08-20 13:06:38 -04:00
Kyle Spearrin 44cf4c6233 vhange to safari.extension.dispatchMessage 2019-08-15 20:31:23 -04:00
Kyle Spearrin 0b68b106d6 revert: use username if greater than 1 char long 2019-07-14 12:45:45 -04:00
Kyle Spearrin cf0bc12aa1 allow notification bar username of length 0 2019-07-14 11:21:34 -04:00
Kyle Spearrin 59e82fee5e only use username if greater than 1 character long 2019-04-25 10:46:52 -04:00
Kyle Spearrin 70d377ab2d improve detection of buttons in modals 2018-11-14 08:36:29 -05:00
Kyle Spearrin 3d26e8fdb7 add bitwardenFrameId checks to all content scripts 2018-09-27 11:07:17 -04:00
Kyle Spearrin 049faf1abc string[] type on passwords 2018-09-07 15:15:01 -04:00
Kyle Spearrin d2e5c9b6ea detech password changes with 2 equal passwords 2018-09-07 08:01:50 -04:00
Kyle Spearrin 4ac447b2d2 check for features being disabled 2018-08-07 09:22:06 -04:00
Kyle Spearrin b8db949ecc try to get submit button from parent modal if not in form 2018-08-01 14:23:07 -04:00
Kyle Spearrin d0cf21dd3e password change detection for 2 password forms 2018-08-01 12:25:05 -04:00
Kyle Spearrin 4076247908 option to disable change password notification 2018-07-31 23:48:11 -04:00
Kyle Spearrin cf57eadd1d detect and update password changes 2018-07-31 23:24:11 -04:00
Boris Aranovich 58867a5afe Precaution against iframe creating blank space on the page (#637)
Since the notification bar is added inside of the active page, page specific styles may override how the iframe is rendered in an undesirable way.

I came across this when logging in an internal corporate web-app we're using which for some reason has a global css setting of `iframe { min-height: 349px }` because nobody anticipated that 3rd party DOM elements would be injected to the page.

This modification should have no impact other than negating these global styles.
2018-06-05 10:52:47 -04:00
Kyle Spearrin 8f51c278ef dont load notification bar in iframe on safari 2018-05-12 10:59:52 -04:00
Kyle Spearrin 193de9fcdf ignore certain inline elements in MutationObserver 2018-05-11 14:50:44 -04:00
Kyle Spearrin 898fa7a095 convert some content scripts to ts 2018-05-09 14:00:13 -04:00