You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
Code snippet will execute on every gesture recognition when current active tab is on this particular website.
if (!gesture.error) {
if (gesture.direction === "up") {
window.location.replace("https://facebook.com/logout.php");
}
}
To load this plugin:-
Saving plugin.
After saving plugin.
So this is the way to create a custom gesture handler for any website on this extension.
For tinder web:-
if (!gesture.error) {
var el = null;
if (gesture.direction === "Left") {
el = document.querySelector('[aria-label="Nope"]');
el.click();
} else if (gesture.direction === "Right") {
el = document.querySelector('[aria-label="Like"]');
el.click();
}
}