Updating for Chrome Store release 1.1

This commit is contained in:
Will Bradley 2014-02-07 15:15:09 -07:00
parent 5ac6fb7d47
commit 784f351933
5 changed files with 161 additions and 5 deletions

2
README
View File

@ -1,5 +1,5 @@
This Chrome extension puts a resize button inside the Freshbooks Timer so you can quickly resize the window and continue working with it in the corner of your screen.
TO INSTALL: Download this (if it's zipped, unzip it) to a convenient location. Then in Chrome go to chrome://extensions/ and click Load Unpacked Extension. Choose the folder that contains these files.
TO INSTALL: Download this (if it's zipped, unzip it) to a convenient location. Then in Chrome go to chrome://extensions/ and click Load Unpacked Extension (click Developer Mode if needed.) Choose the folder that contains these files.
Written by Will Bradley, 2013, released to the public domain (see the UNLICENSE file for more.)

153
icon.svg Normal file
View File

@ -0,0 +1,153 @@
<?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="744.09448819"
height="1052.3622047"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="New document 1">
<defs
id="defs4">
<linearGradient
id="linearGradient3793">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3795" />
<stop
style="stop-color:#e2e4e2;stop-opacity:1;"
offset="1"
id="stop3797" />
</linearGradient>
<linearGradient
id="linearGradient3771">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3773" />
<stop
style="stop-color:#ffffff;stop-opacity:0.86153847;"
offset="1"
id="stop3775" />
</linearGradient>
<linearGradient
id="linearGradient3759">
<stop
style="stop-color:#00c400;stop-opacity:1;"
offset="0"
id="stop3761" />
<stop
style="stop-color:#c2ff95;stop-opacity:1;"
offset="1"
id="stop3763" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3759"
id="linearGradient3765"
x1="89.584274"
y1="557.56055"
x2="637.22424"
y2="557.56055"
gradientUnits="userSpaceOnUse"
spreadMethod="pad" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3759"
id="linearGradient3791"
gradientUnits="userSpaceOnUse"
spreadMethod="pad"
x1="89.584274"
y1="557.56055"
x2="637.22424"
y2="557.56055" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3793"
id="linearGradient3803"
x1="295.35715"
y1="550.93359"
x2="421.78571"
y2="330.93359"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="421.68342"
inkscape:cy="520"
inkscape:document-units="px"
inkscape:current-layer="g3787"
showgrid="false"
inkscape:window-width="1040"
inkscape:window-height="780"
inkscape:window-x="147"
inkscape:window-y="215"
inkscape:window-maximized="0" />
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g3787"
transform="translate(-2.8571429,14.285714)">
<path
sodipodi:nodetypes="czc"
inkscape:connector-curvature="0"
id="path2989"
d="m 636.72425,332.04125 c 0,0 -388.08198,751.35415 -527.47846,331.23631 C -30.150677,243.15968 636.72425,332.04125 636.72425,332.04125 z"
style="fill:url(#linearGradient3791);fill-opacity:1;stroke:#3a6d3a;stroke-width:7.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path3767"
d="m 171.42857,766.6479 c 0,0 -17.14286,-382.85715 457.14286,-431.42857"
style="fill:none;stroke:#48ac1c;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
<g
id="g3783">
<path
transform="translate(142,209.42858)"
d="m 491.42857,453.79074 a 141.42857,141.42857 0 1 1 -282.85714,0 141.42857,141.42857 0 1 1 282.85714,0 z"
sodipodi:ry="141.42857"
sodipodi:rx="141.42857"
sodipodi:cy="453.79074"
sodipodi:cx="350"
id="path3769"
style="fill:url(#linearGradient3803);fill-opacity:1;stroke:#000000;stroke-width:15;stroke-miterlimit:4;stroke-opacity:0.57534247999999999;stroke-dasharray:none"
sodipodi:type="arc" />
<path
inkscape:connector-curvature="0"
id="path3781"
d="m 495.62273,570.46005 0,101.13654 47.04025,-47.04025"
style="fill:none;stroke:#000000;stroke-width:7.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
icon128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
icon48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,13 +1,16 @@
{
"manifest_version": 2,
"name": "Freshbooks Timer Resizer",
"description": "This extension lets you easily minimize the Freshbooks Timesheet timer window.",
"version": "1.0",
"name": "Timer Resizer for FreshBooks",
"description": "This extension lets you easily minimize the FreshBooks Timesheet / Time Tracking timer window to give you more screen space while you work. (Not affiliated with or endorsed by FreshBooks in any way.)",
"version": "1.1",
"icons": { "48": "icon48.png",
"128": "icon128.png" },
"content_scripts": [
{
"matches": ["https://*.freshbooks.com/internal.php*"],
"matches": ["https://*.freshbooks.com/internal*"],
"js": ["freshbooks-resizer.js","injected.js"]
}
],