mirror of
https://github.com/PreMiD/PreMiD.git
synced 2026-04-06 04:41:58 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59c4b6db86 |
@@ -39,7 +39,7 @@
|
||||
<a
|
||||
term="tab.installed.getSupport"
|
||||
draggable="false"
|
||||
href="https://premid.app/help"
|
||||
href="https://wiki.premid.app/troubleshooting/troubleshooting"
|
||||
class="getSupport waves-effect btn"
|
||||
></a>
|
||||
</div>
|
||||
|
||||
@@ -48,12 +48,9 @@ async function updateData() {
|
||||
if (!startTimestamp) startTimestamp = Math.floor(Date.now() / 1000);
|
||||
videoTitle = $(".ytd-video-primary-info-renderer .title").text();
|
||||
videoAuthor =
|
||||
$("#upload-info .style-scope .ytd-video-owner-renderer")
|
||||
.contents()
|
||||
.first()
|
||||
.html() ||
|
||||
$(".ytd-channel-name a").text() ||
|
||||
document.querySelector("#owner-name a").innerText;
|
||||
document.querySelector("#owner-name a") !== null
|
||||
? document.querySelector("#owner-name a").innerText
|
||||
: document.querySelector(".ytd-channel-name a").innerText;
|
||||
videoTimestamps = getTimestamps(
|
||||
Math.floor($(".video-stream")[0].currentTime),
|
||||
Math.floor($(".video-stream")[0].duration)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"author": "Timeraa & Fruxh",
|
||||
"description": "__MSG_description__",
|
||||
"default_locale": "en",
|
||||
"version": "1.3.2.1",
|
||||
"version": "1.3.2.3",
|
||||
"manifest_version": 2,
|
||||
"web_accessible_resources": ["icon.png", "languages/*.json"],
|
||||
"browser_action": {
|
||||
|
||||
Reference in New Issue
Block a user