Compare commits
No commits in common. "anfangsunfug" and "master" have entirely different histories.
anfangsunf
...
master
@ -7,16 +7,9 @@ function click_handler(ziel) {
|
|||||||
} else {
|
} else {
|
||||||
entferneKeks();
|
entferneKeks();
|
||||||
}
|
}
|
||||||
geheNachKeks(ziel);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function geheNachKeks(ziel) {
|
|
||||||
var echtesZiel = "https://im.c-base.org" + keks;
|
|
||||||
console.log("gegeNach: " + echtesZiel)
|
|
||||||
window.location.replace(echtesZiel);
|
|
||||||
}
|
|
||||||
|
|
||||||
function setzeKeks(ziel) {
|
function setzeKeks(ziel) {
|
||||||
console.log("setzen");
|
console.log("setzen");
|
||||||
wirklichsetzeKeks(ziel, 30);
|
wirklichsetzeKeks(ziel, 30);
|
||||||
@ -38,10 +31,9 @@ function allewegefuehrennachKeks() {
|
|||||||
var keks = getCookie("ziel");
|
var keks = getCookie("ziel");
|
||||||
if (keks != "") {
|
if (keks != "") {
|
||||||
setzeKeks(keks);
|
setzeKeks(keks);
|
||||||
geheNachKeks(keks)
|
console.log("Do redirect here: " + keks);
|
||||||
// console.log("Do redirect here: " + keks);
|
|
||||||
// Simulate an HTTP redirect:
|
// Simulate an HTTP redirect:
|
||||||
//window.location.replace("https://im.c-base.org" + keks);
|
// window.location.replace("http://www.w3schools.com");
|
||||||
} else {
|
} else {
|
||||||
console.log("Ohne Keks keine Äktschn.");
|
console.log("Ohne Keks keine Äktschn.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user