C.W.K.
Stream
Quiz · 5 questions

Content Scripts

The hand inside the page — DOM access, isolated world, host bridges

Level 0Extension Curious
0 XP0/54 lessons0/13 achievements
0/100 XP to next level100 XP to go0% complete

Quiz

01A content script and the host page's own JavaScript run inside the same tab. What do they share, and what stays separate?
02You need a content script to run on every github.com/* page automatically as the user browses. Which injection style fits?
03Your content script needs to call a function the host page defined as window.fancyHelper(). What's the correct path?
04ClipDeck's Track 3 milestone is the C in CRUD — saving the user's selected text as a clip. Where does the selection live and which API reads it?
05You add a content script that injects a button into every page. On Gmail and YouTube the button appears, but the button's click handler never fires. What's the most likely cause?
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.