Closed nzeltzer closed 5 years ago
Add necessary API to bridge Swift/JS communication.
Instructions for how to register for the event from Javascript are provided here:
document.addEventListener("saveToPocket", handleContextMenu, false); function handleContextMenu(event) { ... etc ... }
@nzeltzer using add/safari as the base for these PRs
add/safari
@nelsonomuto I still have quite a few checkboxes to go before this will be ready for review.
Goal
Add necessary API to bridge Swift/JS communication.
Todos:
Discussion
Trigger save from right-click context menu item
Instructions for how to register for the event from Javascript are provided here: