From 728d339739b63e9bb59e457e4a84fe9a65b93fc9 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sat, 28 Sep 2019 12:10:25 +0200 Subject: Add uncompressed recipes --- uncompressed/xing/LICENSE | 21 +++++++++++++++++++++ uncompressed/xing/README.md | 7 +++++++ uncompressed/xing/icon.svg | 8 ++++++++ uncompressed/xing/index.js | 4 ++++ uncompressed/xing/package.json | 12 ++++++++++++ uncompressed/xing/webview.js | 13 +++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 uncompressed/xing/LICENSE create mode 100644 uncompressed/xing/README.md create mode 100644 uncompressed/xing/icon.svg create mode 100644 uncompressed/xing/index.js create mode 100644 uncompressed/xing/package.json create mode 100644 uncompressed/xing/webview.js (limited to 'uncompressed/xing') diff --git a/uncompressed/xing/LICENSE b/uncompressed/xing/LICENSE new file mode 100644 index 0000000..732d3a2 --- /dev/null +++ b/uncompressed/xing/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Volker Tietz + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/uncompressed/xing/README.md b/uncompressed/xing/README.md new file mode 100644 index 0000000..6f8deaf --- /dev/null +++ b/uncompressed/xing/README.md @@ -0,0 +1,7 @@ +# XING Messenger integration for Franz + +See https://github.com/meetfranz/plugins/tree/master/docs for more information on Franz plugin development + +# License +MIT + diff --git a/uncompressed/xing/icon.svg b/uncompressed/xing/icon.svg new file mode 100644 index 0000000..21e19cb --- /dev/null +++ b/uncompressed/xing/icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/uncompressed/xing/index.js b/uncompressed/xing/index.js new file mode 100644 index 0000000..2e73f1b --- /dev/null +++ b/uncompressed/xing/index.js @@ -0,0 +1,4 @@ +"use strict"; + +module.exports = Franz => Franz; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInhpbmcvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWlCQyxTQUFTQSxLQUExQiIsImZpbGUiOiJ4aW5nL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejsiXX0= \ No newline at end of file diff --git a/uncompressed/xing/package.json b/uncompressed/xing/package.json new file mode 100644 index 0000000..407eaa2 --- /dev/null +++ b/uncompressed/xing/package.json @@ -0,0 +1,12 @@ +{ + "id": "xing", + "name": "XING", + "version": "1.1.0", + "description": "XING Messenger", + "main": "index.js", + "author": "Volker Tietz ", + "license": "MIT", + "config": { + "serviceURL": "https://www.xing.com/messenger/global" + } +} \ No newline at end of file diff --git a/uncompressed/xing/webview.js b/uncompressed/xing/webview.js new file mode 100644 index 0000000..1a8d2f0 --- /dev/null +++ b/uncompressed/xing/webview.js @@ -0,0 +1,13 @@ +'use strict'; + +module.exports = Franz => { + function getUnreadConversations() { + let unreadConversations = 0; + unreadConversations = parseInt(document.querySelector('#unread-conversations').innerHTML, 10); + + Franz.setBadge(unreadConversations); + } + + Franz.loop(getUnreadConversations); +}; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInhpbmcvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRVbnJlYWRDb252ZXJzYXRpb25zIiwidW5yZWFkQ29udmVyc2F0aW9ucyIsInBhcnNlSW50IiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yIiwiaW5uZXJIVE1MIiwic2V0QmFkZ2UiLCJsb29wIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWtCQyxLQUFELElBQVc7QUFDMUIsV0FBU0Msc0JBQVQsR0FBa0M7QUFDaEMsUUFBSUMsc0JBQXNCLENBQTFCO0FBQ0FBLDBCQUFzQkMsU0FBU0MsU0FBU0MsYUFBVCxDQUF1Qix1QkFBdkIsRUFBZ0RDLFNBQXpELEVBQW9FLEVBQXBFLENBQXRCOztBQUVBTixVQUFNTyxRQUFOLENBQWVMLG1CQUFmO0FBQ0Q7O0FBRURGLFFBQU1RLElBQU4sQ0FBV1Asc0JBQVg7QUFDRCxDQVREIiwiZmlsZSI6Inhpbmcvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGZ1bmN0aW9uIGdldFVucmVhZENvbnZlcnNhdGlvbnMoKSB7XG4gICAgbGV0IHVucmVhZENvbnZlcnNhdGlvbnMgPSAwO1xuICAgIHVucmVhZENvbnZlcnNhdGlvbnMgPSBwYXJzZUludChkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCcjdW5yZWFkLWNvbnZlcnNhdGlvbnMnKS5pbm5lckhUTUwsIDEwKTtcblxuICAgIEZyYW56LnNldEJhZGdlKHVucmVhZENvbnZlcnNhdGlvbnMpO1xuICB9XG5cbiAgRnJhbnoubG9vcChnZXRVbnJlYWRDb252ZXJzYXRpb25zKTtcbn1cbjsiXX0= \ No newline at end of file -- cgit v1.2.3-70-g09d2