Version 1.3.0.0
Fresh look, fresh code. Special thanks @perdolka for the porting from png to svg
@ -631,9 +631,9 @@ function setBadgedStatus()
|
||||
function changeIcon()
|
||||
{
|
||||
if(storage.globalStatus){
|
||||
browser.browserAction.setIcon({path: "img/icon128.png"});
|
||||
browser.browserAction.setIcon({path: "img/clearurls.svg"});
|
||||
} else{
|
||||
browser.browserAction.setIcon({path: "img/icon128_g.png"});
|
||||
browser.browserAction.setIcon({path: "img/clearurls_gray.svg"});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<span class="navbar-brand">
|
||||
<span class="pull-left"><img src="../img/icon38.png"
|
||||
<span class="pull-left"><img src="../img/clearurls.svg"
|
||||
width="30" height="30" alt=""></span>
|
||||
<span style="color: #FF7800;" class="pull-right" id="page_title"></span><br />
|
||||
<span class="label label-warning pull-left small-version"
|
||||
|
@ -19,7 +19,7 @@
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<span class="navbar-brand">
|
||||
<span class="pull-left"><img src="../img/icon38.png"
|
||||
<span class="pull-left"><img src="../img/clearurls.svg"
|
||||
width="30" height="30" alt=""></span>
|
||||
<span style="color: #FF7800;" class="pull-right">
|
||||
ClearURLs
|
||||
|
@ -23,7 +23,7 @@
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<span class="navbar-brand">
|
||||
<span class="pull-left"><img src="../img/icon38.png"
|
||||
<span class="pull-left"><img src="../img/clearurls.svg"
|
||||
width="30" height="30" alt=""></span>
|
||||
<span style="color: #FF7800;" class="pull-right" id="page_title"></span><br />
|
||||
<span class="label label-warning pull-left small-version"
|
||||
|
60
img/clearurls.svg
Normal file
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
viewBox="268 268 64 64"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="clearurls.svg"
|
||||
inkscape:version="0.92.1 r15371">
|
||||
<metadata
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.375"
|
||||
inkscape:cx="1.898305"
|
||||
inkscape:cy="10.692116"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg8" />
|
||||
<path
|
||||
d="M290 276v-4c0-2 2-4 4-4h12c2 0 4 2 4 4v4h12c2 0 4 2 4 4v8h-4l-2.5 37.5c-.5 3.5-3.5 6.5-7 6.5h-24.9c-4 0-7-3-7-6.5L278 288h-4v-8c0-2.6 2-4 4-4h12z"
|
||||
id="path2" />
|
||||
<path
|
||||
fill="#F47721"
|
||||
d="M313 327.5h-26c-1.5 0-2.5-.5-2.5-2l-2-37.5h35l-2 37.5c-.4 1.5-1.5 2-2.5 2zm-19-56h12v4h-12v-4zm-16 8.5h44v4h-44v-4z"
|
||||
id="path4" />
|
||||
<path
|
||||
d="m 298.0339,293.94068 h 3.76271 L 302,319.5 h -4 z M 293,319.7 l -4,0.3 -1.5,-26 h 4 z m 14.3,0 3.7,0.3 1.5,-26 h -4 z"
|
||||
id="path6"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccccccccccc" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
60
img/clearurls_gray.svg
Normal file
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
viewBox="268 268 64 64"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="cleaurls_empty.svg"
|
||||
inkscape:version="0.92.1 r15371">
|
||||
<metadata
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:zoom="14.75"
|
||||
inkscape:cx="42.059243"
|
||||
inkscape:cy="34.313231"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg8" />
|
||||
<path
|
||||
d="M290 276v-4c0-2 2-4 4-4h12c2 0 4 2 4 4v4h12c2 0 4 2 4 4v8h-4l-2.5 37.5c-.5 3.5-3.5 6.5-7 6.5h-24.9c-4 0-7-3-7-6.5L278 288h-4v-8c0-2.6 2-4 4-4h12z"
|
||||
id="path2" />
|
||||
<path
|
||||
fill="#B9B9B9"
|
||||
d="M313 327.5h-26c-1.5 0-2.5-.5-2.5-2l-2-37.5h35l-2 37.5c-.4 1.5-1.5 2-2.5 2zm-19-56h12v4h-12v-4zm-16 8.5h44v4h-44v-4z"
|
||||
id="path4" />
|
||||
<path
|
||||
d="m 298.09588,293.93145 h 3.85618 L 302,319.5 h -4 z M 293,319.7 l -4,0.3 -1.5,-26 h 4 z m 14.3,0 3.7,0.3 1.5,-26 h -4 z"
|
||||
id="path6"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccccccccccc" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
BIN
img/icon128.png
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 6.7 KiB |
BIN
img/icon19.png
Before Width: | Height: | Size: 3.4 KiB |
BIN
img/icon32.png
Before Width: | Height: | Size: 3.7 KiB |
BIN
img/icon38.png
Before Width: | Height: | Size: 4.1 KiB |
BIN
img/icon48.png
Before Width: | Height: | Size: 4.1 KiB |
BIN
img/icon512.png
Before Width: | Height: | Size: 14 KiB |
BIN
img/icon64.png
Before Width: | Height: | Size: 4.3 KiB |
BIN
img/icon96.png
Before Width: | Height: | Size: 5.6 KiB |
@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "ClearURLs",
|
||||
"version": "1.2.2.22",
|
||||
"version": "1.3.0.0",
|
||||
"author": "Kevin R.",
|
||||
"description": "Remove tracking elements form URLs.",
|
||||
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
||||
@ -12,16 +12,16 @@
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"32": "img/icon32.png",
|
||||
"48": "img/icon48.png",
|
||||
"64": "img/icon64.png",
|
||||
"96": "img/icon96.png"
|
||||
"32": "img/clearurls.svg",
|
||||
"48": "img/clearurls.svg",
|
||||
"64": "img/clearurls.svg",
|
||||
"96": "img/clearurls.svg"
|
||||
},
|
||||
"browser_action": {
|
||||
"browser_style": true,
|
||||
"default_icon": {
|
||||
"19": "img/icon19.png",
|
||||
"38": "img/icon38.png"
|
||||
"19": "img/clearurls.svg",
|
||||
"38": "img/clearurls.svg"
|
||||
},
|
||||
"default_title": "ClearURLs Add-on",
|
||||
"default_popup": "html/popup.html"
|
||||
|