utubo / firefox-simple_gesture

🦊An add-on that adds simple touch gestures for Firfox for Android. Sorry, I only check issues sometimes.
https://addons.mozilla.org/ja/firefox/addon/simple-gesture/
Other
30 stars 1 forks source link

動いているけど間違っているところある #17

Closed utubo closed 6 years ago

utubo commented 6 years ago

content.js default: browser.runtime.sendMessage(g, (res) => {});default: browser.runtime.sendMessage(g);

background.js browser.tabs.query({ active: true }).then(tabs => { f(tabs[0]); });browser.tabs.query({ active: true, currentWindow: true }).then(tabs => { f(tabs[0]); });