grey_filter fixed

This commit is contained in:
Bigsk 2022-12-29 15:00:26 +08:00
parent f5b27ba23a
commit 8157a6006f
18 changed files with 252 additions and 252 deletions

View File

@ -152,12 +152,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%)',
@ -169,23 +169,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({

View File

@ -152,12 +152,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%)',
@ -169,23 +169,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({

View File

@ -297,12 +297,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%)',
@ -314,23 +314,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({

View File

@ -297,12 +297,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%)',
@ -314,23 +314,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({

View File

@ -237,12 +237,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%)',
@ -254,23 +254,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({

View File

@ -237,12 +237,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%)',
@ -254,23 +254,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({

View File

@ -118,12 +118,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%)',
@ -135,23 +135,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({

View File

@ -172,12 +172,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%)',
@ -189,23 +189,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({

View File

@ -172,12 +172,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%)',
@ -189,23 +189,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({

View File

@ -182,12 +182,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%)',
@ -199,23 +199,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({

View File

@ -182,12 +182,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%)',
@ -199,23 +199,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({

View File

@ -182,12 +182,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%)',
@ -199,23 +199,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({

View File

@ -182,12 +182,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%)',
@ -199,23 +199,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({

View File

@ -119,12 +119,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%)',
@ -136,23 +136,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({

View File

@ -119,12 +119,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%)',
@ -136,23 +136,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({

View File

@ -177,12 +177,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%)',
@ -194,23 +194,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({

View File

@ -177,12 +177,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%)',
@ -194,23 +194,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({

View File

@ -118,12 +118,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%)',
@ -135,23 +135,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({