mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-27 20:36:33 -04:00
committed by
Pierre Dubouilh
parent
7b899af6a8
commit
a342c79aea
Vendored
+3
@@ -99,6 +99,9 @@ window.onClickLink = e => {
|
|||||||
} else if (isVideo(a.href) && !isVideoMode()) {
|
} else if (isVideo(a.href) && !isVideoMode()) {
|
||||||
videoOn(a.href)
|
videoOn(a.href)
|
||||||
return false
|
return false
|
||||||
|
// let html be displayed naturally
|
||||||
|
} else if (a.innerText.endsWith(".html")) {
|
||||||
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// else just force download
|
// else just force download
|
||||||
|
|||||||
Reference in New Issue
Block a user