diff options
Diffstat (limited to 'uncompressed/withspectrum')
-rw-r--r-- | uncompressed/withspectrum/LICENSE | 21 | ||||
-rw-r--r-- | uncompressed/withspectrum/README.md | 1 | ||||
-rw-r--r-- | uncompressed/withspectrum/icon.png | bin | 574431 -> 0 bytes | |||
-rw-r--r-- | uncompressed/withspectrum/icon.svg | 26 | ||||
-rw-r--r-- | uncompressed/withspectrum/index.js | 4 | ||||
-rw-r--r-- | uncompressed/withspectrum/package.json | 12 | ||||
-rw-r--r-- | uncompressed/withspectrum/webview.js | 14 |
7 files changed, 0 insertions, 78 deletions
diff --git a/uncompressed/withspectrum/LICENSE b/uncompressed/withspectrum/LICENSE deleted file mode 100644 index 084f7b7..0000000 --- a/uncompressed/withspectrum/LICENSE +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2017 Max Stoiber | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/uncompressed/withspectrum/README.md b/uncompressed/withspectrum/README.md deleted file mode 100644 index cd24e16..0000000 --- a/uncompressed/withspectrum/README.md +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # franz-spectrum \ No newline at end of file | ||
diff --git a/uncompressed/withspectrum/icon.png b/uncompressed/withspectrum/icon.png deleted file mode 100644 index b8ef5f1..0000000 --- a/uncompressed/withspectrum/icon.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/withspectrum/icon.svg b/uncompressed/withspectrum/icon.svg deleted file mode 100644 index 2c54e68..0000000 --- a/uncompressed/withspectrum/icon.svg +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | <svg width="512" height="512" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
2 | <title>512</title> | ||
3 | <desc>Created using Figma</desc> | ||
4 | <g id="Canvas" transform="translate(-236 220)"> | ||
5 | <clipPath id="clip-0" clip-rule="evenodd"> | ||
6 | <path d="M 236 -220L 748 -220L 748 292L 236 292L 236 -220Z" fill="#FFFFFF"/> | ||
7 | </clipPath> | ||
8 | <g id="512" clip-path="url(#clip-0)"> | ||
9 | <g id="Ellipse"> | ||
10 | <use xlink:href="#path0_fill" transform="translate(236 -220)" fill="#C4C4C4"/> | ||
11 | <use xlink:href="#path0_fill" transform="translate(236 -220)" fill="url(#paint1_radial)"/> | ||
12 | </g> | ||
13 | <g id="mark"> | ||
14 | <use xlink:href="#path1_fill" transform="translate(372 -84)" fill="#FFFFFF"/> | ||
15 | </g> | ||
16 | </g> | ||
17 | </g> | ||
18 | <defs> | ||
19 | <radialGradient id="paint1_radial" cx="0.5" cy="0.5" r="0.5" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1024 1024 -1024 1024 0 -1024)"> | ||
20 | <stop offset="0" stop-color="#7B16FF"/> | ||
21 | <stop offset="1" stop-color="#3818E5"/> | ||
22 | </radialGradient> | ||
23 | <path id="path0_fill" d="M 512 256C 512 496 496 512 256 512C 16 512 0 496 0 256C 0 16 21.3333 0 256 3.84993e-13C 496 7.57912e-13 512 16 512 256Z"/> | ||
24 | <path id="path1_fill" fill-rule="evenodd" d="M 0 16C 0 7.16344 7.16344 0 16 0L 30 0C 145.98 0 240 94.0202 240 210L 240 224C 240 232.837 232.837 240 224 240L 136 240C 127.163 240 120 232.837 120 224L 120 210C 120 160.294 79.7056 120 30 120L 16 120C 7.16344 120 0 112.837 0 104L 0 16Z"/> | ||
25 | </defs> | ||
26 | </svg> | ||
diff --git a/uncompressed/withspectrum/index.js b/uncompressed/withspectrum/index.js deleted file mode 100644 index b77c7a1..0000000 --- a/uncompressed/withspectrum/index.js +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | ||
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndpdGhzcGVjdHJ1bS9pbmRleC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6IndpdGhzcGVjdHJ1bS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gRnJhbnogPT4gRnJhbnpcbiJdfQ== \ No newline at end of file | ||
diff --git a/uncompressed/withspectrum/package.json b/uncompressed/withspectrum/package.json deleted file mode 100644 index bd16504..0000000 --- a/uncompressed/withspectrum/package.json +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | { | ||
2 | "id": "withspectrum", | ||
3 | "name": "Spectrum", | ||
4 | "version": "1.0.0", | ||
5 | "description": "A community platform for the future.", | ||
6 | "main": "index.js", | ||
7 | "author": "Max Stoiber", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://spectrum.chat" | ||
11 | } | ||
12 | } | ||
diff --git a/uncompressed/withspectrum/webview.js b/uncompressed/withspectrum/webview.js deleted file mode 100644 index 2f71cf6..0000000 --- a/uncompressed/withspectrum/webview.js +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = () => { | ||
5 | const element = document.querySelector('[href="/notifications"] > div'); | ||
6 | const content = window.getComputedStyle(element, ':after').getPropertyValue('content').match(/\d+/); | ||
7 | const notifications = Number(content); | ||
8 | |||
9 | Franz.setBadge(notifications); | ||
10 | }; | ||
11 | |||
12 | Franz.loop(getMessages); | ||
13 | }; | ||
14 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndpdGhzcGVjdHJ1bS93ZWJ2aWV3LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiIsImdldE1lc3NhZ2VzIiwiZWxlbWVudCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsImNvbnRlbnQiLCJ3aW5kb3ciLCJnZXRDb21wdXRlZFN0eWxlIiwiZ2V0UHJvcGVydHlWYWx1ZSIsIm1hdGNoIiwibm90aWZpY2F0aW9ucyIsIk51bWJlciIsInNldEJhZGdlIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUztBQUN4QixRQUFNQyxjQUFjLE1BQU07QUFDeEIsVUFBTUMsVUFBVUMsU0FBU0MsYUFBVCxDQUF1QiwrQkFBdkIsQ0FBaEI7QUFDQSxVQUFNQyxVQUFVQyxPQUNiQyxnQkFEYSxDQUNJTCxPQURKLEVBQ2EsUUFEYixFQUViTSxnQkFGYSxDQUVJLFNBRkosRUFHYkMsS0FIYSxDQUdQLEtBSE8sQ0FBaEI7QUF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