Is it possible to render web content over a clear background using WebKit?

后端 未结 5 1509
名媛妹妹
名媛妹妹 2020-12-04 10:52

I\'m trying to gauge the possibility of a patch to WebKit which would allow all rendered graphics to be rendered onto a fully transparent background.

The desired eff

5条回答
  •  鱼传尺愫
    2020-12-04 11:23

    Back in Safari 1.3 and 2, there was a hidden debug menu (invoked via the Terminal: defaults write com.apple.Safari IncludeDebugMenu 1) that included a “Use Transparent Window” option.

    • http://www.macosxhints.com/article.php?story=20050418015445258
    • http://www.wiredatom.com/blog/2005/10/20/safari-transparency/

    Not sure if this was a WebKit thing or a Safari thing though.

    (In Safari 3, the debug menu seems to have been replaced by the “Develop” menu (enable in Preferences > Advanced) which doesn’t have the transparent window option.)

提交回复
热议问题