1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

Compare commits

..

No commits in common. "e6eed2dd70029bb5454b605778cf1d9bb7e78b50" and "66d94634d98b69d6c01668b46f32d67f318262cd" have entirely different histories.

3 changed files with 6 additions and 9 deletions

8
actix/Cargo.lock generated
View file

@ -1070,9 +1070,9 @@ checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388"
[[package]]
name = "libc"
version = "0.2.162"
version = "0.2.161"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
[[package]]
name = "libsqlite3-sys"
@ -1606,9 +1606,9 @@ dependencies = [
[[package]]
name = "tokio"
version = "1.41.1"
version = "1.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
checksum = "145f3413504347a2be84393cc8a7d2fb4d863b375909ea59f2158261aa258bbb"
dependencies = [
"backtrace",
"bytes",

View file

@ -3,7 +3,7 @@
[package]
name = "chhoto-url"
version = "5.4.6"
version = "5.4.5"
edition = "2021"
authors = ["Sayantan Santra <sayantan[dot]santra689[at]gmail[dot]com"]
license = "mit"

View file

@ -103,10 +103,7 @@ const TR = (row, site) => {
const tr = document.createElement("tr");
const longTD = TD(A_LONG(row["longlink"]), "Long URL");
var shortTD = null;
var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);
// For now, we disable copying on WebKit due to a possible bug. Manual copying is enabled instead.
// Take a look at https://github.com/SinTan1729/chhoto-url/issues/36
if (window.isSecureContext && !(isSafari)) {
if (window.isSecureContext) {
shortTD = TD(A_SHORT(row["shortlink"], site), "Short URL");
}
else {