is there a way to hide a popup windows in perspective without closing it ?
A then a way to unhide it.
is there a way to hide a popup windows in perspective without closing it ?
A then a way to unhide it.
Aw, don't do that.
If that's really what you need then why not open a new browser window with the popup view?
my popup windows contain a video and I would like to go in Picture In picture mode and hiding the popup windows to keep the PiP windows...
@victordcq do you think it's possible to inject some JS to toggle the visibility of a popup from a button in the main page:
visibility: visible <=> hidden
for:
<div id="popup-popup-video" class="popup ia_popup" tabindex="1" style="touch-action: none; z-index: 12560;
visibility: visible; bottom: 0px; right: 0px; width: calc(2px + 54vw); height: calc(32px + 30.3764vw);">
Seems to work fine with:
custom prop
def transform(self, value, quality, timestamp):
if value == True:
return "<img style='display:none' src='/favicon.ico' onload=\"let popup = document.getElementById('popup-popup-video');popup.style.visibility = 'visible';\"></img>"
else:
return "<img style='display:none' src='/favicon.ico' onload=\"let popup = document.getElementById('popup-popup-video');popup.style.visibility = 'hidden';\"></img>"