Started working on chrome plugin
This commit is contained in:
parent
0f26e38b84
commit
cebc627cae
17
software/chrome/README.md
Normal file
17
software/chrome/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Chrome extension for the mechanical keyboard
|
||||||
|
============================================
|
||||||
|
|
||||||
|
[Getting started information about plugins] (https://developer.chrome.com/extensions/getstarted)
|
||||||
|
|
||||||
|
[serial port](https://developer.chrome.com/apps/app_serial)
|
||||||
|
[serial api](https://developer.chrome.com/apps/serial)
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Goto
|
||||||
|
|
||||||
|
```url
|
||||||
|
chrome://extensions
|
||||||
|
```
|
||||||
|
|
||||||
|
Set developer mode and load unpacked.
|
0
software/chrome/background.js
Normal file
0
software/chrome/background.js
Normal file
11
software/chrome/manifest.json
Normal file
11
software/chrome/manifest.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "Lasersköld & Philsson Methanical keyboard setup",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "A extension for customizing the layout of your methanical keyboard",
|
||||||
|
"manifest_version": 2,
|
||||||
|
"browser_action": {
|
||||||
|
"default_title": "test",
|
||||||
|
"default_popup": "popup.html"
|
||||||
|
},
|
||||||
|
"permissions": [ "serial" ]
|
||||||
|
}
|
12
software/chrome/popup.html
Normal file
12
software/chrome/popup.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Hej! Det här är ett test.</p>
|
||||||
|
<button id="test">Test</button>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user