SimpleGesture.target - utubo/firefox-simple_gesture GitHub Wiki
You can use SimpleGesture.target
to get the gesture target.
Syntax
let target = SimpleGesture.target;
Examples
/**
* @name Open link in background
*/
let target = SimpleGesture.target;
while (target && !target.href) {
target = target.parentNode;
}
if (target) {
SimpleGesture.open(target.href, { active: false });
}