Permalink
Browse files

Added airdroid to plugins.

1 parent 0d05c82 commit 82422c810b96f63300aeb80bad15af75281dc782 @HgGamer HgGamer committed Sep 17, 2016
Showing with 327 additions and 0 deletions.
  1. BIN Airdroid/icon.png
  2. +288 −0 Airdroid/icon.svg
  3. +1 −0 Airdroid/index.js
  4. +23 −0 Airdroid/package.json
  5. +15 −0 Airdroid/webview.js
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,288 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="512"
+ height="512"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="airdroid.svg"
+ inkscape:export-filename="/home/alecive/Scrivania/firefoxTest1.png"
+ inkscape:export-xdpi="100"
+ inkscape:export-ydpi="100">
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.5829016"
+ inkscape:cx="206.10219"
+ inkscape:cy="213"
+ inkscape:document-units="px"
+ inkscape:current-layer="svg2"
+ showgrid="false"
+ inkscape:window-width="1301"
+ inkscape:window-height="744"
+ inkscape:window-x="65"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:object-paths="false"
+ inkscape:snap-intersection-paths="false"
+ inkscape:object-nodes="true"
+ inkscape:snap-smooth-nodes="true"
+ inkscape:snap-nodes="true" />
+ <defs
+ id="defs4">
+ <linearGradient
+ x1="19.244999"
+ y1="21.030804"
+ x2="19.360001"
+ gradientUnits="userSpaceOnUse"
+ y2="44.984001"
+ id="linearGradient2460">
+ <stop
+ offset="0"
+ style="stop-color:#fafafa;stop-opacity:1;"
+ id="stop3602" />
+ <stop
+ offset="1"
+ style="stop-color:#f0f0f0;stop-opacity:1;"
+ id="stop3604" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#ButtonShadow-0-1-1-5-9"
+ id="linearGradient4114-2-6"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0317796,0,0,1.0317796,-830.86406,592.67791)"
+ x1="1012.5133"
+ y1="484.41721"
+ x2="1006.8082"
+ y2="20.625916" />
+ <linearGradient
+ x1="45.447727"
+ y1="92.539597"
+ x2="45.447727"
+ y2="7.0165396"
+ id="ButtonShadow-0-1-1-5-9"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0058652,0,0,0.994169,100,0)">
+ <stop
+ id="stop3750-8-9-3-6-4"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop3752-5-6-4-2-9"
+ style="stop-color:#000000;stop-opacity:0.58823532"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#ButtonShadow-0-1-1-5-9"
+ id="linearGradient4112-2-6"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0402541,0,0,1.0402541,-837.95116,592.51825)"
+ x1="1012.5133"
+ y1="484.41721"
+ x2="1006.8082"
+ y2="20.625916" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#ButtonShadow-0-1-1-5-9"
+ id="linearGradient4110-6-7"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.023305,0,0,1.023305,-823.77704,592.83757)"
+ x1="1012.5133"
+ y1="484.41721"
+ x2="1006.8082"
+ y2="20.625916" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#ButtonShadow-0-1-1-5-9"
+ id="linearGradient4116-6-3"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0148305,0,0,1.0148305,-816.68996,592.99723)"
+ x1="1012.5133"
+ y1="484.41721"
+ x2="1006.8082"
+ y2="20.625916" />
+ <linearGradient
+ y2="20.625916"
+ x2="1006.8082"
+ y1="484.41721"
+ x1="1012.5133"
+ gradientTransform="matrix(1.0074153,0,0,1.0074153,-810.48879,593.1369)"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient5342-3"
+ xlink:href="#ButtonShadow-0-1-1-5-9"
+ inkscape:collect="always" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3737-9"
+ id="linearGradient4084-8"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(778.59979,-360.55963)"
+ x1="993.43896"
+ y1="51.511765"
+ x2="988.78552"
+ y2="363.73825" />
+ <linearGradient
+ id="linearGradient3737-9">
+ <stop
+ id="stop3739-7"
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop3741-4"
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="1" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4046-3"
+ id="linearGradient4086-12"
+ gradientUnits="userSpaceOnUse"
+ x1="1764.6487"
+ y1="155.59685"
+ x2="1763.6903"
+ y2="-55.941216" />
+ <linearGradient
+ id="linearGradient4046-3">
+ <stop
+ id="stop4048-7"
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="0" />
+ <stop
+ id="stop4050-73"
+ style="stop-color:#ffffff;stop-opacity:0.2"
+ offset="1" />
+ </linearGradient>
+ </defs>
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:groupmode="layer"
+ inkscape:label="Livello 1"
+ transform="translate(0,-540.36218)" />
+ <g
+ id="g2036"
+ transform="matrix(1.1,0,0,0.44444,95.081063,256.39254)">
+ <g
+ id="g3712"
+ style="opacity:0.4"
+ transform="matrix(1.0526,0,0,1.2857,-1.2632,-13.429)" />
+ </g>
+ <g
+ transform="translate(97.481063,231.28154)"
+ id="g3541" />
+ <g
+ transform="translate(97.481063,231.28154)"
+ id="g3536" />
+ <g
+ id="g4103"
+ transform="translate(-11.985071,-592.11719)">
+ <rect
+ ry="101.45834"
+ y="612.11719"
+ x="31.985071"
+ height="487"
+ width="487"
+ id="rect6187"
+ style="opacity:0.1;color:#000000;fill:url(#linearGradient4114-2-6);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <rect
+ style="opacity:0.07999998;color:#000000;fill:url(#linearGradient4112-2-6);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect6191"
+ width="491"
+ height="491"
+ x="31.985071"
+ y="612.11719"
+ ry="102.29167" />
+ <rect
+ style="opacity:0.2;color:#000000;fill:url(#linearGradient4110-6-7);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect6183"
+ width="483"
+ height="483"
+ x="31.985071"
+ y="612.11719"
+ ry="100.62501" />
+ <rect
+ ry="99.791664"
+ y="612.11719"
+ x="31.985071"
+ height="479"
+ width="479"
+ id="rect6179"
+ style="opacity:0.25;color:#000000;fill:url(#linearGradient4116-6-3);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <rect
+ style="opacity:0.25;color:#000000;fill:url(#linearGradient5342-3);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="rect5574"
+ width="475.5"
+ height="475.5"
+ x="31.985071"
+ y="612.11719"
+ ry="99.0625" />
+ </g>
+ <path
+ style="fill:#7ac82a;stroke:none;fill-opacity:1"
+ d="M 118.34375,20 C 63.867087,20 20,63.867084 20,118.34375 l 0,23.0625 0,252.25 C 20,448.13291 63.867087,492 118.34375,492 l 275.3125,0 C 448.13292,492 492,448.13291 492,393.65625 l 0,-252.25 0,-23.0625 C 492,63.867084 448.13292,20 393.65625,20 l -275.3125,0 z"
+ id="rect5505"
+ inkscape:connector-curvature="0" />
+ <g
+ id="g4076"
+ transform="translate(-605.51932,-353.96833)">
+ <g
+ transform="translate(-926.66758,684.38448)"
+ id="g4038" />
+ </g>
+ <g
+ id="g4076-9"
+ transform="translate(-605.51937,-353.96833)">
+ <g
+ transform="translate(-926.66758,684.38448)"
+ id="g4038-9">
+ <path
+ inkscape:connector-curvature="0"
+ style="opacity:0.5;color:#000000;fill:url(#linearGradient4084-8);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="m 1650.4994,-310.41615 c -54.4767,0 -98.3125,43.83583 -98.3125,98.3125 l 0,275.343747 c 0,54.476673 43.8358,98.343753 98.3125,98.343753 l 2.9375,0 c -53.3225,0 -96.25,-42.9275 -96.25,-96.250003 l 0,-269.499997 c 0,-53.3225 42.9275,-96.25 96.25,-96.25 l 269.5001,0 c 53.3225,0 96.25,42.9275 96.25,96.25 l 0,269.499997 c 0,53.322503 -42.9275,96.250003 -96.25,96.250003 l 2.9062,0 c 54.4767,0 98.3438,-43.86708 98.3438,-98.343753 l 0,-275.343747 c 0,-54.47667 -43.8671,-98.3125 -98.3438,-98.3125 l -275.3438,0 z"
+ id="rect6809-2-3" />
+ <path
+ id="path3981-7"
+ d="m 1650.4994,161.58385 c -54.4767,0 -98.3125,-43.83583 -98.3125,-98.312503 l 0,-275.343747 c 0,-54.47667 43.8358,-98.34375 98.3125,-98.34375 l 2.9375,0 c -53.3225,0 -96.25,42.9275 -96.25,96.25 l 0,269.499997 c 0,53.322503 42.9275,96.250003 96.25,96.250003 l 269.5001,0 c 53.3225,0 96.25,-42.9275 96.25,-96.250003 l 0,-269.499997 c 0,-53.3225 -42.9275,-96.25 -96.25,-96.25 l 2.9062,0 c 54.4767,0 98.3438,43.86708 98.3438,98.34375 l 0,275.343747 c 0,54.476673 -43.8671,98.312503 -98.3438,98.312503 l -275.3438,0 z"
+ style="opacity:0.2;color:#000000;fill:url(#linearGradient4086-12);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ inkscape:connector-curvature="0" />
+ </g>
+ </g>
+ <path
+ style="fill:#000000;fill-opacity:0.23529412"
+ d="m 400.375,106 -288.75,129.34375 256.90625,256.65525 25.125,0 C 448.13292,492 492,448.13291 492,393.65625 L 492,199.9375 C 492,199.9375 400.36057,106 400.375,106 z M 187.53125,332.125 181.75,397.21875 277.4063,492 364.0313,492 244.125,372.21875 c -17.41991,-13.0116 -37.94646,-27.0038 -56.59375,-40.09375 z"
+ id="path3942"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccsscccccccc" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path3121"
+ d="M 400.36058,106 111.63942,235.35619 196.78601,300.89627 337.47949,182.64362 233.0186,331.48943 332.45368,406 400.36057,106 z m -212.83726,226.13227 -5.78553,65.07256 62.73499,-25.09983 -56.94945,-39.97273 z"
+ style="fill:#ffffff" />
+</svg>
View
@@ -0,0 +1 @@
+module.exports = Franz => Franz;
View
@@ -0,0 +1,23 @@
+{
+ "name": "Airdroid",
+ "version": "1.0.0",
+ "description": "AirDroid allows you to access and manage your Android phone or tablet from Windows, Mac or the Web, wirelessly, for free. Transfer files between your devices, and share files to your friends.",
+ "main": "index.js",
+ "author": "David Sipos <sipos22@msn.com>",
+ "license": "MIT",
+ "config": {
+ "serviceURL": "http://web.airdroid.com/",
+ "serviceName": "Airdroid",
+ "message": "AirDroid allows you to access and manage your Android phone or tablet from Windows, Mac or the Web, wirelessly, for free. Transfer files between your devices, and share files to your friends.",
+ "popup": [],
+ "hasNotificationSound": true,
+ "hasIndirectMessages": false,
+ "hasTeamID": false,
+ "customURL": false,
+ "hostedOnly": false,
+ "webviewOptions": {
+ "disablewebsecurity": ""
+ },
+ "openDevTools": false
+ }
+}
View
@@ -0,0 +1,15 @@
+// orat.io integration
+module.exports = (Franz, options) => {
+ function getMessages() {
+ const count = {};
+ const FranzData = document.querySelector('#FranzMessages').dataset;
+ if (FranzData) {
+ count.count = FranzData.direct;
+ count.count_indirect = FranzData.indirect;
+ }
+
+ Franz.setBadge(count);
+ }
+
+ Franz.loop(getMessages);
+}

0 comments on commit 82422c8

Please sign in to comment.