grey_filter fixed
This commit is contained in:
parent
f65cec7057
commit
16bc36852f
102
en_US/about.html
102
en_US/about.html
@ -130,59 +130,59 @@
|
||||
</div>
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="https://cdn.ghink.net/js/jquery/jquery-3.6.0.min.js"></script><!-- Grey Filter Detector -->
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/gray_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["accurate_slot"][i][0] && Date.now()/1000 <= data["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/grey_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["content"]["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][0][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][1][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][0][0].toString() + "-" +
|
||||
data["day_slot"][i][0][1].toString() + " " +
|
||||
data["day_slot"][i][0][2].toString() + ":" +
|
||||
data["day_slot"][i][0][3].toString() + ":" +
|
||||
data["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][1][0].toString() + "-" +
|
||||
data["day_slot"][i][1][1].toString() + " " +
|
||||
data["day_slot"][i][1][2].toString() + ":" +
|
||||
data["day_slot"][i][1][3].toString() + ":" +
|
||||
data["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
<!-- owl carousel -->
|
||||
<script src="https://cdn.ghink.net/site/ghink/v2/js/owl.carousel.js"></script>
|
||||
<!-- script for tesimonials carousel slider -->
|
||||
|
102
en_US/index.html
102
en_US/index.html
@ -176,59 +176,59 @@
|
||||
</div>
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="https://cdn.ghink.net/js/jquery/jquery-3.6.0.min.js"></script><!-- Grey Filter Detector -->
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/gray_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["accurate_slot"][i][0] && Date.now()/1000 <= data["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/grey_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["content"]["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][0][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][1][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][0][0].toString() + "-" +
|
||||
data["day_slot"][i][0][1].toString() + " " +
|
||||
data["day_slot"][i][0][2].toString() + ":" +
|
||||
data["day_slot"][i][0][3].toString() + ":" +
|
||||
data["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][1][0].toString() + "-" +
|
||||
data["day_slot"][i][1][1].toString() + " " +
|
||||
data["day_slot"][i][1][2].toString() + ":" +
|
||||
data["day_slot"][i][1][3].toString() + ":" +
|
||||
data["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
<!-- owl carousel -->
|
||||
<script src="https://cdn.ghink.net/site/ghink/v2/js/owl.carousel.js"></script>
|
||||
<!-- script for tesimonials carousel slider -->
|
||||
|
102
zh_CN/about.html
102
zh_CN/about.html
@ -130,59 +130,59 @@
|
||||
</div>
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="https://cdn.ghink.net/js/jquery/jquery-3.6.0.min.js"></script><!-- Grey Filter Detector -->
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/gray_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["accurate_slot"][i][0] && Date.now()/1000 <= data["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/grey_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["content"]["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][0][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][1][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][0][0].toString() + "-" +
|
||||
data["day_slot"][i][0][1].toString() + " " +
|
||||
data["day_slot"][i][0][2].toString() + ":" +
|
||||
data["day_slot"][i][0][3].toString() + ":" +
|
||||
data["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][1][0].toString() + "-" +
|
||||
data["day_slot"][i][1][1].toString() + " " +
|
||||
data["day_slot"][i][1][2].toString() + ":" +
|
||||
data["day_slot"][i][1][3].toString() + ":" +
|
||||
data["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
'-ms-filter': 'grayscale(100%)',
|
||||
'-o-filter': 'grayscale(100%)',
|
||||
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
|
||||
'_filter': 'none'
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
<!-- owl carousel -->
|
||||
<script src="https://cdn.ghink.net/site/ghink/v2/js/owl.carousel.js"></script>
|
||||
<!-- script for tesimonials carousel slider -->
|
||||
|
@ -179,12 +179,12 @@
|
||||
<script>
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://open.geh.ink/gray_filter",
|
||||
url: "https://open.geh.ink/grey_filter",
|
||||
dataType: "json",
|
||||
success: function(data, textStatus){
|
||||
for (let i=0;i<data["accurate_slot"].length;i++) {
|
||||
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
|
||||
// Accurate Slot
|
||||
if (Date.now()/1000 >= data["accurate_slot"][i][0] && Date.now()/1000 <= data["accurate_slot"][i][1]) {
|
||||
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
|
||||
$("html").css({
|
||||
'-webkit-filter': 'grayscale(100%)',
|
||||
'-moz-filter': 'grayscale(100%)',
|
||||
@ -196,23 +196,23 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (let i=0;i<data["day_slot"].length;i++) {
|
||||
for (let i=0;i<data["content"]["day_slot"].length;i++) {
|
||||
// Day Slot
|
||||
let begin = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][0][0].toString() + "-" +
|
||||
data["day_slot"][i][0][1].toString() + " " +
|
||||
data["day_slot"][i][0][2].toString() + ":" +
|
||||
data["day_slot"][i][0][3].toString() + ":" +
|
||||
data["day_slot"][i][0][4].toString()
|
||||
data["content"]["day_slot"][i][0][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][0][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][0][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][0][4].toString()
|
||||
)
|
||||
let end = new Date(
|
||||
date.getFullYear().toString() + "-" +
|
||||
data["day_slot"][i][1][0].toString() + "-" +
|
||||
data["day_slot"][i][1][1].toString() + " " +
|
||||
data["day_slot"][i][1][2].toString() + ":" +
|
||||
data["day_slot"][i][1][3].toString() + ":" +
|
||||
data["day_slot"][i][1][4].toString()
|
||||
data["content"]["day_slot"][i][1][0].toString() + "-" +
|
||||
data["content"]["day_slot"][i][1][1].toString() + " " +
|
||||
data["content"]["day_slot"][i][1][2].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][3].toString() + ":" +
|
||||
data["content"]["day_slot"][i][1][4].toString()
|
||||
)
|
||||
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
|
||||
$("html").css({
|
||||
|
Loading…
Reference in New Issue
Block a user