We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267792b commit a5b0d06Copy full SHA for a5b0d06
js/generic.js
@@ -483,8 +483,14 @@ const get_isTB = (METRIC) => new Promise(resolve => {
483
let css = document.createElement("link")
484
if (!runSG) {
485
try {
486
- // ToDo: TB13+: does not work on android
487
- css.href = "chrome://browser/content/abouttor/aboutTor.css" // TB13+
+ // note: we do not know the OS yet
+ // TB13: does not work on android
488
+ let path = 'chrome://browser/content/abouttor/aboutTor.css'
489
+ // TB14 (added TB13.5)
490
+ if (isVer > 127) {
491
+ path = 'chrome://global/content/torconnect/aboutTorConnect.css'
492
+ }
493
+ css.href = path
494
css.type = "text/css"
495
css.rel = "stylesheet"
496
document.head.appendChild(css)
0 commit comments