Introduction
This add-on is based on openURL: method of iOS.
It has similar function to the built-in “Research” — Searching for selected text with the specified service(Google, Quora, Google translate, DeepL, etc.). The difference is that it uses an external browser to open these services.
In addition to web pages, this add-on also provides support for the URL Scheme, which means you can directly open specified apps to process selected content (e.g. DEVONThink, Pleco, iTranslate).
(Besides, it can be used to wake up iOS Shortcuts app, but this is not practical given the limitations of the Shortcuts.)
Advantages
- Useful for small screen devices;
- You can customize the services (web sites or apps) as you wish;
Disadvantages
- Only one service can be supported at a time;
- Customization need to be done by modifying the code of main.js. (if you have ideas on how to customize add-on without modifying the source code, feel free to reply)
Compatibility
MarginNote 3.6.7.4 or higher
For both macOS and iOS(iPadOS) MarginNote
Usage
Download and import to MarginNote like official add-ons.
Make sure you have allowed uncertified extensions before importing!
MN on macOS
MN on iPadOS
Customize
open the main.js
file with a code editor (e.g. VS Code, Sublime Text), and replace the URL after var baseUrl=
with the url you need. Then repackaging.
Download
Google Search:
reResearch_Google_0.1.mnaddon (5.2 KB)
DeepL:
reResearch_deepl_0.1.mnaddon (5.2 KB)