Disabling the floating video player on Iltalehti.fi
Disabling the floating video player on Iltalehti by genma
Details
Authorgenma
LicenseNo License
CategoryIltalehti.fi
Created
Updated
Size1.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Disabling the floating video player on Iltalehti.fi
@namespace github.com/openstyles/stylus
@version 1.2.0
@description Disabling the floating video player on Iltalehti.fi
@author genma
==/UserStyle== */
@-moz-document domain("iltalehti.fi") {
.jwplayer {
position: static !important;
}
/* Stops suggested videos from showing, which causes the page to scroll up after playback */
.jw-plugin-related-open.jw-plugin-related.jw-reset.jw-plugin {
display: none !important;
}
.jwplayer-minimize__bottom {
visibility: hidden !important;
}
.jw-reset.jw-wrapper {
position: static !important;
width: 100% !important;
height: auto !important;
background-color: transparent !important;
}
.jw-reset.jw-media {
width: 100% !important;
height: auto !important;
max-width: 100% !important;
min-width: 0 !important;
overflow: hidden !important;
}
.jw-reset.jw-aspect,
.jw-aspect.jw-reset {
visibility: hidden !important;
}
}