Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we increase z-index of the red/green triangle? #74

Open
arunisaac opened this issue Nov 25, 2016 · 0 comments
Open

Can we increase z-index of the red/green triangle? #74

arunisaac opened this issue Nov 25, 2016 · 0 comments

Comments

@arunisaac
Copy link

youtube.com has a top banner (<div id="masthead-positioner">) with a z-index of 1999999999 (that's almost 2 billion), whereas the red/green triangle injected by the greasemonkey script has a z-index of 214748364 (that's about 0.2 billion). So, the red/green triangle goes underneath youtube's top banner. Can we increase the z-index even higher to compensate? Or is there some more robust way of dealing with this problem? Perhaps, considering that there may be a maximum possible value for z-index (varies from browser to browser), maybe our greasemonkey script should look for other elements with a higher z-index than that of the red/green triangle and reduce those values.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant