From cebc627caec272c1e23615a4fc521d987d91fb8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Lasersk=C3=B6ld?= Date: Sat, 14 Mar 2020 11:29:55 +0100 Subject: [PATCH] Started working on chrome plugin --- software/chrome/README.md | 17 +++++++++++++++++ software/chrome/background.js | 0 software/chrome/manifest.json | 11 +++++++++++ software/chrome/popup.html | 12 ++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 software/chrome/README.md create mode 100644 software/chrome/background.js create mode 100644 software/chrome/manifest.json create mode 100644 software/chrome/popup.html diff --git a/software/chrome/README.md b/software/chrome/README.md new file mode 100644 index 0000000..1e1f764 --- /dev/null +++ b/software/chrome/README.md @@ -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. \ No newline at end of file diff --git a/software/chrome/background.js b/software/chrome/background.js new file mode 100644 index 0000000..e69de29 diff --git a/software/chrome/manifest.json b/software/chrome/manifest.json new file mode 100644 index 0000000..0a716e7 --- /dev/null +++ b/software/chrome/manifest.json @@ -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" ] +} diff --git a/software/chrome/popup.html b/software/chrome/popup.html new file mode 100644 index 0000000..5bb3973 --- /dev/null +++ b/software/chrome/popup.html @@ -0,0 +1,12 @@ + + + + + + + +

Hej! Det här är ett test.

+ + + \ No newline at end of file