From e7c288d6c30774e6cde975988ff9d3e4181c08e7 Mon Sep 17 00:00:00 2001 From: Edvaldo da Rosa Date: Thu, 3 Aug 2017 14:48:07 -0300 Subject: [PATCH] Adds Inoreader to Franz --- inoreader/icon.png | Bin 0 -> 11880 bytes inoreader/icon.svg | 14 ++++++++++++++ inoreader/index.js | 1 + inoreader/package.json | 23 +++++++++++++++++++++++ inoreader/webview.js | 9 +++++++++ 5 files changed, 47 insertions(+) create mode 100644 inoreader/icon.png create mode 100644 inoreader/icon.svg create mode 100644 inoreader/index.js create mode 100644 inoreader/package.json create mode 100644 inoreader/webview.js diff --git a/inoreader/icon.png b/inoreader/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..28da09758ef96497d766dc67f9becd7849a32f19 GIT binary patch literal 11880 zcmd6NXH-+oxBi?YKnN|NcO$(iC{>Cant(_Z6cGgk1O$;LptM78(iBB$M(It8NL7ek zOnn$bG{{HTv$P-$WKOyxct&THpB1)MljfJ|FBxpP17V#j_(C<3b=hI6Q;N)DW_1 ze2XUk8cXli3M%{IkdO-ucJQLdA>hF+1SUoKAA)R?a6rU?YvCwz1n-EmEbT4J)`|s zvGa%FRbUfry>^y!PIAH!xfyXYCV2u7XNoC`q8dsVz(HF&@6&dZ0Nw}pE&b*6T8M|; zs6J77Vg(RMj#k(;7POxkl(o&RN}6FoVw>!0ywxi}0<;q{%-|T+=L9>rF&@0JDF|EP z!|z6*1mJTZJU3$fPUDe|Zd1~6YSr2I{x2Wwr}$G-&-S}XNn^*~>iPBxo3Q{|fc4jb zP?1b_sHR=EmK;k3uF^EWVaG}w@NKK8#t9j?GSQ6rgdLf|R6w7d{2hpVnR=x9m&7MKrdaQL5ph3EHSiq4*7dlhM^t@o z(sc1T2d!)zTrwV9!_8I&)Oz$DR~wuLPBX=)|B@5|N04<*e!wy8hd}G<4jXP`_wkd} zhsQ-yTH3tqua2;gq^XT&noF!HqxvA~s_Bhk*;e zL(O{dhdO^q_hCvT*wW}e$aeiaZ=o48sy;RTx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cMmvSxc7}oAhnx@aorPG{=b5;8ju0mn!2UVxs5wB2+WK z_*{6x)$FIg8#^Taf97T7jSqAv?%OKz=Iy*HqbQ*e6UUH~S1yKxxdnLw1CJ{gJc;I) c-Ml>QJl#C51@?IU`}#L9H?cB)Wat|AUljO*k^lez literal 0 HcmV?d00001 diff --git a/inoreader/icon.svg b/inoreader/icon.svg new file mode 100644 index 0000000..67d8733 --- /dev/null +++ b/inoreader/icon.svg @@ -0,0 +1,14 @@ + + + + background + + + + Layer 1 + + + + + + \ No newline at end of file diff --git a/inoreader/index.js b/inoreader/index.js new file mode 100644 index 0000000..258da41 --- /dev/null +++ b/inoreader/index.js @@ -0,0 +1 @@ +module.exports = Franz => Franz; diff --git a/inoreader/package.json b/inoreader/package.json new file mode 100644 index 0000000..46d7567 --- /dev/null +++ b/inoreader/package.json @@ -0,0 +1,23 @@ +{ + "name": "inoreader", + "version": "1.0.0", + "description": "The content reader for power users who want to save time.", + "main": "index.js", + "author": "Edvaldo da Rosa ", + "license": "MIT", + "config": { + "serviceURL": "https://www.inoreader.com/login", + "serviceName": "Inoreader", + "message": "", + "popup": [], + "hasNotificationSound": true, + "hasIndirectMessages": false, + "hasTeamID": false, + "customURL": false, + "hostedOnly": false, + "webviewOptions": { + "disablewebsecurity": "" + }, + "openDevTools": false + } +} diff --git a/inoreader/webview.js b/inoreader/webview.js new file mode 100644 index 0000000..bc1bb00 --- /dev/null +++ b/inoreader/webview.js @@ -0,0 +1,9 @@ +module.exports = (Franz, options) => { + function getMessages() { + const count = document.querySelector('#unread_cnt_all_items').innerText || 0; + + Franz.setBadge(count); + } + + Franz.loop(getMessages); +}