aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-10-27 21:39:06 -0400
committerAjay <[email protected]>2022-10-27 21:39:06 -0400
commitfea8a9a37edc67fb770e3533adcbf50155025db3 (patch)
treeec423cf27feec0cfc190841202615db8ead2a853 /src
parentaec5845bced2443dea0bf36affd1aa64df18f36e (diff)
downloadSponsorBlock-fea8a9a37edc67fb770e3533adcbf50155025db3.tar.gz
SponsorBlock-fea8a9a37edc67fb770e3533adcbf50155025db3.zip
Disable virtual time in firefox again
Diffstat (limited to 'src')
-rw-r--r--src/content.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index e9324ece..d9eb9a8c 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -717,7 +717,7 @@ function getVirtualTime(): number {
const virtualTime = lastTimeFromWaitingEvent ?? (lastKnownVideoTime.videoTime ?
(performance.now() - lastKnownVideoTime.preciseTime) * video.playbackRate / 1000 + lastKnownVideoTime.videoTime : null);
- if (Config.config.useVirtualTime && !isSafari() && virtualTime
+ if (Config.config.useVirtualTime && !utils.isFirefox() && !isSafari() && virtualTime
&& Math.abs(virtualTime - video.currentTime) < 0.6 && video.currentTime !== 0) {
return virtualTime;
} else {