Jump to content
  • 1

Kill sticky bars before Clipping


EdH

Idea

  • Level 5*

Those super annoying sticky bars on websites that scroll with you really trash clipped notes because the HTML is kept in there and you get that stupid bar in your note!

Thought about using this javascript before you clip to kill the bar?

Quote

javascript:(function()%7B(function () %7Bvar i%2C elements %3D document.querySelectorAll('body *')%3Bfor (i %3D 0%3B i < elements.length%3B i%2B%2B) %7Bif (getComputedStyle(elements%5Bi%5D).position %3D%3D%3D 'fixed') %7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()

Came from this site, but thought it would make a good addition. I try to remember to do it before clipping, but don't always remember.

Link to comment

0 replies to this idea

Recommended Posts

There have been no replies to this idea yet

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
×
×
  • Create New...