AI Everywhere

Mini A.I. floating menu that can define words, answer questions, translate, and much more in a single click and with your custom prompts. Includes useful click to search on Google and copy selected text buttons, along with Rocker+Mouse Gestures and Units+Currency+Time zone Converters, all features can be easily modified or disabled.

Zainstaluj skrypt?
Skrypt zaproponowany przez autora

Może Ci się również spodobać. Precise Time Converter on Google

Zainstaluj skrypt
Autor
hacker09
Dziennych instalacji
3
Wszystkich instalacji
463
Oceny
8 0 0
Wersja
73
Utworzono
07-01-2021
Zaktualizowano
06-10-2024
Licencja
Brak licencji
Dotyczy
Wszystkie strony


How to Install scripts? (Click here)


If you like my work, please consider supporting it!

Cryptos https://hacker09.glitch.me/

https://www.patreon.com/hacker09







https://greasyfork.org/en/scripts/6911-select-like-opera


How to add my Artificial Intelligence API Key?
1 Open https://aistudio.google.com/app/apikey
2 Click on "Get API Key"
3 Click on "Create API Key"
4 Click on "Got it"
5 Click on the input button
6 Click on "Generative Language Client"
7 Click on "Create API Key in existing project"


*The script color theme changes to dark/white mode depending on your browser theme.


Future Update Plans
Add the ability for all users to create custom prompt boxes with stored prompt text, and also add a "summarize page" BTN as a black dropdown menu when the tab key is pressed.
Add an option to let users choose the API endpoint.
Add an option to let users choose the default AI voice.
Add an option to let users choose the default answer language.
Add a send written prompt BTN on click.
Add an option to let users use only the CSS/JS/HTML site context for website coding questions.
Add a code block with a black background color and a copy code button when the AI response returns codes.
Add support to upload files to the AI.

Add AI fine-tuning support by letting users adjust all of the following AI parameters:
System Instructions: Custom directives for guiding the model's behavior.
Stop Sequence: Specifies tokens or sequences where the model should stop generating further output.
Number of Response Candidates: Defines how many different responses the model should generate for a given prompt.
Temperature: Controls the creativity of the model’s responses. Lower values make the model more focused and deterministic, while higher values increase randomness and diversity.
Max Output Tokens: Limits the length of the model's response.
Top-P (Nucleus Sampling): Adjusts the diversity of responses by focusing on the most probable words whose cumulative probability is below a threshold.
Top-K: Restricts sampling to the top K most probable words.



If you use the Opera Browser please click here and follow the steps below before installing the script.
1 Copy and Paste this on a new browser tab opera://settings/?search=Enable+Mouse+Gestures
2 Turn OFF Enable Mouse Gestures.

3 Copy and Paste this on a new browser tab opera://settings/?search=Enable+the+search+pop-up+when+selecting+text
4 Turn OFF The search pop-up when selecting text.

5 Copy and Paste this on a new browser tab opera://settings/?search=Enable+Rocker+Gestures
6 Turn OFF Enable rocker gestures.


*Click on the bold texts to Read.


Mouse Gestures


If you want to modify/disable (or add) the mouse gestures. (Start below the line "const funcs = {" in the script codes.)

Here's how to do it.
L = Means Left.
D = Means Down.
U = Means Up.
R = Means Right.

*You can also Adjust the script mouse sensitivity here between 1 ~ 5
Just change the number 3 below, to a number between 1 and 5, in the script codes
const SENSITIVITY = 3;

If you want to modify the actual mouse gestures of the script follow this example:
Change this 'L': function() {
to
'DL': function() {

Before the right click+Left would Go Back to your browser history, now we've changed Left to Down+Left, so the right click+Down+Left will Go Back to your browser history from now on.

If you want to disable any of the gestures, you just need to add 2 slashes "//" in front of all the line codes from
//Function that will run when the mouse movement *** is performed
Till
//Finishes the mouse movement ***

Example:
// 'R': function() { //Function that will run when the mouse movement Right is performed
// window.history.forward(); //Go Forward
// }, //Finishes the mouse movement Right

Before the right-click+Right mouse gesture would Go Forward your browser history, but now when you do a right-click+Right mouse gesture nothing will happen.

If you want to ADD a new mouse gesture follow this example:
Copy and paste the 3 lines below the line "const funcs = {" in the script codes, then add the mouse actions or just modify the 'DL' mouse action example below.

'DL': function() { //Function that will run when the mouse movement Down+Left is performed
// Here you write the javascript/jQuery codes that you want to be executed when the mouse movement Down+Left is performed
}, //Finishes the mouse movement Down+Left

Example of javascript codes to Open the actual website on a New Incognito Window!:
'DL': function() { //Function that will run when the mouse movement Down+Left is performed
GM_openInTab(location.href, { //Open the link
incognito: true, //Open the link on a New Incognito Window
}); //Finishes the GM_openInTab
window.top.close(); //Close the actual tab
}, //Finishes the mouse movement Down+Left


I may or not make these modifications easier to do in the future, install the script so you can be aware of new release updates.



ActionGesture
Go back one pageMove left
Go forward one pageMove right
Open a new tabMove down
Reload the pageMove straight up, then straight down
Close current tabMove down, then right
Open a link in a background tabMove straight down, then straight up
Open a link in a new tabMove down
Open a link in a new windowShift ⇧ + Move down, holding shift



Rocker Mouse Gestures


(Disabled by default)

You can go backward and forward through a tab’s history with rocker gestures.

When you enable rocker gestures, you can navigate backward and forward through pages by rocking your fingers between the right and left mouse buttons. Simply click and hold one button, click the other, then release the first before releasing the second. With a little practice, you can speed through web pages with this gesture.

Right Click and hold+Left Click to navigate backward, and Left Click and hold+Right Click to navigate forward.

Note: Enabling rocker gestures while using a Magic Mouse or trackpad can cause unpredictable behavior.

If you want to modify/disable the Rocker mouse gestures. (Start on the line "var LeftClicked, RightClicked;" in the script codes.)

Here's how to do it.
If you want to disable any of the gestures, you just need to add 2 slashes "//" in front of all the line codes from
//If *** was Clicked and then *** Click was released
Till
} //Finishes the if condition

Example:
//if (LeftClicked && RightClicked === false) { //If Left was Clicked and then Right Click was released
// window.history.back(); //Go Back
// } //Finishes the if condition

Before If Left was Clicked and then Right Click was released it would navigate forward, but now nothing will happen when Left was Clicked and then Right Click was released.

If you want to modify the actual Rocker mouse gestures of the script follow this example:
Change this line window.history.back(); to anything you want

Example:
if (LeftClicked && RightClicked === false) { //If Left was Clicked and then Right Click was released
window.location.reload(); //Reload the Tab
} //Finishes the if condition

Before If Left was Clicked and then Right Click was released it would navigate forward, but now when Left was Clicked and then Right Click was released the tab will reload.





Search HighLight (+ Converters)


The search pop-up tool allows you to search or copy the text you highlight on a web page. With just one click, your highlighted text opens a new tab and is queried by Google or any search engine of your choice. You can also copy the text to your clipboard to use later on, and you can open non-links as if they were clickable.

If you want to change the default script search engine from Google to another search engine change the line 'https://www.google.com/search?q=' in the script codes.

Here's how to do it.
You just need to change

var LinkfyOrSearch = 'https://www.google.com/search?q='; //Creates a variable to open google

To

var LinkfyOrSearch = 'LINK OF THE SEARCH ENGINE'; //Creates a variable to open THE SEARCH ENGINE YOU WANT

Example:
var LinkfyOrSearch = 'https://duckduckgo.com/?q='; //Creates a variable to open DuckDuckGo




Any of the converted values can be copied to your clipboard by hovering your mouse pointer over the conversion and clicking the revealed Copy button. Enjoy browsing made just a little bit easier for you.


Time zone Converter


Don’t confuse the start time of something important!



Need to check what time locally your hometown football club is playing at a 20:00 GMT kickoff while traveling in Moscow? Can’t be late for a 9:00 EST conference call with clients in New York when you’re in Prague? Highlighting a distant time zone will adjust it to your local time.

The integrated time zone converter is a simple quality-of-life feature that really comes in handy when you need it. If you’re reading an article online and find an unfamiliar time, like 16:20 NST or 4:00 AM EST, just highlight the time and the time-zone abbreviations (CET, JST) and it will be converted to your local time zone.


Time zones Supported


The script supports 16 different types of time zones that are:
1.PST / PDT: Pacific Standard / Daylight Time4:00 PST
2.MST / MDT: Mountain Standard / Daylight Time7:00pm MDT
3.CST / CDT: Central Standard / Daylight Time2:37am CST
4.EST / EDT: Eastern Standard / Daylight Time20:30 EDT
5.AST / ADT: Atlantic Standard Time / Daylight Time11:35AM AST
6.NST / NDT: Newfoundland Standard Time / Daylight Time3:55 NST
7.GMT: Greenwich Mean Time8:00 GMT
8.BST: British Summer Time12:12 BST
9.MET: Middle Europe Time9:14 MET
10.CET / CEST: Central Europe Time / Daylight (Summer) Time16:33 CEST
11.EET / EEST: Eastern Europe Time / Daylight (Summer) Time16:33 EEST
12.WET / WEST: Western Europe Time / Daylight (Summer) Time16:33 WET
13.JST: Japan Standard Time23:55 JST
14.KST: Korean Standard Time1:12 KST
15.IST: Indian Standard Time0:00 IST
16.MSK: Moscow Standard Time5:22PM MSK




Currency Converter




Highlighted currency conversion helps you keep things simple - with no need to go to a currency converter webpage or do math. The Script will convert foreign currencies like CAD to USD, Euro to Rupee, the British Pound to Japanese Yen, or any popular foreign currency with the current rate of exchange.

The currency converter is especially useful for planning trips, reading international news, online shopping, reading business reports, writing school papers, and anything involving money - which is quite a lot.
*Foreign exchange rates are always up-to-date.
Just make sure you are highlighting both the number and the currency symbol or abbreviation, like 120.37 GBP, 250 EUR, JPY 702, or 8,089 BTC. Cryptocurrencies are included in the currency converter.


To select your preferred currency (local currency) – which all foreign currencies will be converted into – select any currency, and then a popup box will appear so that you can write and press OK to add your local currency.

*Disabling the Search HighLight will also disable the currency converter. Enabling the Search HighLight again will give you the option to disable only the currency converter.


Currencies Supported


The script supports 37 types of currencies that are:

AUD – Australian Dollar – $71,52 AUD
BCH – Bitcoin Cash – 100 BCH
BGN – Bulgarian Lev – 93,88 BGN, 93.88лв
BRL – Brazilian Reals – 178.46 BRL, R$178,46
BTC – Bitcoin – 200 BTC, 200₿
BYN – Belarusian Ruble – 300 BYN, 300Br
CAD – Canadian dollar – $71.09CAD
CHF – Switzerland Francs – 54,64 CHF, 54.64Fr
CNY – Chinese Yuan – 376.75CNY
CZK – Czech Koruna – 1252,12 CZK, Kč 1,252.12
DKK – Danish Krone – 357.03 DKK
EUR – Euros – €48, 48 EUR
GBP – British Pounds – 43,97 GBP, £43.97
GEL – Georgian Lari – 400 GEL, 400₾
HKD – Hong Kong Dollar – 441,61HKD, HK$ 441.61
HUF – Hungarian Forint – 14559,22 HUF
IDR – Indonesian Rupiah – 752995,06 IDR, 752,995.06 Rp
ILS – Israeli New Shekel – 204,05 ILS, ₪ 204.05
INR – Indian Rupee – 3618,91 INR
JPY – Japanese Yen – 6174,09 JPY, ¥ 6,174.09, 6174.09 円
KRW – South Korean Won – 63899,08 KRW, ₩63,899.08
KZT – Kazakhstani Tenge – 600 KZT, 600₸
LTC – Litecoin – 400 LTC
MXN – Mexican peso – 1000,80 MXN
NOK – Norwegian Krone – 446,36 NOK, 446,36kr
NZD – New Zealand Dollar – 78.10 NZD
PHP – Philippine Peso – 2,890.56 PHP, ₱ 2890,56
PLN – Polish Zloty -205.184 PLN, 205,18zł
RON – Romanian Leu – 220.03 RON, 220,03 lei
RUB – Russian Ruble – 3334,29 RUB, 3334,29₽, 3334.29руб
SEK – Swedish Krona – 457.45 SEK
SGD – Singapore Dollar – 76.84 SGD
THB – Thai Baht – 1879,73 THB, 1879.73฿
TRY – Turkish Lira – 197,48 TRY, 600 YTL, 600₺
UAH – Ukrainian hryvnia – 500 UAH, 500₴
USD – United States Dollar – $56.38, 56,38 USD
ZAR – South African Rand – 746,35 ZAR




Units Converter




The script also has built-in measurement converters to convert unfamiliar numbers with a simple highlight.
The Unit Converter tool is an easy-to-use and convenient tool that saves you time and effort.

With this script, there’s no need to search for a conversion webpage, copy/paste the relevant information, and search menus for the right units.
The unit Converter is easy to use and does the work for you - with precise conversions.

How tall, heavy, fast, or far away is that thing you want?
Crafting a seasonal beer for the winter, but don’t know how much 4 oz of yeast is in grams? Unsure if your 20 x 30 cm poster from Paris fits a 10 x 16 in frame from California? Travelling and don’t know how far 258 mi is? A simple highlight of these strange values and times with the script quickly converts them into a familiar form.

The automatic unit of measurement conversion in the script gives you one less thing to worry about. Highlight imperial or metric units and you will see its counterpart in the pop-up menu. Again, just make sure you are highlighting both the number and the measurement symbol or word, such as 132 lb, 150 pounds, 25kg, 94 mph, 150 kilometers per hour, 21 feet, 10yd, etc. You can also convert Celsius and Fahrenheit. This feature makes it so much easier when you’re planning a trip, doing homework, writing papers, reading about foreign countries, or simply browsing the web.

*Disabling the Search HighLight will also disable the unit converter. Enabling the Search HighLight again will give you the option to disable only the unit converter.


Units Supported


The script supports 27 units of measurements that are:
Inches
Centimeters
Meters
Feets
Kilograms
Pounds
Ounces
Grams
Fluid ounces
Kilometers per hour
Miles per hour
°C
°F
Milliliters
Liters
Gallons
Yards
Millimeters
Kilometers
Miles
Kilowatts
Mechanical HorsePower
Miles per Gallon
Liters per 100 Kilometers
Liquid Quarts
Foot-Pounds
Newton-Meters

The conversions are:
Inches ⇄ Centimeters72in, 72″182.88 cm
Millimeters ➜ Inches50mm1.97in
Meters ⇄ Feet6.50 ft1.98 m
Yards ➜ Meters239 yd218.46 m
Ounces ⇄ Grams1.76 oz49.90 g
Kilometers ⇄ Miles60mi96.54 km
Kilometers per hour ⇄ Miles per hour62.14mph99.98 km/h
°F ⇄ °C39°C102.20°F
Milliliters ⇄ Fluid ounces49.98 ml1.69 fl
Liters ⇄ Gallons2.06 gal7.80 l
Kilowatts ⇄ Mechanical HorsePower700kW938.70 mhp
Miles per Gallon ⇄ Liters per 100 Kilometers33.6mpg7l/100km
Liquid Quarts ⇄ Liters4 qt3.78 l
Foot-Pounds ⇄ Newton-Meters250lb ft338.95 N·m



For convenience, the script also calculates Math^Power (2^3) numbers.