Compare commits

...

1 Commits

Author SHA1 Message Date
Florian Metz
59c4b6db86 I think you guys know the drill... 2019-08-30 06:38:10 +02:00
3 changed files with 5 additions and 8 deletions

View File

@@ -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>

View File

@@ -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)

View File

@@ -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": {