Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Floatplane Theatre Mode Bookmarklet "hack"

 Share

Hello!

 

Been watching a lot of VODs in a window on Floatplane while doing other things and to make best use of the window, I came up with this bookmarket to format the current page to a theatre mode (while we wait for the official one):🙂

 

javascript: (() => {document.getElementsByTagName("navbars")[0].remove();document.getElementsByClassName("page-wrapper")[0].style.paddingLeft = "0px";document.getElementsByClassName("player-container")[0].style.maxWidth = "100%";})()

If you're not sure how to add a bookmarklet, it's just a bookmark that runs JavaScript on the page you're on. There are many guides - such as https://www.freecodecamp.org/news/what-are-bookmarklets/

 

You need to go to the video you want to watch, then click this bookmark on the bookmark toolbar to refresh the page.

 

All this does is hide the left navigation and remove the formatting that held the video on the right. To reset/undo this, just refresh the page.

 

This helped me so thought I'd share (not sure if this is the right place - tried to paste on FP but there's sensibly some restrictions on posting code 😄 ).

 

Oli

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×