Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
Content deleted Content added
Maybe added itch.io widget?
Added some more widgets. Also experimenting.
Line 2:
$( '#discord-widget' ).html( '<iframe src="https://discord.com/widget?id=1018414678738731068&theme=dark" width="1200" height="450" 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>' );
$( '#itch2-widget' ).html( '<iframe width="552" height="167" frameborder="0" src="https://itch.io/embed/1665724"><a href="https://jokupelle.itch.io/ages-of-conflict">Ages of Conflict: World War Simulator by JokuPelle</a></iframe>' );

Revision as of 21:59, 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="1200" height="450" 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>' );
$( '#itch2-widget' ).html( '<iframe width="552" height="167" frameborder="0" src="https://itch.io/embed/1665724"><a href="https://jokupelle.itch.io/ages-of-conflict">Ages of Conflict: World War Simulator by JokuPelle</a></iframe>' );
Cookies help us deliver our services. By using our services, you agree to our use of cookies.