Saves current tab link to dokuwiki.

Latest Version

Version
1.3.0
Update
April 17, 2020
Size
126KiB
Developer
Category
Users
22
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Storage
Sessions
Https://*/*
See more

DokuLink Extension

DokuLink is a simple chrome extension that adds a button to the chrome action bar. When you click it, the current tab URL and (optionally the title) get saved to your Dokuwiki (https://www.dokuwiki.org/dokuwiki) installation via an RPC call.

** Configuration: **

Once you have the extension installed, go ahead and enable the XML-RPC setting on your wiki. You can find this setting under `Configuration Settings` --> `Authentication` --> `remote` and `remoteuser`. You need to enable the remote API system, and optionally whitelist the user credentials you plan to provide to this extension. You can create a dedicated user and only allow access to a specific page, or use your primary account. All calls are sent via HTTPS, so this extension should not induce any significant security vulnerabilities not present in dokuwiki itself.

** Usage: **

- Open the Options page (right click on icon and choose \"Options\") and enter your wiki domain, username, and password. Note that these credentials are stored using the chrome sync (https://developer.chrome.com/extensions/storage) api, and are not transmitted anywhere outside of chrome.
- The key combo \"Ctrl+Shift+S\" will open a session browser, where you can copy all open tabs from another device in a nice list.


** Why do you need X permission? **

- `Read and change all your data on websites you visit` - without this permission the extension cannot send data to your wiki. Since it's impossible for this extension to limit itself to only your wiki domain, it has to ask for access to all pages. Feel free to audit the code to confirm that this is the case.
- we need `active tab` to get the current URL and title of the page you are on.
- 'sessions' is required to list all open tabs on other devices.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "DokuLink", "version": "1.3.0", "description": "Saves current tab link to dokuwiki.", "permissions": [ "activeTab", "storage", "sessions", "https://*/*" ], "icons": { "64": "img/64-dokuwiki.png" }, "background": { "persistent": false, "scripts": [ "lib/jquery-3.1.0.min.js", "util.js", "background.js", "sessions.js" ] }, "commands": { "save-sessions": { "suggested_key": { "default": "Ctrl+Shift+S", "mac": "Ctrl+Shift+S" }, "description": "Open sessions page" } }, "browser_action": { "default_title": "DokuLink", "default_icon": "img/64-dokuwiki.png" }, "options_ui": { "page": "options/options.html", "chrome_style": true }, "author": "Ivan Smirnov, https://ivansmirnov.name"}
Read more