This commit is contained in:
Offerel 2025-05-09 15:00:06 +02:00
parent 15767ba11c
commit 12c1d3d9ed
No known key found for this signature in database
GPG Key ID: 5EEB348DE7550E14
6 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,7 @@
# ChangeLog
## 2.1.0
- Added install wizard
## 2.0.5
- Fix change user
- Fix tabSync

View File

@ -2,7 +2,7 @@
/**
* SyncMarks
*
* @version 2.0.5
* @version 2.1.0
* @author Offerel
* @copyright Copyright (c) 2025, Offerel
* @license GNU General Public License, version 3

View File

View File

@ -1,7 +1,7 @@
/**
* SyncMarks
*
* @version 2.0.5
* @version 2.1.0
* @author Offerel
* @copyright Copyright (c) 2025, Offerel
* @license GNU General Public License, version 3
@ -9,10 +9,9 @@
const dbName = "syncmarks";
const dbStoreName = "bookmarks";
let db, translation;
//let dbRequest = indexedDB.open(dbName);
let dbRequest = indexedDB.open(dbName);
document.addEventListener("DOMContentLoaded",function() {
/*
if ("serviceWorker" in navigator) {
try {
const registration = navigator.serviceWorker.register("smsw.js");
@ -70,7 +69,7 @@ document.addEventListener("DOMContentLoaded",function() {
navigator.serviceWorker.addEventListener("controllerchange", event => {
//confirm('sw changed');
});
*/
setLanguage(document.documentElement.lang);
if(window.location.href.slice(-1) === '?') window.history.replaceState({}, null, window.location.href.substring(0, window.location.href.length - 1));

4
js/syncmarks.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
/**
* SyncMarks
*
* @version 2.0.5
* @version 2.1.0
* @author Offerel
* @copyright Copyright (c) 2025, Offerel
* @license GNU General Public License, version 3