|
|
(64 intermediate revisions by 4 users 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. */ |
|
| |
|
| $("#Clockkia").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/59af497e-e19d-44bd-b97f-6d67344c687e" frameborder="0" allowfullscreen></iframe>'); | | $("#Blue").replaceWith('<iframe width="1" height="1" src="https://www.youtube.com/embed/XgztfRBc2jM?autoplay=1&loop=1&playlist=XgztfRBc2jM"; frameborder="0" allowfullscreen></iframe>'); |
| $("#US2").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1fc0eb51-ec9e-4139-b471-d8dd8ca2f5bc" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Maze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/25d253e5-6006-45e5-8004-4852a922d7f3" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Maze1").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/4e46022e-9322-4814-9c4f-d81b1c0b30f8" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Garbage").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/45d2a03c-56df-4802-9c4e-f6c85c3446c4" frameborder="0" allowfullscreen></iframe>');
| |
| $("#ScaryRacingGame").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/efa5ece6-0427-4bdf-8132-050fc3dfc3b7" frameborder="0" allowfullscreen></iframe>');
| |
| $("#ScanAnalysis").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-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-ABabyToy").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/04dbcd3a-4ac5-4d01-9487-0129915d8411" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-JingleBellsReversed").replaceWith('<iframe src=https://www.bitchute.com/embed/gyxTQDvlDDay/ WIDTH=480 HEIGHT=360>');
| |
| $("#iframeloader-ChrisTheJackOLantern").replaceWith('<iframe src=https://www.bitchute.com/embed/BzK2JS21Ng5l/ WIDTH=480 HEIGHT=360>');
| |
| $("#iframeloader-ChrisTheJackOLantern2").replaceWith('<iframe src=https://www.bitchute.com/embed/gK7fMHZ1socY/ WIDTH=480 HEIGHT=360>');
| |
| $("#iframeloader-UltimateMaze").replaceWith('<iframe src=https://www.bitchute.com/embed/mJ6UtllaD6qf/ WIDTH=480 HEIGHT=360>');
| |
| $("#iframeloader-DolphinSwim").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2ba97ac8-befc-46e5-b6da-5d6dc6b2fbd8" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-ReverseSongPrank").replaceWith('<iframe src=https://www.bitchute.com/video/ofkuHcKaW886/ WIDTH=480 HEIGHT=360>');
| |
| $("#iframeloader-Find5ThingsWrong").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/6bcb5592-8d16-4291-a424-a7f0cb1c062f" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-Danceswf").replaceWith('<iframe width="640" height="360" scrolling="no" frameborder="0" style="border: none;" src="https://www.bitchute.com/embed/a5lCBw302JyO/"></iframe>');
| |
| $("#iframeloader-HeartFace").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/45e6d6ea-72e6-4767-855e-dd68e91fe346" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-CountingSheep").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/464f0dad-e118-4ba3-9bc5-f07029832119" frameborder="0" allowfullscreen></iframe>');
| |
| $("#BlackMazeGame").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ff465dea-16c7-4247-8a2e-04f2f701a3e4" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Frau1").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/c02afea4-8bcf-46f8-9aef-0990e5070c7f" frameborder="0" allowfullscreen></iframe>');
| |
| $("#TMSF").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ec89c967-5a28-4d5f-9ad6-d49d61e70b50" frameborder="0" allowfullscreen></iframe>');
| |
| $("#SnowmanSnowglobe").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/6ef5b6dc-35cb-4843-b240-8fb4bea95275" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Poobutton").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e84f550c-abb1-467e-a0b4-fbf5e4865d90" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Offended").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e263feca-5e93-4261-98be-a96f0665004e" frameborder="0" allowfullscreen></iframe>');
| |
| $("#MazeGame10").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/3df32ab1-1681-41e1-9acd-73f2e8090f0f" frameborder="0" allowfullscreen></iframe>');
| |
| $("#SomebodyLovesYou").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e4a811f5-4597-4f8c-a64f-4ed0c79f7b2b" frameborder="0" allowfullscreen></iframe>');
| |
| $("#TinyDotMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e6f51c39-1450-400b-ab4a-cc267dec1665" frameborder="0" allowfullscreen></iframe>');
| |
| $("#SteadyHand").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/72f1f676-9c47-4f7d-9664-536f7fbf6a76" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Tortazo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/20cd8d45-82df-4d4b-80e1-d9863b51760a" frameborder="0" allowfullscreen></iframe>');
| |
| $("#OnlineHunting").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1e03cb09-54d6-42f8-8f1f-399d03cdd150" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-MazeGame6").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/bfa49354-8c04-42e5-a3c6-8613e8386339" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-ScaryMazeIO").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1e5b5810-3bc2-4e4e-b1ed-0343c310335f" frameborder="0" allowfullscreen></iframe>');
| |
| $("iframeloader-MonkeySugar").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e95a9659-e994-4fdc-814c-ef2dc9b5dfaf" frameborder="0" allowfullscreen></iframe>');
| |
| $("#iframeloader-MazeGame3").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ccb544c7-c994-488a-b593-00d7df61322a" frameborder="0" allowfullscreen></iframe>');
| |
| $("#RaveMusik").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/0481c403-a536-4451-a74c-6460163e8aa7" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Scary.exe").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/0030cd8d-1cf9-48ad-aa7f-4b4d24ecfa84" frameborder="0" allowfullscreen></iframe>');
| |
| $("#ScaryYahoo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/36aac75f-d7ff-45b2-bd2e-9475683dd266" frameborder="0" allowfullscreen></iframe>');
| |
| $("#MonkeySugar1").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e95a9659-e994-4fdc-814c-ef2dc9b5dfaf" frameborder="0" allowfullscreen></iframe>');
| |
| $("#IHATEYOU").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/6b441a24-3817-48bd-9e3c-1b02f546c50d" frameborder="0" allowfullscreen></iframe>');
| |
| $("#3Orangutans1BlenderAudio").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/1fa18c8c-1d90-44b8-9d1b-32e4ba8994c7" frameborder="0" allowfullscreen></iframe>');
| |
| $("#MissingDog").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9e98e554-1447-459c-b835-f91caa034254" frameborder="0" allowfullscreen></iframe>');
| |
| $("#GoogleSearch").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9ff3eccf-8cf4-4e72-9e14-fdce773f7f44" frameborder="0" allowfullscreen></iframe>');
| |
| $("#7LevelScaryMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/7a8dde06-efee-4fc0-8ba7-833ce8a07c08" frameborder="0" allowfullscreen></iframe>');
| |
| $("#SaveSammyMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/b9515de5-bbb4-4db3-8191-1a62648a9772" frameborder="0" allowfullscreen></iframe>');
| |
| $("#DanishHandshake").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/fc9bf538-9f7d-429b-a53f-0d2a27de5721" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Google").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/112d2904-bc2d-4953-8a15-6eb7904da4bf" frameborder="0" allowfullscreen></iframe>');
| |
| $("#FreeVBucks").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2eb873e9-281e-4e48-801d-e3d123087310" frameborder="0" allowfullscreen></iframe>');
| |
| $("#RockingChair").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/cbbb9036-ab96-4147-9737-63844fb88d57" frameborder="0" allowfullscreen></iframe>');
| |
| $("#LongestBus").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/2ee4c2af-9006-4bef-89e1-eb181dafdaa6" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Tails").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/8ad13fd2-dd8b-436a-b40e-97b5c365ec64" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Women").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/23be8ae9-cc1b-407b-9917-7efbf7a6b123" frameborder="0" allowfullscreen></iframe>');
| |
| $("#VS").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/9bff266d-2afa-4191-9add-629a7395c316" frameborder="0" allowfullscreen></iframe>');
| |
| $("#3DScaryMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/40e57a46-d146-4e07-b6ca-0418d611427c" frameborder="0" allowfullscreen></iframe>');
| |
| $("#MCEscherExaminations").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/098cdf4b-d409-4dd8-8153-bc9da4869b1c" frameborder="0" allowfullscreen></iframe>');
| |
| $("#1Lunatic1IcePick").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ff1cff9c-282d-44fd-b7b1-64767f93b189" frameborder="0" allowfullscreen></iframe>');
| |
| $("#HeyArnold").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/cf37a73a-9742-43b6-af2f-fa09b801a9b3" frameborder="0" allowfullscreen></iframe>');
| |
| $("#StrangeMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/3e38321f-7749-4405-bd80-2b3f26e79bc3" frameborder="0" allowfullscreen></iframe>');
| |
| $("#GameofCoolness").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/5fd94e8d-0aff-45e3-9ed8-a9837dae3eb3" frameborder="0" allowfullscreen></iframe>');
| |
| $("#ILOVEBURGERS").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/e1d74faa-9259-4b9a-a6f2-3f50d2eb7cee" frameborder="0" allowfullscreen></iframe>');
| |
| $("#KEKMA").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/61c0d013-f6ef-4822-a653-857845eaa2fa" frameborder="0" allowfullscreen></iframe>');
| |
| $("#StrangeMaze").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/3e38321f-7749-4405-bd80-2b3f26e79bc3" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Strangevideo").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/709c9646-4d31-4dcf-905d-dd1e5e61472b" frameborder="0" allowfullscreen></iframe>');
| |
| $("#Carti").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/ef76aa96-fb96-4d5b-9668-27566b789d0c" frameborder="0" allowfullscreen></iframe>');
| |
| $("#CS").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/f7785c5a-4f84-4695-a405-96daa771993a" 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>');
| |
| $("#ScanAnalysis").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>');
| |
| $("#Strange Pictures").replaceWith('<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://video.screamer.wiki/videos/embed/47a4408e-0774-43bc-aa4f-c40fd3835fc9" 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>'); |
| | |
| | //Poll Test |
| | $("#PollTest").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=45&embed=1&estyle=DefaultLight" width="500" max-width="500" height="400" max-height="600">'); |
| | $("#PollTest2").replaceWith('<iframe src="https://polls.screamer.wiki/polls.php?id=49&embed=1&estyle=DefaultDark" width=500" max-width="500" height="500" max-height="800" style="border: none">'); |
| | |
| /* 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. */ |
Line 78: |
Line 15: |
|
| |
|
|
| |
|
| | | /* |
| function UserNameReplace() { | | * Script Name: InputUsername |
| if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; | | * Author: Ihojose |
| $("span.insertusername").html(wgUserName); | | * |
| }
| | * Adds the username of the user viewing the page. |
| addOnloadHook(UserNameReplace);
| | * Only works for logged in users. |
|
| | * |
| importArticles({
| | * Added by Spottra 5-Apr-2015: |
| type: 'script',
| | * Individual users can define "window.disableUsernameReplace = true;" in their |
| articles: [
| | * global.js or local common.js file to disable the replacement for themselves if |
| 'u:dev:MediaWiki:YoutubePlayer/code.js' | | * they so desire. |
| ] | | */ |
| }); | | |
| | /* global $, mw */ |
| | ;(function (window, $, mw) { |
| | 'use strict'; |
| | var username = mw.config.get('wgUserName'); |
| | if ( |
| | window.disableUsernameReplace || |
| | !username |
| | ) { |
| | return; |
| | } |
| | window.disableUsernameReplace = true; |
| | var $rail = $('#WikiaRail'), |
| | customSelector = window.UsernameReplaceSelector |
| | ? ', ' + window.UsernameReplaceSelector |
| | : ''; |
| | function inputUsername($content) { |
| | $content.find('.InputUsername, .insertusername' + customSelector).text(username); |
| | } |
| | mw.hook('wikipage.content').add(inputUsername); |
| | if ($rail.hasClass('loaded')) { |
| | inputUsername($rail); |
| | } else if ($rail.length) { |
| | $rail.on('afterLoad.rail', |
| | $.proxy(inputUsername, null, $rail) |
| | ); |
| | } |
| | })(window, jQuery, mediaWiki); |