Greasy Fork is available in English.

Stop Overzealous Embedding

Tries to turn embedded Youtube videos into links

< 腳本Stop Overzealous Embedding的回應

提問/評論

1
§
發表於:2020-05-01

Request: collapse the video element

The space taken by the video elements is quite large and makes reading especially forum threads with a lot of embeds challenging.

Connor Behan作者
§
發表於:2020-05-16

I don't know if the script can be smart enough to resize in all cases. If the video embedding is done with a single iframe that explicitly specifies width and height, then the space taken up will indeed be freed by the script --- it just deletes the iframe.

However, the video could be packed using nested iframes where only the outer one specifies the size. Or maybe it is inside a div that does this. Or maybe width and height are not attributes but inferred from a stylesheet.

發表回覆

登入以回復