Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery("#portlet_box_sbg_grades .box_title").html("Arcade");
- jQuery("#portlet_box_sbg_grades .box").css("text-align", "center");
- jQuery("body").append(`<div id="TB_overlay" style="position: fixed;"> </div><div id="TB_window" role="dialog" aria-modal="true" aria-labelledby="TB_title" style="width: 800px; height: 540px;margin: 0 calc(50% - 400px); top: calc(50% - 290px);"><div id="TB_closeAjaxWindow" class="tb_title_bar" role="heading"><div id="TB_title" class="tb_title">PowerSchool Arcade</div><div id="TB_ajaxContent" role="main" style="width: 770px; height: 434px;">
- <h2>Select a game</h2>
- <h4>C</h4>
- <p onclick="runGame('https://sites.google.com/site/swfdump3/swf/Cat%20Mario.swf?attredirects=0')" style="cursor: pointer;">Cat mario</p>
- <h4>M</h4>
- <p onclick="runGame('https://sites.google.com/site/game2swf/swf1/minecraft-tower-defence.swf?attredirects=0')" style="cursor: pointer;">Minecraft TD</p>
- <h4>S</h4>
- <p onclick="runGame('https://sites.google.com/site/game2swf/swf1/stickrpg.swf?attredirects=0')" style="cursor: pointer;">Stick RPG</p>
- <p onclick="runGame('https://sites.google.com/site/gameup421/sporthead-futball-xd/sportsheadbasketball.swf?attredirects=0')" style="cursor: pointer;">Sports head basketball</p>
- <p onclick="runGame('https://sites.google.com/site/gameup421/sporthead-futball-xd/sportsheadsfootball.swf?attredirects=0')" style="cursor: pointer;">Sports head soccer</p>
- <h4>T</h4>
- <p onclick="runGame('https://sites.google.com/site/12312389ggggg1243/swf/flash-tetris.swf?attredirects=0')" style="cursor: pointer;">Tetris</p>
- <h4>V</h4>
- <p onclick="runGame('https://xtb3.weebly.com/uploads/1/2/2/5/122524529/vvvvvv.swf')" style="cursor: pointer;">VVVVVV</p>
- </div>
- `);
- function runGame(url) {
- jQuery("#TB_overlay").hide();
- jQuery("#TB_window").hide();
- jQuery("#TB_overlay").remove();
- jQuery("#TB_window").remove();
- jQuery("#portlet_box_sbg_grades .box").html(`<embed name="game" src="` + url + `" quality="high" allowscriptaccess="always" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="549" height="400">`); };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement