Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session replay fix #122

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
17 changes: 10 additions & 7 deletions css/googleFearch.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
#sfdiv {
display: none;
display: none;
}

#hdtb-msb {
display: none;
display: none;
}

#sbds {
display: none;
display: none;
}
#fearchText{
padding: 13px;
font-size: 200%;
color: #6a6a6a;

#fearchText {
padding: 13px;
font-size: 200%;
color: #6a6a6a;
}
768 changes: 384 additions & 384 deletions manifest.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions options/css/options.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.main {
width: 200px;
height: 200px;
}
width: 200px;
height: 200px;
}
36 changes: 16 additions & 20 deletions options/js/options.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@

var radios = document.getElementsByName('theme');

if(!localStorage.getItem('theme'))
localStorage.setItem('theme', 'light');
if (!localStorage.getItem('theme'))
localStorage.setItem('theme', 'light');

if(localStorage.getItem('theme') == 'light')
{
console.log("light");
radios[0].checked = true;
}
else
{
console.log("dark");
radios[1].checked = true;
if (localStorage.getItem('theme') == 'light') {
console.log("light");
radios[0].checked = true;
} else {
console.log("dark");
radios[1].checked = true;
}

function handleThemeChange(event) {
if(event.target.value == 'light')
localStorage.setItem('theme', 'light');
else
localStorage.setItem('theme', 'dark');
if (event.target.value == 'light')
localStorage.setItem('theme', 'light');
else
localStorage.setItem('theme', 'dark');
}

document.addEventListener("DOMContentLoaded", function () {
var radios = document.getElementsByName('theme');
radios[0].addEventListener('click', handleThemeChange);
radios[1].addEventListener('click', handleThemeChange);
document.addEventListener("DOMContentLoaded", function() {
var radios = document.getElementsByName('theme');
radios[0].addEventListener('click', handleThemeChange);
radios[1].addEventListener('click', handleThemeChange);
});
19 changes: 10 additions & 9 deletions options/options.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
<!DOCTYPE html>

<html>

<head>
<title>Fearch - Options</title>
<link href="css/options.css" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<title>Fearch - Options</title>
<link href="css/options.css" rel="stylesheet" type="text/css">
<meta charset="utf-8">
</head>

<body>
<div class="main">
<form>
<label>
<div class="main">
<form>
<label>
<b>Select theme</b>
<br />
<input type="radio" name="theme" value="light"> Light<br>
<input type="radio" name="theme" value="dark"> Dark<br>
</label>
</form>
</div>
<script src="js/options.js"></script>
</form>
</div>
<script src="js/options.js"></script>
</body>

</html>
162 changes: 81 additions & 81 deletions popup/css/popup.css
Original file line number Diff line number Diff line change
@@ -1,152 +1,152 @@
#header {
margin-bottom: 30px;
font-family: monospace;
font-size: 200%;
height: 60px;
width: 385px;
text-align: center;
display: inline-block;
margin-bottom: 30px;
font-family: monospace;
font-size: 200%;
height: 60px;
width: 385px;
text-align: center;
display: inline-block;
}

body {
min-width: 379px;
font-size: 100%;
font-family: "sans-serif", Arial, Helvetica;
background-color: white;
margin: 0;
min-width: 379px;
font-size: 100%;
font-family: "sans-serif", Arial, Helvetica;
background-color: white;
margin: 0;
}

.dark {
background: rgb(25, 50, 76);
background: rgb(25, 50, 76);
}

.dark-label {
color: #FFF;
color: #FFF;
}

#main {
padding-top: 2.5em;
padding-top: 2.5em;
}

#searchButton {
border: 0px;
background: none;
opacity: 0.6;
cursor: pointer;
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
border: 0px;
background: none;
opacity: 0.6;
cursor: pointer;
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

#searchButton:hover {
opacity: 1;
cursor: pointer;
opacity: 1;
cursor: pointer;
}

#searchIcon {
height: 30px;
width: 30px;
height: 30px;
width: 30px;
}

#query {
border: 0px;
padding: 10px;
border: 0px;
padding: 10px;
}

input:focus {
outline: none;
outline: none;
}

#main form table {
width: 385px;
color: black;
width: 385px;
color: black;
}

#main #query {
font-size: 100%;
width: 270px;
font-size: 100%;
width: 270px;
}

#main form table tr td {
height: 40px;
text-align: center;
height: 40px;
text-align: center;
}

#searchButton {
style: none;
style: none;
}

#suggest {
position: relative;
height: 40px;
margin: 0px auto;
position: relative;
height: 40px;
margin: 0px auto;
}

#suggest-label {
border: 1px solid #FF5A00;
opacity: 0.5;
color: #FF5A00;
padding: 4px;
font-size: 75%;
text-align: center;
display: inline-block;
border-radius: 2px;
transition: all 0.5s;
border: 1px solid #FF5A00;
opacity: 0.5;
color: #FF5A00;
padding: 4px;
font-size: 75%;
text-align: center;
display: inline-block;
border-radius: 2px;
transition: all 0.5s;
}

#suggest-label:hover {
opacity: 1;
opacity: 1;
}

.card {
padding: 4px;
background: #fff;
border-radius: 2px;
display: inline-flex;
margin: 1rem;
position: relative;
padding: 4px;
background: #fff;
border-radius: 2px;
display: inline-flex;
margin: 1rem;
position: relative;
}

#searchBox {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

#searchBox:hover {
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

#searchBox:focus {
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

#searchWarning {
border: 1px solid tomato;
color: tomato;
padding: 4px;
font-size: 75%;
text-align: center;
position: absolute;
margin: 0px auto;
border-radius: 2px;
left: 30%;
bottom: 40%;
border: 1px solid tomato;
color: tomato;
padding: 4px;
font-size: 75%;
text-align: center;
position: absolute;
margin: 0px auto;
border-radius: 2px;
left: 30%;
bottom: 40%;
}

#checkboxWarning {
border: 1px solid tomato;
color: tomato;
padding: 4px;
font-size: 75%;
text-align: center;
position: absolute;
margin: 0px auto;
border-radius: 2px;
left: 18%;
bottom: 6%;
border: 1px solid tomato;
color: tomato;
padding: 4px;
font-size: 75%;
text-align: center;
position: absolute;
margin: 0px auto;
border-radius: 2px;
left: 18%;
bottom: 6%;
}

.gear {
margin-right: 10px;
margin-top: 10px;
float: right;
height: 10px;
margin-right: 10px;
margin-top: 10px;
float: right;
height: 10px;
}
Loading