This commit is contained in:
ManeraKai 2023-03-09 20:50:22 +03:00
commit c8a6b7797a
4 changed files with 23 additions and 21 deletions

View File

@ -36,7 +36,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"excludeFromRedirecting": { "excludeFromRedirecting": {
"message": "Excluded from redirecting", "message": "Isključeno iz preusmjeravanja",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"importSettings": { "importSettings": {
@ -56,7 +56,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"showInPopup": { "showInPopup": {
"message": "Show in popup", "message": "Prikaži u skočnom prozoru",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"frontend": { "frontend": {
@ -80,7 +80,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"addYourFavoriteInstances": { "addYourFavoriteInstances": {
"message": "Add your favorite instances", "message": "Dodajte vaše omiljene instance",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"copyRaw": { "copyRaw": {
@ -90,14 +90,14 @@
"message": "Kopirano" "message": "Kopirano"
}, },
"redirectToOriginal": { "redirectToOriginal": {
"message": "Redirect to original", "message": "Preusmjerite prema originalnoj",
"description": "Used in context menus when right clicking on a page/tab" "description": "Used in context menus when right clicking on a page/tab"
}, },
"redirectLink": { "redirectLink": {
"message": "Pokušajte preusmjeriti ovu hipervezu", "message": "Pokušajte preusmjeriti",
"description": "Used in context menus when right clicking on a hyperlink" "description": "Used in context menus when right clicking on a hyperlink"
}, },
"about": { "about": {
"message": "About" "message": "O"
} }
} }

View File

@ -36,7 +36,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"excludeFromRedirecting": { "excludeFromRedirecting": {
"message": "Excluded from redirecting", "message": "Isključeno iz preusmjeravanja",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"importSettings": { "importSettings": {
@ -56,7 +56,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"showInPopup": { "showInPopup": {
"message": "Show in popup", "message": "Pokaži u skočnom prozoru",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"frontend": { "frontend": {
@ -80,7 +80,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"addYourFavoriteInstances": { "addYourFavoriteInstances": {
"message": "Add your favorite instances", "message": "Dodajte svoje omiljene instance",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"copyRaw": { "copyRaw": {
@ -90,14 +90,14 @@
"message": "Kopirano" "message": "Kopirano"
}, },
"redirectToOriginal": { "redirectToOriginal": {
"message": "Redirect to original", "message": "Preusmjeri prema originalnoj",
"description": "Used in context menus when right clicking on a page/tab" "description": "Used in context menus when right clicking on a page/tab"
}, },
"redirectLink": { "redirectLink": {
"message": "Pokušaj preusmjeriti ovu hiperpoveznicu", "message": "Pokušaj preusmjeriti",
"description": "Used in context menus when right clicking on a hyperlink" "description": "Used in context menus when right clicking on a hyperlink"
}, },
"about": { "about": {
"message": "About" "message": "O"
} }
} }

View File

@ -36,7 +36,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"excludeFromRedirecting": { "excludeFromRedirecting": {
"message": "Excluded from redirecting", "message": "Искључено из преусмеравања",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"importSettings": { "importSettings": {
@ -56,7 +56,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"showInPopup": { "showInPopup": {
"message": "Show in popup", "message": "Прикажи у искачућем прозору",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"frontend": { "frontend": {
@ -80,7 +80,7 @@
"description": "used in the settings page" "description": "used in the settings page"
}, },
"addYourFavoriteInstances": { "addYourFavoriteInstances": {
"message": "Add your favorite instances", "message": "Додајте своје омиљене инстанце",
"description": "used in the settings page" "description": "used in the settings page"
}, },
"copyRaw": { "copyRaw": {
@ -90,14 +90,14 @@
"message": "Копирано" "message": "Копирано"
}, },
"redirectToOriginal": { "redirectToOriginal": {
"message": "Redirect to original", "message": "Преусмерите према оригиналној",
"description": "Used in context menus when right clicking on a page/tab" "description": "Used in context menus when right clicking on a page/tab"
}, },
"redirectLink": { "redirectLink": {
"message": "Покушајте да преусмерите ову хипервезу", "message": "Покушајте да преусмерите",
"description": "Used in context menus when right clicking on a hyperlink" "description": "Used in context menus when right clicking on a hyperlink"
}, },
"about": { "about": {
"message": "About" "message": "О"
} }
} }

View File

@ -132,6 +132,8 @@ function redirect(url, type, initiator, forceRedirection) {
search.delete("ref_src") search.delete("ref_src")
search.delete("ref_url") search.delete("ref_url")
search.delete("s") // type of device that shared the link
search.delete("t") // some sort of tracking ID
search = search.toString() search = search.toString()
if (search !== "") search = `?${search}` if (search !== "") search = `?${search}`