MediaWiki:Common.js: Difference between revisions
No edit summary |
m (Reverted edits by SkyBlueCat (talk) to last revision by Screamer1234) Tag: Rollback |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | |||
$("#iframeloader-OpticalIllusions").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/41d69187-d9fa-4090-b5dc-ae8fff1b130b" frameborder="0" allowfullscreen></iframe>'); | $("#iframeloader-OpticalIllusions").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/41d69187-d9fa-4090-b5dc-ae8fff1b130b" frameborder="0" allowfullscreen></iframe>'); | ||
$("#iframeloader-GoodIntentions").replaceWith('<iframe src=https://www.bitchute.com/embed/UNBNbGMM1B1q/ WIDTH=480 HEIGHT=360>'); | $("#iframeloader-GoodIntentions").replaceWith('<iframe src=https://www.bitchute.com/embed/UNBNbGMM1B1q/ WIDTH=480 HEIGHT=360>'); | ||
Line 63: | Line 62: | ||
$("#GC").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ec8f967d-43cd-4621-8515-b7432d52057c" frameborder="0" allowfullscreen></iframe>'); | $("#GC").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ec8f967d-43cd-4621-8515-b7432d52057c" frameborder="0" allowfullscreen></iframe>'); | ||
$("#GC").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/465ddb23-5484-45bc-aff4-93a263e5a10f" frameborder="0" allowfullscreen></iframe>'); | $("#GC").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/465ddb23-5484-45bc-aff4-93a263e5a10f" frameborder="0" allowfullscreen></iframe>'); | ||
$("#iframeloader-Discord").replaceWith('<iframe src="https://discord.com/widget?id=566164881762418695&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>'); | $("#iframeloader-Discord").replaceWith('<iframe src="https://discord.com/widget?id=566164881762418695&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>'); | ||
/* Replaces {{Username}} with the name of the user browsing the page. | /* Replaces {{Username}} with the name of the user browsing the page. | ||
Requires copying Template:Username. */ | Requires copying Template:Username. */ |