View highligthed elements (or page) Picture-In-Picture

Latest Version

Version
0.2.5
Update
February 13, 2024
Size
17.39KiB
Developer
Category
Users
16
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
ContextMenus
See more

PIPElement Extension

View any element (or the whole page) Picture-In-Picture.
Not only videos or images, it works on any element.

Hold SHIFT to add the highligthed element to the PIP Window, or press ESC (or right-click) to quit the picker.
Use Q/A keys to expand/reduce the highligthed selection, then press SPACE to add it to the PIP Window.

You can also use Alt+P to activate the picker (or configure an alternate shortcut key in the extension settings).

TIP: Fine-tuning your selection using Q/A keys, and choosing a VIDEO element will ensure that the target video will be opened as PIP.

I'm using this all the time to isolate html elements (especially images ;), and to trigger Picture-In-Picture for videos on sites that don't expose the feature.

**NOTE**: Although the extension tries to keep the elements stylized as in the original page,
the underlying technology ([DocumentPictureInPicture](https://developer.chrome.com/docs/web-platform/document-picture-in-picture)) cannot ensure the same styles are applied consistently
(either because the DOM layout is different in the PIP Window vs the original page - so CSS doesn't work in the intended way - or JS is used to style the page).

Also note that DocumentPictureInPicture doesn't allow navigation, so clicking on links in the PIP Window will close it and restore elements to the original page.

For more info about the DocumentPictureInPicture API see also here: https://developer.mozilla.org/en-US/docs/Web/API/Document_Picture-in-Picture_API


REPO: https://github.com/azrafe7/PIPElement

Please report bugs/feature requests at https://github.com/azrafe7/PIPElement/issues

CHANGELOG: https://github.com/azrafe7/PIPElement/blob/main/CHANGELOG.md
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "PIPElement", "version": "0.2.5", "description": "View highligthed elements (or page) Picture-In-Picture", "manifest_version": 3, "minimum_chrome_version": "116", "permissions": ["activeTab", "contextMenus"], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [""], "js": ["ElementPicker.js", "contentScript.js"], "css": ["ElementPicker.css"], "all_frames": false } ], "web_accessible_resources": [ { "resources": ["PIPElement.css"], "matches": [""] } ], "icons": { "128": "assets/icon128.png" }, "action": { "default_icon": { "128": "assets/icon128.png" }, "default_title": "PIPElement" }, "commands": { "_execute_action": { "suggested_key": { "default": "Alt+P" } } }}
Read more

Similar Extensions

icon

EXIF Viewer Pro Extension · Photos 16 465 ★ 392KiB

icon

Picture-in-Picture any site Extension · Productivity 16 51 ★ 9.73KiB

icon

UI Inspector - Live Style Editor Extension · Developer Tools 16 2 ★ 90.41KiB

icon

Full Page Screen Capture Extension · Productivity 16 60 ★ 1.21MiB

icon

Blur. The Image and Video blur extension Extension · Productivity 16 71 ★ 48.37KiB

icon

PiP (Picture in picture) Extension · Productivity 16 331 ★ 45.83KiB

icon

Easy Screenshot - a Web Clipper Extension · Productivity 16 73 ★ 50.31KiB

icon

Picture-in-Picture Anything - Place Any Element on Top of your screen Extension · Productivity 16 2 ★ 502KiB

icon

Image Metadata Viewer Extension · Photos 16 8 ★ 358KiB

icon

SnipCSS Extension · Developer Tools 16 32 ★ 13.12MiB

icon

Picture-in-Picture Extension (by Google) Extension · Productivity 16 2113 ★ 25.6KiB

icon

Screen Ruler - Measure The Web Extension · Developer Tools 16 26 ★ 1.97MiB

icon

Bulk Image Downloader - HImage Extension · Photos 16 24 ★ 314KiB

icon

Picture in Picture for Videos Extension · Productivity 16 5 ★ 11.51KiB

icon

Clear Pip View Extension · Productivity 16 26 ★ 90.83KiB

icon

AUNライブキャプチャ Extension · Productivity 16 2 ★ 758KiB

icon

Image Upscaler Extension · Photos 16 3 ★ 117MiB

icon

PixelSharp Extension · Developer Tools 16 9 ★ 4.18KiB

icon

Core Web Vitals Visualizer Extension · Developer Tools 16 12 ★ 2.39MiB

icon

blurweb.app Extension · Productivity 16 109 ★ 38.49KiB

icon

Image Download Helper Extension · Productivity 16 2 ★ 18.11KiB

icon

Send 2 Photopea Extension · Productivity 16 0 ★ 30.06KiB

icon

notionClipper - notion web clipper Extension · Productivity 16 1 ★ 134KiB

icon

Display #Anchors Extension · Productivity 16 61 ★ 32.65KiB