MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Hb1290
No edit summary
imported>Hb1290
No edit summary
Line 377: Line 377:
});
});
//</nowiki>
//</nowiki>
/*Restore Widgets*/
/*Discord widget*/
$( "#youtube-widget" ).html('<iframe src="https://www.youtube.com/watch?v={SERVER_ID}&theme=dark" width="240" height="185" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>');
$( "#discord-widget" ).html('<iframe src="https://discord.com/widget?id={SERVER_ID}&theme=dark" width="{WIDTH}" height="{HEIGHT}" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>');
Anonymous user

Navigation menu