Skip to content

Commit

Permalink
'watch&t=*?v=' hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
qrluke committed Jan 9, 2021
1 parent 5d618da commit 8a311e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/adwhore.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ let youtubeMutation = setTimeout(function tick() {
currentUrl = document.URL;
$(document).unbindArrive();
console.log("I'm on youtube and URL has changed");
if (currentUrl.includes("watch?v=")) {
if (currentUrl.includes("watch") && currentUrl.includes("v=")) {
console.log("Should be a player somewhere, I'm looking for it");

v = document.querySelectorAll("video")[0];
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "__MSG_extension_name__",
"version": "0.0.6.2",
"version": "0.0.7.0",
"version_name": "Public Alfa",
"description": "__MSG_extension_description__",
"manifest_version": 2,
Expand Down
4 changes: 2 additions & 2 deletions src/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>ADN client extension</title>
<title>AWN client extension</title>

<style>
html,
Expand Down Expand Up @@ -128,7 +128,7 @@

<div class="modal-header">
<h1 class="logo">
<span class="version">ADN v0.6 active:<input id="enableCheck" type="checkbox"></span>
<span class="version">AWN v0.7 active:<input id="enableCheck" type="checkbox"></span>
</h1>
<img border="1px" src="img/adwhore-logo.png" style="margin-bottom: 3px; width: 110px;"/>
<p class="moto" style="margin-block-end: 0em;">better youtube for everyone</p>
Expand Down

0 comments on commit 8a311e3

Please sign in to comment.