Hacking the Browser
Week 3
Overview
office hours
class goals
review
Bookmarklet Troubleshooting
Common Error: Mixed-Content
Adding jQuery
Reverse-Engineering Bookmarklets
Content-Security Policy
Silly, quasi-Bookmarklets
presentations
Laptop lids down, please.
Chrome Extensions
Chrome Extensions
Extension Core Components
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Interlude: Rapid-Fire JSON Syntax
Components of an Extension
Load your Hello World extension
Hello World, continued
Concepts: Content Scripts
Hello World, continued
Components: UI: Browser Action
^^ These properties are set by the manifest, can be modified by code
^^ These properties are modified by your background script
Background Scripts
Demo: Content Script programmatic injection
Full code: content-script-via-browser-action
Troubleshooting Extensions
Components of an Extension: Code
In-Class Groups: Extensions
In-Class Groups: Extensions: Continued
Next class (2 weeks) presentations
Class Homework
Create
Find
Reading
Full details on the syllabus: hackingthebrowser.com