此小部件允许您使用标签在 wiki 页面上嵌入任何网页。iframe 标签.
Created by Sergey Chernyshev.
使用此小部件
有关如何使用此小组件的信息,请参阅widget description page on MediaWikiWidgets.org.
此小部件不应在可公开编辑的维基上使用。
当 URL 被验证为有效 URL 时,小组件无法检查所包含页面的内容。启用此小部件时,您可以允许任何可以编辑的用户包含任何页面,包括恶意页面(包含特洛伊木马、后门、病毒等)、从 iframe 中退出的页面以及看起来像您网站的页面,但实际上是用于网络钓鱼的副本。
考虑制作一个特定于您希望 iframe 的网站的小部件。您还可以考虑将沙盒和 allow属性添加到 iframe,这会降低但不会消除欺骗用户的风险。
While the URL is validated to be a valid URL, there is no way the widget can check the contents of the page that is included. When enabling this widget, you allow any user that can edit to include any page, including malicious pages (containing trojans, backdoors, viruses etc), pages that brake out of the iframe and pages that look like your site, but actually is a copy used for phishing. Consider making a widget that is specific to the site you wish to iframe instead. You can also consider adding the [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attributes sandbox and allow] attribute to the iframe, which reduces but does not eliminate the risk of tricking users.
复制到您的网站
要在您的网站上使用此小部件,只需安装 MediaWiki Widgets extension 并将此页面的完整 [https://www.araceae.cn/index.php?title=%E5%BE%AE%E4%BB%B6:Iframe&action=edit 复制到您的wiki作为页面 微件:Iframe。