Select important text from the page, then apply Action!
SelAct Extension
Use the context menu to select actions to apply to the selected text. Actions include search, exchange price, math equations, export data as csv, or pick from many other actions. Select text, right click, pick action and done!
The options page allows you to pick from predefined actions or create your own costume actions to increase your productivity. You can add costume URLs with replaceable values. Values are represented by placeholders such as: [VAL1], [VAL2], ... where [VAL1] is the first selected text, [VAL2] is the second selection, etc...
The extension will call the URL after replacing each [VALn] with selected texts.
Examples:
1- Use selected text to create a new event:
https://www.notely.tech/selactserv/events/create_event.php?text=[VAL1]
2- Use Google Translation service to translate the selected text [VAL1]:
https://translate.google.com/?sl=en&tl=es&text=[VAL1]&op=translate
2- Use your preferred email client to send an email using the first selection [VAL1] as the destination email address, [VAL2] as the email Subject and [VAL3] value as the email body:
mailto:[VAL1]?subject=[VAL2]&body=[VAL3]
3- Copy data and export as a file:
data://[VAL1],[VAL2],[VAL3]
4- Convert from Fahrenheit to Celsius:
fun://f_to_c([VAL1])
5- Apply math function to convert KG to LB:
math://[VAL1]*2.2046226218
6- Use pre-defined variables:
- [$page_title$] Use page title.
- [$page_url$] Use page URL.
- [$current_date_time$] Use current data and time.
Example:
mailto:[VAL1]?subject=[$page_url$]&body=[VAL2]
Changelog:
v0.5.8:
Remove unnecessary \"Notifications\" permission.
v0.5.7:
Fix a bug that changes the current tab for the \"mailto\" action. Now the current tab is preserved.
v0.5.6:
Allow the extension to work without reloading current pages after new upgrade/installation.
v0.5.5:
Improved selection code that avoids some failures.
v0.5.4:
Change notifications to appear inside the page.
Fix a bug related to identifying numbers.
Added Free Text link.
v0.5.1:
Added actions to support math equations.
Improved stability.
v0.5.0:
Fixed an issue that causes context menu options to disappear.
Added functions feature, which allows users to pick from a set of predefined functions.
v0.4.0:
Remove the limit on number of actions.
Allow selections in text fields.
v0.3.0:
Added multiple actions support (up to 3 ietms).
v0.2.0:
Added GUI to help the user to create actions with pre-existing examples.
v0.1.2:
Add export data capability.
Read more
The options page allows you to pick from predefined actions or create your own costume actions to increase your productivity. You can add costume URLs with replaceable values. Values are represented by placeholders such as: [VAL1], [VAL2], ... where [VAL1] is the first selected text, [VAL2] is the second selection, etc...
The extension will call the URL after replacing each [VALn] with selected texts.
Examples:
1- Use selected text to create a new event:
https://www.notely.tech/selactserv/events/create_event.php?text=[VAL1]
2- Use Google Translation service to translate the selected text [VAL1]:
https://translate.google.com/?sl=en&tl=es&text=[VAL1]&op=translate
2- Use your preferred email client to send an email using the first selection [VAL1] as the destination email address, [VAL2] as the email Subject and [VAL3] value as the email body:
mailto:[VAL1]?subject=[VAL2]&body=[VAL3]
3- Copy data and export as a file:
data://[VAL1],[VAL2],[VAL3]
4- Convert from Fahrenheit to Celsius:
fun://f_to_c([VAL1])
5- Apply math function to convert KG to LB:
math://[VAL1]*2.2046226218
6- Use pre-defined variables:
- [$page_title$] Use page title.
- [$page_url$] Use page URL.
- [$current_date_time$] Use current data and time.
Example:
mailto:[VAL1]?subject=[$page_url$]&body=[VAL2]
Changelog:
v0.5.8:
Remove unnecessary \"Notifications\" permission.
v0.5.7:
Fix a bug that changes the current tab for the \"mailto\" action. Now the current tab is preserved.
v0.5.6:
Allow the extension to work without reloading current pages after new upgrade/installation.
v0.5.5:
Improved selection code that avoids some failures.
v0.5.4:
Change notifications to appear inside the page.
Fix a bug related to identifying numbers.
Added Free Text link.
v0.5.1:
Added actions to support math equations.
Improved stability.
v0.5.0:
Fixed an issue that causes context menu options to disappear.
Added functions feature, which allows users to pick from a set of predefined functions.
v0.4.0:
Remove the limit on number of actions.
Allow selections in text fields.
v0.3.0:
Added multiple actions support (up to 3 ietms).
v0.2.0:
Added GUI to help the user to create actions with pre-existing examples.
v0.1.2:
Add export data capability.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "SelAct", "action": {}, "manifest_version": 3, "version": "0.5.8", "description": "Select important text from the page, then apply Action!", "icons": { "16": "selact16.png", "32": "selact32.png", "48": "selact48.png", "128": "selact128.png" }, "permissions": [\t"contextMenus",\t"storage",\t"scripting" ], "host_permissions": [ "" ], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [ "" ],\t "css": ["selact-popup-styles.css"], "js": ["content.js", "utils.js", "funs.js", "math_eval.js"] } ], "options_ui": { "page": "options.html", "open_in_tab": true }}
Read more