Slide 1

Slide 1 text

AGGRESSIVE WEB APPS

Slide 2

Slide 2 text

Ketan Joshi @KetanJ0 Dear website, - I don't want you to post notifications to my desktop - I don't want to subscribe to your thing via a popup - I don't want you to know my location - Please stop autoplaying that video - I am angry and sad now 7:17 PM - May 13, 2018 31.2K 8,643 people are talking about this @philnash

Slide 3

Slide 3 text

Aggressive Web Apps Good push noti cations Permissions @philnash

Slide 4

Slide 4 text

Phil Nash @philnash http:/ /philna.sh [email protected]

Slide 5

Slide 5 text

PROGRESSIVE WEB APPS @philnash

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Service Worker Support ✅ ✅ ✅ ✅ ✅ @philnash

Slide 8

Slide 8 text

PUSH NOTIFICATIONS @philnash

Slide 9

Slide 9 text

Push Noti cation Support ✅ ✅ ✅ ❌ ✅ @philnash

Slide 10

Slide 10 text

@philnash

Slide 11

Slide 11 text

@philnash

Slide 12

Slide 12 text

GOOD PUSH NOTIFICATIONS

Slide 13

Slide 13 text

I don't want you to post noti cations to my desktop @philnash

Slide 14

Slide 14 text

I DON'T BELIEVE THIS @philnash

Slide 15

Slide 15 text

PUSH NOTIFICATIONS ARE INCREDIBLY USEFUL @philnash

Slide 16

Slide 16 text

Side note I believe that you don't want push noti cations @philnash

Slide 17

Slide 17 text

Good noti cations • Appointment reminders • Chat alerts • ETA alerts • Event updates @philnash

Slide 18

Slide 18 text

TIMELY, ACTIONABLE AND PERSONAL @philnash

Slide 19

Slide 19 text

TIMELY @philnash

Slide 20

Slide 20 text

Timely noti cations "Daisy just sent you a message" "Your car is here" "You can check in now" @philnash

Slide 21

Slide 21 text

@philnash

Slide 22

Slide 22 text

@philnash

Slide 23

Slide 23 text

TIME OF DAY, TIME ZONE, NUMBER OF NOTIFICATIONS @philnash

Slide 24

Slide 24 text

ACTIONABLE @philnash

Slide 25

Slide 25 text

Actionable noti cations "Daisy just sent you a message" "Your car is here" "You can check in now" @philnash

Slide 26

Slide 26 text

PERSONAL @philnash

Slide 27

Slide 27 text

Personal noti cations "Daisy just sent you a message" "Your car is here" "You can check in now" @philnash

Slide 28

Slide 28 text

KNOW WHEN TO BREAK THE RULES @philnash

Slide 29

Slide 29 text

@philnash

Slide 30

Slide 30 text

LET THEM OPT OUT WITHIN YOUR APPLICATION @philnash

Slide 31

Slide 31 text

@philnash

Slide 32

Slide 32 text

THE ALTERNATIVE? @philnash

Slide 33

Slide 33 text

@philnash

Slide 34

Slide 34 text

@philnash

Slide 35

Slide 35 text

@philnash

Slide 36

Slide 36 text

WE NEED TO TALK ABOUT... @philnash

Slide 37

Slide 37 text

PERMISSIONS

Slide 38

Slide 38 text

Permissions • Push noti cations • Geolocation • Media Devices • Bluetooth, MIDI, WebUSB... @philnash

Slide 39

Slide 39 text

@philnash

Slide 40

Slide 40 text

@philnash

Slide 41

Slide 41 text

@philnash

Slide 42

Slide 42 text

@philnash

Slide 43

Slide 43 text

@philnash

Slide 44

Slide 44 text

NO CONTEXT @philnash

Slide 45

Slide 45 text

STOP THIS!

Slide 46

Slide 46 text

@philnash

Slide 47

Slide 47 text

Firefox @firefox You know who loves push notifications? . . . yeah . . . We couldn't think of anyone either so we made it so you can deny sites from even asking if you want to receive them: techcrunch.com/2018/03/13/fir… 8:04 AM - May 23, 2018 5,373 1,272 people are talking about this Firefox can now block those annoying notification requests Virtually every random site you go to these days wants you to su… techcrunch.com @philnash

Slide 48

Slide 48 text

PLEASE DO NOT DEMAND PERMISSIONS ON PAGE LOAD @philnash

Slide 49

Slide 49 text

PERMISSIONS WILL BECOME THE NEW POPUPS @philnash

Slide 50

Slide 50 text

WHEN USERS DISMISS PERMISSIONS BY DEFAULT THE WEB PLATFORM LOSES ITS POWER @philnash

Slide 51

Slide 51 text

@philnash

Slide 52

Slide 52 text

PLEASE DO NOT DEMAND PERMISSIONS ON PAGE LOAD @philnash

Slide 53

Slide 53 text

SUGGESTIONS

Slide 54

Slide 54 text

WAIT @philnash

Slide 55

Slide 55 text

@philnash

Slide 56

Slide 56 text

@philnash

Slide 57

Slide 57 text

UNLESS IT'S OBVIOUS @philnash

Slide 58

Slide 58 text

@philnash

Slide 59

Slide 59 text

FOR THE FUTURE @philnash

Slide 60

Slide 60 text

TOGETHER WE CAN FIX THIS! @philnash

Slide 61

Slide 61 text

BROWSERS SHOULD ENFORCE A USER INTERACTION BEFORE ASKING FOR PERMISSION @philnash

Slide 62

Slide 62 text

GET INVOLVED @philnash

Slide 63

Slide 63 text

Get involved https:/ /github.com/WICG/interventions/issues/49 @philnash

Slide 64

Slide 64 text

Get involved Permissions API https:/ /w3c.github.io/permissions @philnash

Slide 65

Slide 65 text

CONCLUSION

Slide 66

Slide 66 text

PUSH NOTIFICATIONS ARE AWESOME FOR THE RIGHT THINGS @philnash

Slide 67

Slide 67 text

DO NOT DEMAND PERMISSIONS ON PAGE LOAD @philnash

Slide 68

Slide 68 text

MAKE NOTIFICATIONS TIMELY, ACTIONABLE AND PERSONAL @philnash

Slide 69

Slide 69 text

OR DON'T. BUT DO ALLOW OPT OUTS @philnash

Slide 70

Slide 70 text

IF USERS BLOCK ALL NOTIFICATIONS THE WHOLE WEB SUFFERS @philnash

Slide 71

Slide 71 text

BUILD PROGRESSIVE WEB APPS @philnash

Slide 72

Slide 72 text

NOT AGGRESSIVE WEB APPS @philnash

Slide 73

Slide 73 text

THANKS!

Slide 74

Slide 74 text

Thanks! @philnash http:/ /philna.sh [email protected]