my bookmarklet
/* * @title picture-in-picture * @description my bookmarklet * @include http://* * @license MIT License * @require */ Array.from(document.querySelectorAll('video')).find(v => v.src).requestPictureInPicture()