Chrome
Safari
Edge
Firefox
Chrome (Android)
Tap the lock icon next to the address bar. Tap Permissions → Notifications . Adjust your preference.
Chrome (Desktop)
Click the padlock icon in the address bar. Select Site settings . Find Notifications and adjust your preference.
Safari (iOS 16.4+)
Ensure the site is installed via Add to Home Screen . Open Settings App → Notifications . Find your app name and adjust your preference.
Safari (macOS)
Go to Safari → Preferences . Click the Websites tab. Select Notifications in the sidebar. Find this website and adjust your preference.
Edge (Android)
Tap the lock icon next to the address bar. Tap Permissions .
Find Notifications and adjust your preference.
Edge (Desktop)
Click the padlock icon in the address bar. Click Permissions for this site . Find Notifications and adjust your preference.
Firefox (Android)
Go to Settings → Site permissions . Tap Notifications . Find this site in the list and adjust your preference.
Firefox (Desktop)
Open Firefox Settings. Search for Notifications . Find this site in the list and adjust your preference.
Закинул код спойлера в шаблоны медиатега YouTube, дабы любое добавляемое на форум видео автоматом убиралось под спойлер.
<div> <div class="hidetop" style="cursor:pointer;" onclick="var _n=this.parentNode.getElementsByTagName('div')[1];if(_n.style.display=='none'){_n.style.display='';}else{_n.style.display='none';}"> YouTube </div> <div class="hidemain" style="display: none;"> <iframe id="ytplayer" class="EmbeddedVideo" type="text/html" width="640" height="390" src="http://youtube.com/embed/$3?html5=1&fs=1" frameborder="0" allowfullscreen webkitallowfullscreen /></iframe> </div> </div>И всё бы хорошо, но хотелось бы, чтобы спойлер также автоматически получал название от ролика, а не просто одинаковое для всех заданное слово.
Может кто подсказать, как этого добиться?