Browser extension for Aurora.
- Open
chrome://extensions/
. - Select the
Developer mode
checkbox. - Press
Load unpacked extension...
and open./extensions/build/chrome
folder.
- Open
about:debugging#addons
. - Select the
Enable add-on debugging
checkbox. - Press
Load Temporary Add-on
and open./extensions/build/firefox/extension.js
.
Isn't working for now.
- Open
about:flags
. - Select the
Enable extension developer features
checkbox. - Select
More (...)
to open the menu. - Select
Extensions
from the menu. - Select the Load extension button and open
./extensions/build/edge/
folder.
You can write your own server and start listening on ws://localhost:1337
, but I also wrote a simple server on NodeJS for debug reasons.
Going to be deprecated, because of moving to Native Messaging API.
For now, the extension can only send messages about current tab location and active/inactive browser state. Every message have information about API version, type of message and information about browser.
Examples:
Browser window is focused or unfocused:
{
"version": 1,
"type": "focus",
"browser": {
"name": "Opera",
"version": "50.0"
},
"payload": {
"focused": true
}
}
Browser tab have a new url:
{
"version": 1,
"type": "url",
"browser": {
"name": "Opera",
"version": "50.0"
},
"payload": {
"hash": "",
"host": "www.youtube.com",
"hostname": "www.youtube.com",
"href": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"password": "",
"pathname": "/watch",
"port": "",
"protocol": "https:",
"username": "",
"search": "?v=dQw4w9WgXcQ",
"searchParams": {
"v": "dQw4w9WgXcQ"
}
}
}
Explanation: payload contains fields of Location object. Additionally, searchParams
field is parsed to key-value object.