-
Notifications
You must be signed in to change notification settings - Fork 2
Chrome Extension. Background Page + Context Menu + Content Script
antimatter15/hideelements
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Disappointingly, the chrome context menu API makes it pretty hard to get direct access to the DOM. But this is probably a side-effect of the multiprocess chrome architecture and the web sandbox. Either way, this is a simple extension that demonstrates (in whatever way popped into my head first) to get DOM access to the selected element. Though I wouldn't necessarily recomend it, feel free to follow this as a sort of pattern for creating dom-enabled context menu extensions.
About
Chrome Extension. Background Page + Context Menu + Content Script
Resources
Stars
Watchers
Forks
Releases
No releases published