Redirect when user opens legacy page after some errors

This commit is contained in:
YourFriendlyNeighborhoodDealer 2019-03-13 10:08:33 +01:00
parent ac20abbb69
commit a0a21569a9

View file

@ -37,7 +37,7 @@ const motdShowCount = 3; /* Ammount of times to show motd */
var motd = "";
var lastestVersion = "";
const minMatchAmmount = 55; /* Minimum ammount to consider that two questions match during answering */
const minMatchAmmount = 15; /* Minimum ammount to consider that two questions match during answering */
const minResultMatchPercent = 99; /* Minimum ammount to consider that two questions match during saving */
const lengthDiffMultiplier = 10; /* Percent minus for length difference */
@ -673,7 +673,7 @@ function Main() {
m: "Fatál error. Check console (f12). Kattints az üzenetre az összes kérdés/válaszért manuális kereséshez!",
isSimple: true
}, undefined, function() {
GM_openInTab(serverAdress + 'legacy', {
GM_openInTab(serverAdress + 'lred', {
active: true
});
});
@ -1210,7 +1210,7 @@ function ShowAnswers(answers) {
m: "Nincs találat :( Kattints az üzenetre az összes kérdés/válaszért manuális kereséshez! Előfordulhat, hogy a tárgyat nem válsztottad ki a menüben.",
isSimple: true
}, undefined, function() {
GM_openInTab(serverAdress + 'legacy', {
GM_openInTab(serverAdress + 'lred', {
active: true
});
});