DeviantArt - Iframe embedding

Allows external links named "[iframe-embed]" to replace the deviation image with an iframe of the link.

Stan na 20-04-2016. Zobacz najnowsza wersja.

Autor
RSGmaker
Oceny
0 0 0
Wersja
0.13
Utworzono
16-04-2016
Zaktualizowano
20-04-2016
Rozmiar
13,2 KB
Licencja
Brak licencji
Dotyczy

This script allows external content to be shown on DeviantArt deviations as well as sta.sh content.
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.


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://greasyforks.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.

长期地址
遇到问题?请前往 GitHub 提 Issues。