Skip to content

Commit

Permalink
2.4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperZombi committed Dec 15, 2023
1 parent 4596bfd commit 45feafa
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Picture-in-Picture-for-Youtube

<p align="right">
<img align="left" src="https://shields.io/badge/version-v2.4.10-blue">
<img align="left" src="https://shields.io/badge/version-v2.4.11-blue">
<a href="#donate"><img src="https://shields.io/badge/💲-Support_the_Project-2ea043"></a>
</p>

Expand Down Expand Up @@ -71,6 +71,9 @@ Activates the Picture-in-Picture button and other useful features.

## List of changes:

#### 2.4.11:
* `Shorts` Fullscreen and speedometer icons are no longer draggable.

#### 2.4.10:
* `Shorts` Fixed a bug with the inability to rewind the progress bar.

Expand Down
2 changes: 1 addition & 1 deletion chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
"version": "2.4.10",
"version": "2.4.11",
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
"default_locale": "en",
Expand Down
3 changes: 3 additions & 0 deletions chrome/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ function addSpeedometer(parrent){
div.style.alignItems = "center";
let img = document.createElement("img")
img.src = chrome.runtime.getURL("images/speedometer.svg")
img.draggable = false;
img.style.cursor = "pointer"
img.style.height = "32px"
img.style.marginBottom = "2px";
Expand Down Expand Up @@ -190,6 +191,7 @@ function addSpeedometer(parrent){
text.style.fontSize = "14px";
text.style.marginLeft = "5px";
text.style.color = "#aaa"
text.style.userSelect = "none"

slider_area.appendChild(input)
slider_area.appendChild(text)
Expand Down Expand Up @@ -226,6 +228,7 @@ function addFullScreen(parrent){
}
let img = document.createElement("img")
img.src = chrome.runtime.getURL("images/full.svg")
img.draggable = false;
div.appendChild(img)
parrent.insertBefore(div, parrent.querySelector("#share-button"));
}
Expand Down
7 changes: 5 additions & 2 deletions pip.user.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 45feafa

Please sign in to comment.