mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-16 02:22:07 -05:00
little saved notifications :3
This commit is contained in:
parent
df0a8efb53
commit
96f1a7c7c9
11
js/cloak.js
11
js/cloak.js
@ -9,6 +9,17 @@ function setCloakCookie() {
|
||||
url = cloakExceptions($('#webicon').val())
|
||||
document.cookie = 'tabicon=https://s2.googleusercontent.com/s2/favicons?domain_url=' + url;
|
||||
document.cookie = 'tabname=' + $('#webname').val();
|
||||
Toastify({
|
||||
text: 'Tab cloak saved!',
|
||||
duration: 3000,
|
||||
gravity: "top", // `top` or `bottom`
|
||||
position: "left", // `left`, `center` or `right`
|
||||
style: {
|
||||
background: "linear-gradient(42deg, rgba(36, 69, 128, 1) 100%, rgb(24, 17, 87) 0%)",
|
||||
width: "25%",
|
||||
},
|
||||
onClick: function(){} // Callback after click
|
||||
}).showToast();
|
||||
setCloak();
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,17 @@
|
||||
}
|
||||
|
||||
document.cookie = "panicurl=" + $("#panic").val();
|
||||
Toastify({
|
||||
text: 'Panic mode saved!.',
|
||||
duration: 3000,
|
||||
gravity: "top", // `top` or `bottom`
|
||||
position: "left", // `left`, `center` or `right`
|
||||
style: {
|
||||
background: "linear-gradient(42deg, rgba(36, 69, 128, 1) 100%, rgb(24, 17, 87) 0%)",
|
||||
width: "25%",
|
||||
},
|
||||
onClick: function(){} // Callback after click
|
||||
}).showToast();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user