From 33f3c689591df1e94d8a139ba96a632893703bf9 Mon Sep 17 00:00:00 2001 From: BurungHantu1605 Date: Sun, 5 May 2019 11:04:52 +0800 Subject: [PATCH] Improved icon feature --- _includes/cardv2.html | 26 ++++++++-- _includes/sections/browser-addons.html | 72 +++++++++++++------------- 2 files changed, 59 insertions(+), 39 deletions(-) diff --git a/_includes/cardv2.html b/_includes/cardv2.html index d07b1896..c246f9a2 100644 --- a/_includes/cardv2.html +++ b/_includes/cardv2.html @@ -4,18 +4,38 @@

- {{include.title}} + {{include.title}} {{include.description}}

Website {% if include.discussion %} - iscussion + Forum {% endif %} {% if include.tor %} Tor {% endif %}
- {{include.icon1}}{{include.icon2}}{{include.icon3}}{{include.icon4}}{{include.icon5}}{{include.icon6}}{{include.icon7}}{{include.icon8}} + {% if include.firefox %}{% endif %} + {% if include.chrome %}{% endif %} + {% if include.safari %}{% endif %} + {% if include.opera %}{% endif %} + {% if include.edge %}{% endif %} + + {% if include.android %}{% endif %} + {% if include.ios %}{% endif %} + {% if include.fire %}{% endif %} + + {% if include.windows %}{% endif %} + {% if include.mac %}{% endif %} + {% if include.linux %}{% endif %} + {% if include.bsd %}{% endif %} + {% if include.web %}{% endif %} + + {% if include.github %}{% endif %} + {% if include.gitlab %}{% endif %} + {% if include.git %}{% endif %} + + {{include.icon1}}{{include.icon2}}{{include.icon3}}
diff --git a/_includes/sections/browser-addons.html b/_includes/sections/browser-addons.html index c682f631..c0d38293 100644 --- a/_includes/sections/browser-addons.html +++ b/_includes/sections/browser-addons.html @@ -11,11 +11,11 @@ image="/assets/img/addons/privacy-badger.png" description="Privacy Badger is a browser add-on that stops advertisers and other third-party trackers from secretly tracking where you go and what pages you look at on the web. Privacy Badger learns about trackers as you browse." website="https://www.eff.org/privacybadger" discussion="https://forum.privacytools.io/t/discussion-privacy-badger/265" -icon1='' -icon2='' -icon3='' -icon4='' -icon5='' +github="https://github.com/EFForg/privacybadger" +firefox="" +chrome="" +opera="" +android="" %} {% include cardv2.html @@ -24,13 +24,13 @@ image="/assets/img/addons/ublock-origin.png" description="uBlock Origin is an efficient wide-spectrum-blocker that's easy on memory, and yet can load and enforce thousands more filters than other popular blockers out there. It has no monetization strategy and is completely open source." website="https://addons.mozilla.org/firefox/addon/ublock-origin/" discussion="https://forum.privacytools.io/t/discussion-ublock-origin/266" -icon1='' -icon2='' -icon3='' -icon4='' -icon5='' -icon6='' -icon7='' +github="https://github.com/gorhill/uBlock/" +firefox="" +chrome="" +safari="" +opera="" +edge="" +android="" %} {% include cardv2.html @@ -39,9 +39,9 @@ image="/assets/img/addons/cookie-autodelete.png" description="Cookie AutoDelete automatically removes cookies when they are no longer used by open browser tabs. With the cookies, lingering sessions, as well as information used to spy on you, will be expunged." website="https://addons.mozilla.org/firefox/addon/cookie-autodelete/" discussion="https://forum.privacytools.io/t/discussion-cookie-autodelete/267" -icon1='' -icon2='' -icon3='' +github="https://github.com/Cookie-AutoDelete/Cookie-AutoDelete" +firefox="" +chrome="" %} {% include cardv2.html @@ -50,11 +50,11 @@ image="/assets/img/addons/https-everywhere.png" description="HTTPS Everywhere encrypts your communications with many major websites, making your browsing more secure. A collaboration between The Tor Project and the Electronic Frontier Foundation." website="https://www.eff.org/https-everywhere" discussion="https://forum.privacytools.io/t/discussion-https-everywhere/268" -icon1='' -icon2='' -icon3='' -icon4='' -icon5='' +github="https://github.com/EFForg/https-everywhere" +firefox="" +chrome="" +android="" +opera="" %} {% include cardv2.html @@ -63,10 +63,10 @@ image="/assets/img/addons/decentraleyes.png" description="Decentraleyes emulates Content Delivery Networks locally by intercepting requests, finding the required resource and injecting it into the environment. This all happens instantaneously, automatically, and no prior configuration is required." website="https://decentraleyes.org/" discussion="https://forum.privacytools.io/t/discussion-decentraleyes/269" -icon1='' -icon2='' -icon3='' -icon4='' +gitlab="https://git.synz.io/Synzvato/decentraleyes" +firefox="" +chrome="" +opera="" %} {% include cardv2.html @@ -75,11 +75,11 @@ image="/assets/img/addons/tosdr.png" description="Terms of Service; Didn’t Read “I have read and agree to the Terms” is the biggest lie on the web. This addon aims to fix that by grading websites based on their Terms of Service agreements and gives short summaries." website="https://tosdr.org/" discussion="https://forum.privacytools.io/t/discussion-decentraleyes/270" -icon1='' -icon2='' -icon3='' -icon4='' -icon5='' +github="https://github.com/tosdr/" +firefox="" +chrome="" +opera="" +safari="" %} @@ -93,10 +93,10 @@ image="/assets/img/addons/umatrix.png" description="uMatrix gives you control over the requests that websites make to other websites. Many websites integrate features which let other websites track you, such as Facebook Like Buttons or Google Analytics. This gives you greater and more fine-grained control over the information that you leak online." website="https://addons.mozilla.org/firefox/addon/umatrix/" discussion="https://forum.privacytools.io/t/discussion-umatrix/271" -icon1='' -icon2='' -icon3='' -icon4='' +github="https://github.com/gorhill/uMatrix" +firefox="" +chrome="" +opera="" %} {% include cardv2.html @@ -105,7 +105,7 @@ image="/assets/img/addons/noscript.png" description="NoScript is a highly customizable plugin to selectively allow JavaScript, Java, and Flash to run only on websites you trust. Not for casual users, it requires technical knowledge to configure." website="https://addons.mozilla.org/firefox/addon/noscript/" discussion="https://forum.privacytools.io/t/discussion-noscript-security-suite/272" -icon1='' -icon2='' -icon3='' +github="https://github.com/hackademix/noscript" +firefox="" +chrome="" %} \ No newline at end of file