DeviantArt - Iframe embedding

Allows external content to be displayed on DeviantArt.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tác giả
RSGmaker
Cài đặt hàng ngày
0
Số lần cài đặt
160
Đánh giá
1 1 0
Phiên bản
0.17
Đã tạo
16-04-2016
Đã cập nhật
17-08-2017
Kích thước
20 KB
Giấy phép
N/A
Áp dụng cho

This script allows external content to be shown on DeviantArt deviations as well as sta.sh .
The primary reason I made this was to allow html5 games to appear right on the deviation page, but you can use it to show just about anything.

To use it just include a link in your description(or within the text, if it's a journal/text entry) and call it "[iframe-embed]", it will then load whatever the link points to right on the deviation page itself, if it's an art deviation, it will replace the display image.

To use it just include a link in your description(or within the text, if it's a journal/text entry).

There are 2 types of embed links.
1.Name the link "[iframe-embed]" and point it to the page you want.
2.Name it anything you want, and point it to: "https:// greasyfork.org/en/scripts/18835-deviantart-iframe-embedding?http:// Mywebsite.com/Mygame.html".

If you use option #1 you can specify the size of the embed.
eg; [iframe-embed width="800" height="600"]

When it loads a warning box will appear allowing the user to review the url, before deciding whether or not to allow the content to load.

You can also specify a width and height of the embed
eg; [iframe-embed width="800" height="600"]

another way to include an embed is to point it to: "https://greasyfork.org/en/scripts/18835-deviantart-iframe-embedding?http://Mywebsite.com/coolgame.html" if you do it this way you can name the link however you want, but you can't specify the size that way.