mirror of
https://codeberg.org/vlw/disneyplus-pip.git
synced 2025-09-13 18:33:40 +02:00
feat: remove unused permission and new pip icon
This commit is contained in:
parent
c18d3a86dc
commit
57bec786d7
2 changed files with 2 additions and 5 deletions
|
@ -45,7 +45,7 @@ class PIPController {
|
||||||
pip.tabindex = "0";
|
pip.tabindex = "0";
|
||||||
pip.classList = "control-icon-btn fullscreen-icon";
|
pip.classList = "control-icon-btn fullscreen-icon";
|
||||||
|
|
||||||
pip.innerHTML = `<div class="focus-hack-div " tabindex="-1"><svg tabindex="-1" focusable="false"><use xlink:href="#067--arrow-down" style="transform: rotate(180deg) scale(0.6);transform-origin: 50% 50%;"></use><use xlink:href="#014--fullscreen"></use></svg></div>`;
|
pip.innerHTML = `<div class="focus-hack-div " tabindex="-1"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 -1 27 27" tabindex="-1" focusable="false"><path fill="#ffffff" d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"/></svg></div>`;
|
||||||
|
|
||||||
pip.addEventListener("click", () => this.togglePictureInPicture());
|
pip.addEventListener("click", () => this.togglePictureInPicture());
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "Disney+ PIP",
|
"name": "Disney+ PIP",
|
||||||
"description": "Adds Picture-in-Picture (PIP) support for Disney+",
|
"description": "Adds Picture-in-Picture (PIP) support for Disney+",
|
||||||
"version": "1.1",
|
"version": "1.2",
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"permissions": [
|
|
||||||
"activeTab"
|
|
||||||
],
|
|
||||||
"content_scripts": [{
|
"content_scripts": [{
|
||||||
"matches": ["https://*.disneyplus.com/*"],
|
"matches": ["https://*.disneyplus.com/*"],
|
||||||
"js": ["assets/js/script.js"]
|
"js": ["assets/js/script.js"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue