add some more reader options

This commit is contained in:
wareya committed 2019-06-15 11:01:56 -04:00
1 parent 5793cdc591
commit dc42b59f62
4 files changed
+77 -13

No files matched your search

+8
View File
@@ -1697,6 +1697,14 @@ browser.runtime.onMessage.addListener((req, sender) =>
{
refresh_json();
}
else if (req.type == "reader_lookup")
{
browser.tabs.sendMessage(req.id, {type:req.type, x:req.x, y:req.y, text:req.text});
}
else if (req.type == "reader_mode")
{
browser.tabs.sendMessage(req.id, {type:req.type});
}
else if (req.type == "ankiconnect_mine")
{
console.log("got request");