MediaWiki:Common.js: Difference between revisions

From Ages of Conflict
Content added Content deleted
(Make it BIGGER!)
(Modified widgets.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$( '#discord-widget' ).html( '<iframe src="https://discord.com/widget?id=1018414678738731068&theme=dark" width="1200" height="700" 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=1018414678738731068&theme=dark" width="350" height="250" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#itch-widget' ).html( '<iframe src="https://itch.io/embed/1665724" width="552" height="167" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#steam-widget' ).html( '<iframe src="https://store.steampowered.com/widget/2186320/" width="646" height="190" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#twitter-widget' ).html( '<iframe src="https://twitter.com/twitter?ref_src=twsrc%5Etfw" width="552" height="167" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#joyspark-widget' ).html( '<iframe src="https://joysparkoy.com/" width="552" height="167" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );

Latest revision as of 22:02, 26 February 2024

/* Any JavaScript here will be loaded for all users on every page load. */
$( '#discord-widget' ).html( '<iframe src="https://discord.com/widget?id=1018414678738731068&theme=dark" width="350" height="250" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#itch-widget' ).html( '<iframe src="https://itch.io/embed/1665724" width="552" height="167" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#steam-widget' ).html( '<iframe src="https://store.steampowered.com/widget/2186320/" width="646" height="190" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#twitter-widget' ).html( '<iframe src="https://twitter.com/twitter?ref_src=twsrc%5Etfw" width="552" height="167" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );
$( '#joyspark-widget' ).html( '<iframe src="https://joysparkoy.com/" width="552" height="167" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );