Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pfe-blur.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pfe-grayscale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pfe-invert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/store_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
228 changes: 228 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" href="./images/icon128.png" type="image/png" sizes="128x128">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<title>Page Filter Effects</title>
<style>
body {
margin: 0px;
padding: 0px;
font-family: 'Roboto', sans-serif;
}
.content {
max-width: 1110px;
margin: 0 auto;
padding: 10px;
}

kbd {
padding: 3px;
border-radius: 5px;
background-color: #dfe1e552;
}

.center {
display: block;
margin: 0 auto;
text-align: center;

}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}

/* Hide the images by default */
.mySlides {
display: none;
}

/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}

/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
color: #000;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active, .dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
</style>
</head>
<body>
<div class="content">
<div class="center">
<img src="./images/icon128.png" alt="QR Code Host" />
<h1>Page Filter Effects</h1>

</div>

<p>Add filters to web pages. Fun effects for same old sites.</p>
<p>You can make any site Blur, Greyscale, Sepia, Bright, Invert using this tool.</p>
<p>If you want it as normal choose "Reset"</p>
<a href="https://chrome.google.com/webstore/detail/page-filter-effects/apnbkmkpchabofhbnmhbdbnlpkbcomkg"
target="_blank">
<img src="./images/store_badge.png">
</a>

<h2>Why?</h2>
<p>
I have build this tool to change color of FB so that Manager can not figure out that I am on Facebook from away. :p
</p>

<h2>Installation</h2>
<p>
Page Filter Effects is available on <a
href="https://chrome.google.com/webstore/detail/page-filter-effects/apnbkmkpchabofhbnmhbdbnlpkbcomkg"
target="_blank"></a>Chrome Web Store. No additional permissions are required to install.
</p>

<h2>Screenshot</h2>
<!-- Slideshow container -->
<div class="slideshow-container">

<!-- Full-width images with number and caption text -->
<div class="mySlides fade">
<img src="./images/pfe-blur.png" style="width:100%">
<div class="text">Blur</div>
</div>

<div class="mySlides fade">
<img src="./images/pfe-grayscale.png" style="width:100%">
<div class="text">Grayscale</div>
</div>

<div class="mySlides fade">
<img src="./images/pfe-invert.png" style="width:100%">
<div class="text">Invert Effect</div>
</div>

<!-- Next and previous buttons -->
<a class="prev" onclick="plusSlides(-1)">&#10094;</a>
<a class="next" onclick="plusSlides(1)">&#10095;</a>
</div>
<br>

<!-- The dots/circles -->
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>


<h2>Issues</h2>
<p>Feel free to submit issues and feature requests.</p>

<h2>License</h2>
<p>Copyright © 2020 Tushar Vaghela</p>
<p>Licensed under the <a href="http://opensource.org/licenses/MIT" target="_blank"> MIT license.</a>
</p>

<h2>Feedback | Suggestions | Contribution</h2>
<p>Contact Me at tusharvaghela@gmail.com</p>
<p>GitHub Repo at <a href="https://github.com/tusharv/PageFilterEffects" target="_blank">https://github.com/tusharv/PageFilterEffects</a></p>
</div>
<script>
var slideIndex = 1;
showSlides(slideIndex);

// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}

// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}

function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</body>
</html>
Loading