Slide 1

Slide 1 text

AGGRESSIVE WEB APPS

Slide 2

Slide 2 text

BROWSING THE WEB IN 2018 @philnash

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

PROGRESSIVE WEB APPS @philnash

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Service Worker Support ✅ ✅ ✅ ✅ ✅ @philnash

Slide 7

Slide 7 text

APP LIKE FEATURES @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

@philnash

Slide 13

Slide 13 text

Push noti cations are good How to push Good push noti cations Permissions @philnash

Slide 14

Slide 14 text

HOW TO PUSH @philnash

Slide 15

Slide 15 text

@philnash

Slide 16

Slide 16 text

HOW IS NOT THE PROBLEM @philnash

Slide 17

Slide 17 text

WE NEED TO TALK ABOUT... @philnash

Slide 18

Slide 18 text

GOOD PUSH NOTIFICATIONS

Slide 19

Slide 19 text

Dear every website, I never want push noti cations. Thanks. - Everyone @philnash

Slide 20

Slide 20 text

I DON'T BELIEVE THIS @philnash

Slide 21

Slide 21 text

PUSH NOTIFICATIONS ARE INCREDIBLY USEFUL @philnash

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

TIMELY, ACTIONABLE AND PERSONAL @philnash

Slide 25

Slide 25 text

TIMELY @philnash

Slide 26

Slide 26 text

@philnash

Slide 27

Slide 27 text

@philnash

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

ACTIONABLE @philnash

Slide 30

Slide 30 text

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

Slide 31

Slide 31 text

PERSONAL @philnash

Slide 32

Slide 32 text

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

Slide 33

Slide 33 text

KNOW WHEN TO BREAK THE RULES @philnash

Slide 34

Slide 34 text

@philnash

Slide 35

Slide 35 text

LET THEM OPT OUT WITHIN YOUR APPLICATION @philnash

Slide 36

Slide 36 text

@philnash

Slide 37

Slide 37 text

THE ALTERNATIVE? @philnash

Slide 38

Slide 38 text

DEMO

Slide 39

Slide 39 text

@philnash

Slide 40

Slide 40 text

@philnash

Slide 41

Slide 41 text

@philnash

Slide 42

Slide 42 text

WE NEED TO TALK ABOUT... @philnash

Slide 43

Slide 43 text

PERMISSIONS

Slide 44

Slide 44 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 11:17 AM - May 13, 2018 31.4K 8,756 people are talking about this @philnash

Slide 45

Slide 45 text

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

Slide 46

Slide 46 text

@philnash

Slide 47

Slide 47 text

@philnash

Slide 48

Slide 48 text

@philnash

Slide 49

Slide 49 text

@philnash

Slide 50

Slide 50 text

@philnash

Slide 51

Slide 51 text

NO CONTEXT @philnash

Slide 52

Slide 52 text

STOP THIS!

Slide 53

Slide 53 text

@philnash

Slide 54

Slide 54 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… 12:04 AM - May 23, 2018 Firefox can now block those annoying notification requests @philnash

Slide 55

Slide 55 text

PLEASE

Slide 56

Slide 56 text

DO NOT DEMAND NOTIFICATION PERMISSIONS ON PAGE LOAD @philnash

Slide 57

Slide 57 text

WORRY

Slide 58

Slide 58 text

PERMISSIONS WILL BECOME THE NEW POPUPS @philnash

Slide 59

Slide 59 text

PERMISSIONS WILL BE REVILED AND DISMISSED BY USERS @philnash

Slide 60

Slide 60 text

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

Slide 61

Slide 61 text

@philnash

Slide 62

Slide 62 text

PLEASE

Slide 63

Slide 63 text

DO NOT DEMAND NOTIFICATION PERMISSIONS ON PAGE LOAD @philnash

Slide 64

Slide 64 text

SUGGESTIONS

Slide 65

Slide 65 text

FOR NOW @philnash

Slide 66

Slide 66 text

WAIT @philnash

Slide 67

Slide 67 text

@philnash

Slide 68

Slide 68 text

@philnash

Slide 69

Slide 69 text

UNLESS IT'S OBVIOUS @philnash

Slide 70

Slide 70 text

@philnash

Slide 71

Slide 71 text

FOR THE FUTURE @philnash

Slide 72

Slide 72 text

TOGETHER WE CAN FIX THIS! @philnash

Slide 73

Slide 73 text

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

Slide 74

Slide 74 text

GET INVOLVED @philnash

Slide 75

Slide 75 text

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

Slide 76

Slide 76 text

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

Slide 77

Slide 77 text

CONCLUSION

Slide 78

Slide 78 text

PUSH NOTIFICATIONS ARE AWESOME FOR THE RIGHT THINGS @philnash

Slide 79

Slide 79 text

DO NOT DEMAND NOTIFICATION PERMISSIONS ON PAGE LOAD @philnash

Slide 80

Slide 80 text

MAKE NOTIFICATIONS TIMELY, ACTIONABLE AND PERSONAL @philnash

Slide 81

Slide 81 text

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

Slide 82

Slide 82 text

IF USERS BLOCK ALL NOTIFICATIONS THE WHOLE WEB SUFFERS @philnash

Slide 83

Slide 83 text

USERS WILL BLOCK IF THEY HAVE A BAD EXPERIENCE @philnash

Slide 84

Slide 84 text

WE CAN PROVIDE GOOD EXPERIENCES FOR BOTH PERMISSIONS AND NOTIFICATIONS @philnash

Slide 85

Slide 85 text

BUILD PROGRESSIVE WEB APPS @philnash

Slide 86

Slide 86 text

NOT AGGRESSIVE WEB APPS @philnash

Slide 87

Slide 87 text

THANKS!

Slide 88

Slide 88 text

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