Pohódnoćenja za Simple Gesture for Android
Simple Gesture for Android wot utubo
Pohódnoćenje wot Breadmann
Z 5 z 5 pohódnoćeny
wot Breadmann, kuusi vuotta sittenFantastic add on. Excellent work. I was wondering about a few additions. Is there any way to add in a function for pasting text directly into the URL bar? I was trying to see if I could do a custom gesture with JavaScript but I'm not very good with JS, sorry.
Edit 11/27 Sending my thanks for the speedy update. I have been using it once you first released it and it works very well. All the best,
Edit 11/27 Sending my thanks for the speedy update. I have been using it once you first released it and it works very well. All the best,
Wotmołwa wuwiwarja
je so kuusi vuotta sitten napisałSorry, version 2.21 could not read clipboard.
So, I fixed it at version 2.22,
and you can use this script to paste and go.
-----------------------------------------------------------
/**
* @name Paste and Go
*/
navigator.clipboard.readText().then(text => {
if (text.startsWith("http://") || text.startsWith("https://")) {
SimpleGesture.open(text);
} else {
SimpleGesture.open('https://www.google.com/search?q=' + encodeURIComponent(text));
}
});
-----------------------------------------------------------
Thank you for your review.
Fix 12/04
if (text.startsWith("^http://") || text.startsWith("^https://")) {
to
if (text.startsWith("http://") || text.startsWith("https://")) {
So, I fixed it at version 2.22,
and you can use this script to paste and go.
-----------------------------------------------------------
/**
* @name Paste and Go
*/
navigator.clipboard.readText().then(text => {
if (text.startsWith("http://") || text.startsWith("https://")) {
SimpleGesture.open(text);
} else {
SimpleGesture.open('https://www.google.com/search?q=' + encodeURIComponent(text));
}
});
-----------------------------------------------------------
Thank you for your review.
Fix 12/04
if (text.startsWith("^http://") || text.startsWith("^https://")) {
to
if (text.startsWith("http://") || text.startsWith("https://")) {