gpt4 book ai didi

html - 将 volume 设置为 0 并使用 CSS 隐藏它

转载 作者:太空宇宙 更新时间:2023-11-04 11:07:36 25 4
gpt4 key购买 nike

我想知道是否可以使用 CSS“阻止”Flash 嵌入,即 Hypster Audio Player。这是它的代码:

<embed quality="high" style="width:56px;visibility:visible;height:13px;" type="application/x-shockwave-flash" height="56" width="13" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" src="http://www.hypster.com/flash/player.swf?id=3738427:6841383:0&autoplay=true" FlashVars="color_bg=0xffffff&color_border=0x9A0000&color_box=transparent&color_songbg=0xffffff&color_song_clicked=0xffffff&color_Title=0x000000&color_btns=0x000000&color_title=0x000000" />

我什么都试过了,最新的是:

[src*="hypster"] {
visibility: invisible!important;
volume: 0!important;
box-shadow: 4px 4px aqua;
}

它成功地选择了嵌入(我已经添加了 box-shadow 属性来测试它)但是做了 jack squat 来禁用它。

最佳答案

只需这样做:

[src*="hypster"] {
display:none;
}

关于html - 将 <embed> volume 设置为 0 并使用 CSS 隐藏它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33851295/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com