How to use scriptEl method in storybook-root

Best JavaScript code snippet using storybook-root

user.js

Source:user.js Github

copy

Full Screen

1function ExecuteScript(strId)2{3 switch (strId)4 {5 case "5axIP5kaYdB":6 Script1();7 break;8 case "5nSsfRgnLVG":9 Script2();10 break;11 case "6X8h2kO56Fu":12 Script3();13 break;14 case "6hqNwhOJmn2":15 Script4();16 break;17 case "5g0ceIsp0qb":18 Script5();19 break;20 case "62HwPum6DT9":21 Script6();22 break;23 case "63WRRsgFwDT":24 Script7();25 break;26 case "5olDImTsmaA":27 Script8();28 break;29 case "6EU6JHoJbD4":30 Script9();31 break;32 case "6EdSuxpJc5U":33 Script10();34 break;35 case "6JUoupxrj7E":36 Script11();37 break;38 case "5crqgQady0G":39 Script12();40 break;41 case "63qzOGF8KIL":42 Script13();43 break;44 case "6ZlPScr0rAD":45 Script14();46 break;47 case "6XWc1jDNErY":48 Script15();49 break;50 case "5WVNZY79mZR":51 Script16();52 break;53 case "5jvgxvJO32v":54 Script17();55 break;56 case "6HjI9hH4hPI":57 Script18();58 break;59 case "6jpXU8XZxSv":60 Script19();61 break;62 case "5gmXS7SkFgo":63 Script20();64 break;65 case "6Eg6YmcMd5m":66 Script21();67 break;68 case "6rKfqPjHBt4":69 Script22();70 break;71 case "5ydJg4KUrzy":72 Script23();73 break;74 case "5hEHnjavIhZ":75 Script24();76 break;77 case "5rMke8ctf0d":78 Script25();79 break;80 case "62tMyLnOP2j":81 Script26();82 break;83 case "6HMwPOIfL6R":84 Script27();85 break;86 case "5VDhIeduxHn":87 Script28();88 break;89 case "6rQRPCCHBbg":90 Script29();91 break;92 case "5XIEOLl6q3W":93 Script30();94 break;95 case "6Bb8aGhHNJc":96 Script31();97 break;98 case "6I0MXsRww60":99 Script32();100 break;101 case "6J9Jx0QnLTh":102 Script33();103 break;104 case "5wVrAmCgNbS":105 Script34();106 break;107 }108}109function Script1()110{111 function add_script(scriptURL,oID) {112 var scriptEl = document.createElement("script");113 var head=document.getElementsByTagName('head')[0];114 scriptEl.type = "text/javascript"; 115 scriptEl.src = scriptURL; 116 scriptEl.id=oID; 117 head.appendChild(scriptEl);}118//only want to add these once!119if(document.getElementById('jquery')==null){120add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");121}122/* Get into full screen */123function GoInFullscreen(preso) {124 if(preso.requestFullscreen)125 preso.requestFullscreen();126 else if(preso.mozRequestFullScreen)127 preso.mozRequestFullScreen();128 else if(preso.webkitRequestFullscreen)129 preso.webkitRequestFullscreen();130 else if(preso.msRequestFullscreen)131 preso.msRequestFullscreen();132}133/* Get out of full screen */134function GoOutFullscreen() {135 if(document.exitFullscreen)136 document.exitFullscreen();137 else if(document.mozCancelFullScreen)138 document.mozCancelFullScreen();139 else if(document.webkitExitFullscreen)140 document.webkitExitFullscreen();141 else if(document.msExitFullscreen)142 document.msExitFullscreen();143}144/* Is currently in full screen or not */145function IsFullScreenCurrently() {146 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;147 148 // If no preso is in full-screen149 if(full_screen_preso === null)150 return false;151 else152 return true;153}154GoInFullscreen($("#preso").get(0));155}156function Script2()157{158 function add_script(scriptURL,oID) {159 var scriptEl = document.createElement("script");160 var head=document.getElementsByTagName('head')[0];161 scriptEl.type = "text/javascript"; 162 scriptEl.src = scriptURL; 163 scriptEl.id=oID; 164 head.appendChild(scriptEl);}165//only want to add these once!166if(document.getElementById('jquery')==null){167add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");168}169/* Get into full screen */170function GoInFullscreen(preso) {171 if(preso.requestFullscreen)172 preso.requestFullscreen();173 else if(preso.mozRequestFullScreen)174 preso.mozRequestFullScreen();175 else if(preso.webkitRequestFullscreen)176 preso.webkitRequestFullscreen();177 else if(preso.msRequestFullscreen)178 preso.msRequestFullscreen();179}180/* Get out of full screen */181function GoOutFullscreen() {182 if(document.exitFullscreen)183 document.exitFullscreen();184 else if(document.mozCancelFullScreen)185 document.mozCancelFullScreen();186 else if(document.webkitExitFullscreen)187 document.webkitExitFullscreen();188 else if(document.msExitFullscreen)189 document.msExitFullscreen();190}191/* Is currently in full screen or not */192function IsFullScreenCurrently() {193 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;194 195 // If no preso is in full-screen196 if(full_screen_preso === null)197 return false;198 else199 return true;200}201GoOutFullscreen();202}203function Script3()204{205 function add_script(scriptURL,oID) {206 var scriptEl = document.createElement("script");207 var head=document.getElementsByTagName('head')[0];208 scriptEl.type = "text/javascript"; 209 scriptEl.src = scriptURL; 210 scriptEl.id=oID; 211 head.appendChild(scriptEl);}212//only want to add these once!213if(document.getElementById('jquery')==null){214add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");215}216/* Get into full screen */217function GoInFullscreen(preso) {218 if(preso.requestFullscreen)219 preso.requestFullscreen();220 else if(preso.mozRequestFullScreen)221 preso.mozRequestFullScreen();222 else if(preso.webkitRequestFullscreen)223 preso.webkitRequestFullscreen();224 else if(preso.msRequestFullscreen)225 preso.msRequestFullscreen();226}227/* Get out of full screen */228function GoOutFullscreen() {229 if(document.exitFullscreen)230 document.exitFullscreen();231 else if(document.mozCancelFullScreen)232 document.mozCancelFullScreen();233 else if(document.webkitExitFullscreen)234 document.webkitExitFullscreen();235 else if(document.msExitFullscreen)236 document.msExitFullscreen();237}238/* Is currently in full screen or not */239function IsFullScreenCurrently() {240 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;241 242 // If no preso is in full-screen243 if(full_screen_preso === null)244 return false;245 else246 return true;247}248GoInFullscreen($("#preso").get(0));249}250function Script4()251{252 function add_script(scriptURL,oID) {253 var scriptEl = document.createElement("script");254 var head=document.getElementsByTagName('head')[0];255 scriptEl.type = "text/javascript"; 256 scriptEl.src = scriptURL; 257 scriptEl.id=oID; 258 head.appendChild(scriptEl);}259//only want to add these once!260if(document.getElementById('jquery')==null){261add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");262}263/* Get into full screen */264function GoInFullscreen(preso) {265 if(preso.requestFullscreen)266 preso.requestFullscreen();267 else if(preso.mozRequestFullScreen)268 preso.mozRequestFullScreen();269 else if(preso.webkitRequestFullscreen)270 preso.webkitRequestFullscreen();271 else if(preso.msRequestFullscreen)272 preso.msRequestFullscreen();273}274/* Get out of full screen */275function GoOutFullscreen() {276 if(document.exitFullscreen)277 document.exitFullscreen();278 else if(document.mozCancelFullScreen)279 document.mozCancelFullScreen();280 else if(document.webkitExitFullscreen)281 document.webkitExitFullscreen();282 else if(document.msExitFullscreen)283 document.msExitFullscreen();284}285/* Is currently in full screen or not */286function IsFullScreenCurrently() {287 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;288 289 // If no preso is in full-screen290 if(full_screen_preso === null)291 return false;292 else293 return true;294}295GoOutFullscreen();296}297function Script5()298{299 function add_script(scriptURL,oID) {300 var scriptEl = document.createElement("script");301 var head=document.getElementsByTagName('head')[0];302 scriptEl.type = "text/javascript"; 303 scriptEl.src = scriptURL; 304 scriptEl.id=oID; 305 head.appendChild(scriptEl);}306//only want to add these once!307if(document.getElementById('jquery')==null){308add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");309}310/* Get into full screen */311function GoInFullscreen(preso) {312 if(preso.requestFullscreen)313 preso.requestFullscreen();314 else if(preso.mozRequestFullScreen)315 preso.mozRequestFullScreen();316 else if(preso.webkitRequestFullscreen)317 preso.webkitRequestFullscreen();318 else if(preso.msRequestFullscreen)319 preso.msRequestFullscreen();320}321/* Get out of full screen */322function GoOutFullscreen() {323 if(document.exitFullscreen)324 document.exitFullscreen();325 else if(document.mozCancelFullScreen)326 document.mozCancelFullScreen();327 else if(document.webkitExitFullscreen)328 document.webkitExitFullscreen();329 else if(document.msExitFullscreen)330 document.msExitFullscreen();331}332/* Is currently in full screen or not */333function IsFullScreenCurrently() {334 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;335 336 // If no preso is in full-screen337 if(full_screen_preso === null)338 return false;339 else340 return true;341}342GoInFullscreen($("#preso").get(0));343}344function Script6()345{346 function add_script(scriptURL,oID) {347 var scriptEl = document.createElement("script");348 var head=document.getElementsByTagName('head')[0];349 scriptEl.type = "text/javascript"; 350 scriptEl.src = scriptURL; 351 scriptEl.id=oID; 352 head.appendChild(scriptEl);}353//only want to add these once!354if(document.getElementById('jquery')==null){355add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");356}357/* Get into full screen */358function GoInFullscreen(preso) {359 if(preso.requestFullscreen)360 preso.requestFullscreen();361 else if(preso.mozRequestFullScreen)362 preso.mozRequestFullScreen();363 else if(preso.webkitRequestFullscreen)364 preso.webkitRequestFullscreen();365 else if(preso.msRequestFullscreen)366 preso.msRequestFullscreen();367}368/* Get out of full screen */369function GoOutFullscreen() {370 if(document.exitFullscreen)371 document.exitFullscreen();372 else if(document.mozCancelFullScreen)373 document.mozCancelFullScreen();374 else if(document.webkitExitFullscreen)375 document.webkitExitFullscreen();376 else if(document.msExitFullscreen)377 document.msExitFullscreen();378}379/* Is currently in full screen or not */380function IsFullScreenCurrently() {381 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;382 383 // If no preso is in full-screen384 if(full_screen_preso === null)385 return false;386 else387 return true;388}389GoInFullscreen($("#preso").get(0));390}391function Script7()392{393 function add_script(scriptURL,oID) {394 var scriptEl = document.createElement("script");395 var head=document.getElementsByTagName('head')[0];396 scriptEl.type = "text/javascript"; 397 scriptEl.src = scriptURL; 398 scriptEl.id=oID; 399 head.appendChild(scriptEl);}400//only want to add these once!401if(document.getElementById('jquery')==null){402add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");403}404/* Get into full screen */405function GoInFullscreen(preso) {406 if(preso.requestFullscreen)407 preso.requestFullscreen();408 else if(preso.mozRequestFullScreen)409 preso.mozRequestFullScreen();410 else if(preso.webkitRequestFullscreen)411 preso.webkitRequestFullscreen();412 else if(preso.msRequestFullscreen)413 preso.msRequestFullscreen();414}415/* Get out of full screen */416function GoOutFullscreen() {417 if(document.exitFullscreen)418 document.exitFullscreen();419 else if(document.mozCancelFullScreen)420 document.mozCancelFullScreen();421 else if(document.webkitExitFullscreen)422 document.webkitExitFullscreen();423 else if(document.msExitFullscreen)424 document.msExitFullscreen();425}426/* Is currently in full screen or not */427function IsFullScreenCurrently() {428 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;429 430 // If no preso is in full-screen431 if(full_screen_preso === null)432 return false;433 else434 return true;435}436GoInFullscreen($("#preso").get(0));437}438function Script8()439{440 function add_script(scriptURL,oID) {441 var scriptEl = document.createElement("script");442 var head=document.getElementsByTagName('head')[0];443 scriptEl.type = "text/javascript"; 444 scriptEl.src = scriptURL; 445 scriptEl.id=oID; 446 head.appendChild(scriptEl);}447//only want to add these once!448if(document.getElementById('jquery')==null){449add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");450}451/* Get into full screen */452function GoInFullscreen(preso) {453 if(preso.requestFullscreen)454 preso.requestFullscreen();455 else if(preso.mozRequestFullScreen)456 preso.mozRequestFullScreen();457 else if(preso.webkitRequestFullscreen)458 preso.webkitRequestFullscreen();459 else if(preso.msRequestFullscreen)460 preso.msRequestFullscreen();461}462/* Get out of full screen */463function GoOutFullscreen() {464 if(document.exitFullscreen)465 document.exitFullscreen();466 else if(document.mozCancelFullScreen)467 document.mozCancelFullScreen();468 else if(document.webkitExitFullscreen)469 document.webkitExitFullscreen();470 else if(document.msExitFullscreen)471 document.msExitFullscreen();472}473/* Is currently in full screen or not */474function IsFullScreenCurrently() {475 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;476 477 // If no preso is in full-screen478 if(full_screen_preso === null)479 return false;480 else481 return true;482}483GoOutFullscreen();484}485function Script9()486{487 function add_script(scriptURL,oID) {488 var scriptEl = document.createElement("script");489 var head=document.getElementsByTagName('head')[0];490 scriptEl.type = "text/javascript"; 491 scriptEl.src = scriptURL; 492 scriptEl.id=oID; 493 head.appendChild(scriptEl);}494//only want to add these once!495if(document.getElementById('jquery')==null){496add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");497}498/* Get into full screen */499function GoInFullscreen(preso) {500 if(preso.requestFullscreen)501 preso.requestFullscreen();502 else if(preso.mozRequestFullScreen)503 preso.mozRequestFullScreen();504 else if(preso.webkitRequestFullscreen)505 preso.webkitRequestFullscreen();506 else if(preso.msRequestFullscreen)507 preso.msRequestFullscreen();508}509/* Get out of full screen */510function GoOutFullscreen() {511 if(document.exitFullscreen)512 document.exitFullscreen();513 else if(document.mozCancelFullScreen)514 document.mozCancelFullScreen();515 else if(document.webkitExitFullscreen)516 document.webkitExitFullscreen();517 else if(document.msExitFullscreen)518 document.msExitFullscreen();519}520/* Is currently in full screen or not */521function IsFullScreenCurrently() {522 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;523 524 // If no preso is in full-screen525 if(full_screen_preso === null)526 return false;527 else528 return true;529}530GoInFullscreen($("#preso").get(0));531}532function Script10()533{534 function add_script(scriptURL,oID) {535 var scriptEl = document.createElement("script");536 var head=document.getElementsByTagName('head')[0];537 scriptEl.type = "text/javascript"; 538 scriptEl.src = scriptURL; 539 scriptEl.id=oID; 540 head.appendChild(scriptEl);}541//only want to add these once!542if(document.getElementById('jquery')==null){543add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");544}545/* Get into full screen */546function GoInFullscreen(preso) {547 if(preso.requestFullscreen)548 preso.requestFullscreen();549 else if(preso.mozRequestFullScreen)550 preso.mozRequestFullScreen();551 else if(preso.webkitRequestFullscreen)552 preso.webkitRequestFullscreen();553 else if(preso.msRequestFullscreen)554 preso.msRequestFullscreen();555}556/* Get out of full screen */557function GoOutFullscreen() {558 if(document.exitFullscreen)559 document.exitFullscreen();560 else if(document.mozCancelFullScreen)561 document.mozCancelFullScreen();562 else if(document.webkitExitFullscreen)563 document.webkitExitFullscreen();564 else if(document.msExitFullscreen)565 document.msExitFullscreen();566}567/* Is currently in full screen or not */568function IsFullScreenCurrently() {569 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;570 571 // If no preso is in full-screen572 if(full_screen_preso === null)573 return false;574 else575 return true;576}577GoOutFullscreen();578}579function Script11()580{581 function add_script(scriptURL,oID) {582 var scriptEl = document.createElement("script");583 var head=document.getElementsByTagName('head')[0];584 scriptEl.type = "text/javascript"; 585 scriptEl.src = scriptURL; 586 scriptEl.id=oID; 587 head.appendChild(scriptEl);}588//only want to add these once!589if(document.getElementById('jquery')==null){590add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");591}592/* Get into full screen */593function GoInFullscreen(preso) {594 if(preso.requestFullscreen)595 preso.requestFullscreen();596 else if(preso.mozRequestFullScreen)597 preso.mozRequestFullScreen();598 else if(preso.webkitRequestFullscreen)599 preso.webkitRequestFullscreen();600 else if(preso.msRequestFullscreen)601 preso.msRequestFullscreen();602}603/* Get out of full screen */604function GoOutFullscreen() {605 if(document.exitFullscreen)606 document.exitFullscreen();607 else if(document.mozCancelFullScreen)608 document.mozCancelFullScreen();609 else if(document.webkitExitFullscreen)610 document.webkitExitFullscreen();611 else if(document.msExitFullscreen)612 document.msExitFullscreen();613}614/* Is currently in full screen or not */615function IsFullScreenCurrently() {616 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;617 618 // If no preso is in full-screen619 if(full_screen_preso === null)620 return false;621 else622 return true;623}624GoInFullscreen($("#preso").get(0));625}626function Script12()627{628 function add_script(scriptURL,oID) {629 var scriptEl = document.createElement("script");630 var head=document.getElementsByTagName('head')[0];631 scriptEl.type = "text/javascript"; 632 scriptEl.src = scriptURL; 633 scriptEl.id=oID; 634 head.appendChild(scriptEl);}635//only want to add these once!636if(document.getElementById('jquery')==null){637add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");638}639/* Get into full screen */640function GoInFullscreen(preso) {641 if(preso.requestFullscreen)642 preso.requestFullscreen();643 else if(preso.mozRequestFullScreen)644 preso.mozRequestFullScreen();645 else if(preso.webkitRequestFullscreen)646 preso.webkitRequestFullscreen();647 else if(preso.msRequestFullscreen)648 preso.msRequestFullscreen();649}650/* Get out of full screen */651function GoOutFullscreen() {652 if(document.exitFullscreen)653 document.exitFullscreen();654 else if(document.mozCancelFullScreen)655 document.mozCancelFullScreen();656 else if(document.webkitExitFullscreen)657 document.webkitExitFullscreen();658 else if(document.msExitFullscreen)659 document.msExitFullscreen();660}661/* Is currently in full screen or not */662function IsFullScreenCurrently() {663 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;664 665 // If no preso is in full-screen666 if(full_screen_preso === null)667 return false;668 else669 return true;670}671GoOutFullscreen();672}673function Script13()674{675 function add_script(scriptURL,oID) {676 var scriptEl = document.createElement("script");677 var head=document.getElementsByTagName('head')[0];678 scriptEl.type = "text/javascript"; 679 scriptEl.src = scriptURL; 680 scriptEl.id=oID; 681 head.appendChild(scriptEl);}682//only want to add these once!683if(document.getElementById('jquery')==null){684add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");685}686/* Get into full screen */687function GoInFullscreen(preso) {688 if(preso.requestFullscreen)689 preso.requestFullscreen();690 else if(preso.mozRequestFullScreen)691 preso.mozRequestFullScreen();692 else if(preso.webkitRequestFullscreen)693 preso.webkitRequestFullscreen();694 else if(preso.msRequestFullscreen)695 preso.msRequestFullscreen();696}697/* Get out of full screen */698function GoOutFullscreen() {699 if(document.exitFullscreen)700 document.exitFullscreen();701 else if(document.mozCancelFullScreen)702 document.mozCancelFullScreen();703 else if(document.webkitExitFullscreen)704 document.webkitExitFullscreen();705 else if(document.msExitFullscreen)706 document.msExitFullscreen();707}708/* Is currently in full screen or not */709function IsFullScreenCurrently() {710 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;711 712 // If no preso is in full-screen713 if(full_screen_preso === null)714 return false;715 else716 return true;717}718GoInFullscreen($("#preso").get(0));719}720function Script14()721{722 function add_script(scriptURL,oID) {723 var scriptEl = document.createElement("script");724 var head=document.getElementsByTagName('head')[0];725 scriptEl.type = "text/javascript"; 726 scriptEl.src = scriptURL; 727 scriptEl.id=oID; 728 head.appendChild(scriptEl);}729//only want to add these once!730if(document.getElementById('jquery')==null){731add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");732}733/* Get into full screen */734function GoInFullscreen(preso) {735 if(preso.requestFullscreen)736 preso.requestFullscreen();737 else if(preso.mozRequestFullScreen)738 preso.mozRequestFullScreen();739 else if(preso.webkitRequestFullscreen)740 preso.webkitRequestFullscreen();741 else if(preso.msRequestFullscreen)742 preso.msRequestFullscreen();743}744/* Get out of full screen */745function GoOutFullscreen() {746 if(document.exitFullscreen)747 document.exitFullscreen();748 else if(document.mozCancelFullScreen)749 document.mozCancelFullScreen();750 else if(document.webkitExitFullscreen)751 document.webkitExitFullscreen();752 else if(document.msExitFullscreen)753 document.msExitFullscreen();754}755/* Is currently in full screen or not */756function IsFullScreenCurrently() {757 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;758 759 // If no preso is in full-screen760 if(full_screen_preso === null)761 return false;762 else763 return true;764}765GoOutFullscreen();766}767function Script15()768{769 function add_script(scriptURL,oID) {770 var scriptEl = document.createElement("script");771 var head=document.getElementsByTagName('head')[0];772 scriptEl.type = "text/javascript"; 773 scriptEl.src = scriptURL; 774 scriptEl.id=oID; 775 head.appendChild(scriptEl);}776//only want to add these once!777if(document.getElementById('jquery')==null){778add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");779}780/* Get into full screen */781function GoInFullscreen(preso) {782 if(preso.requestFullscreen)783 preso.requestFullscreen();784 else if(preso.mozRequestFullScreen)785 preso.mozRequestFullScreen();786 else if(preso.webkitRequestFullscreen)787 preso.webkitRequestFullscreen();788 else if(preso.msRequestFullscreen)789 preso.msRequestFullscreen();790}791/* Get out of full screen */792function GoOutFullscreen() {793 if(document.exitFullscreen)794 document.exitFullscreen();795 else if(document.mozCancelFullScreen)796 document.mozCancelFullScreen();797 else if(document.webkitExitFullscreen)798 document.webkitExitFullscreen();799 else if(document.msExitFullscreen)800 document.msExitFullscreen();801}802/* Is currently in full screen or not */803function IsFullScreenCurrently() {804 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;805 806 // If no preso is in full-screen807 if(full_screen_preso === null)808 return false;809 else810 return true;811}812GoInFullscreen($("#preso").get(0));813}814function Script16()815{816 function add_script(scriptURL,oID) {817 var scriptEl = document.createElement("script");818 var head=document.getElementsByTagName('head')[0];819 scriptEl.type = "text/javascript"; 820 scriptEl.src = scriptURL; 821 scriptEl.id=oID; 822 head.appendChild(scriptEl);}823//only want to add these once!824if(document.getElementById('jquery')==null){825add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");826}827/* Get into full screen */828function GoInFullscreen(preso) {829 if(preso.requestFullscreen)830 preso.requestFullscreen();831 else if(preso.mozRequestFullScreen)832 preso.mozRequestFullScreen();833 else if(preso.webkitRequestFullscreen)834 preso.webkitRequestFullscreen();835 else if(preso.msRequestFullscreen)836 preso.msRequestFullscreen();837}838/* Get out of full screen */839function GoOutFullscreen() {840 if(document.exitFullscreen)841 document.exitFullscreen();842 else if(document.mozCancelFullScreen)843 document.mozCancelFullScreen();844 else if(document.webkitExitFullscreen)845 document.webkitExitFullscreen();846 else if(document.msExitFullscreen)847 document.msExitFullscreen();848}849/* Is currently in full screen or not */850function IsFullScreenCurrently() {851 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;852 853 // If no preso is in full-screen854 if(full_screen_preso === null)855 return false;856 else857 return true;858}859GoOutFullscreen();860}861function Script17()862{863 function add_script(scriptURL,oID) {864 var scriptEl = document.createElement("script");865 var head=document.getElementsByTagName('head')[0];866 scriptEl.type = "text/javascript"; 867 scriptEl.src = scriptURL; 868 scriptEl.id=oID; 869 head.appendChild(scriptEl);}870//only want to add these once!871if(document.getElementById('jquery')==null){872add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");873}874/* Get into full screen */875function GoInFullscreen(preso) {876 if(preso.requestFullscreen)877 preso.requestFullscreen();878 else if(preso.mozRequestFullScreen)879 preso.mozRequestFullScreen();880 else if(preso.webkitRequestFullscreen)881 preso.webkitRequestFullscreen();882 else if(preso.msRequestFullscreen)883 preso.msRequestFullscreen();884}885/* Get out of full screen */886function GoOutFullscreen() {887 if(document.exitFullscreen)888 document.exitFullscreen();889 else if(document.mozCancelFullScreen)890 document.mozCancelFullScreen();891 else if(document.webkitExitFullscreen)892 document.webkitExitFullscreen();893 else if(document.msExitFullscreen)894 document.msExitFullscreen();895}896/* Is currently in full screen or not */897function IsFullScreenCurrently() {898 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;899 900 // If no preso is in full-screen901 if(full_screen_preso === null)902 return false;903 else904 return true;905}906GoInFullscreen($("#preso").get(0));907}908function Script18()909{910 function add_script(scriptURL,oID) {911 var scriptEl = document.createElement("script");912 var head=document.getElementsByTagName('head')[0];913 scriptEl.type = "text/javascript"; 914 scriptEl.src = scriptURL; 915 scriptEl.id=oID; 916 head.appendChild(scriptEl);}917//only want to add these once!918if(document.getElementById('jquery')==null){919add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");920}921/* Get into full screen */922function GoInFullscreen(preso) {923 if(preso.requestFullscreen)924 preso.requestFullscreen();925 else if(preso.mozRequestFullScreen)926 preso.mozRequestFullScreen();927 else if(preso.webkitRequestFullscreen)928 preso.webkitRequestFullscreen();929 else if(preso.msRequestFullscreen)930 preso.msRequestFullscreen();931}932/* Get out of full screen */933function GoOutFullscreen() {934 if(document.exitFullscreen)935 document.exitFullscreen();936 else if(document.mozCancelFullScreen)937 document.mozCancelFullScreen();938 else if(document.webkitExitFullscreen)939 document.webkitExitFullscreen();940 else if(document.msExitFullscreen)941 document.msExitFullscreen();942}943/* Is currently in full screen or not */944function IsFullScreenCurrently() {945 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;946 947 // If no preso is in full-screen948 if(full_screen_preso === null)949 return false;950 else951 return true;952}953GoOutFullscreen();954}955function Script19()956{957 function add_script(scriptURL,oID) {958 var scriptEl = document.createElement("script");959 var head=document.getElementsByTagName('head')[0];960 scriptEl.type = "text/javascript"; 961 scriptEl.src = scriptURL; 962 scriptEl.id=oID; 963 head.appendChild(scriptEl);}964//only want to add these once!965if(document.getElementById('jquery')==null){966add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");967}968/* Get into full screen */969function GoInFullscreen(preso) {970 if(preso.requestFullscreen)971 preso.requestFullscreen();972 else if(preso.mozRequestFullScreen)973 preso.mozRequestFullScreen();974 else if(preso.webkitRequestFullscreen)975 preso.webkitRequestFullscreen();976 else if(preso.msRequestFullscreen)977 preso.msRequestFullscreen();978}979/* Get out of full screen */980function GoOutFullscreen() {981 if(document.exitFullscreen)982 document.exitFullscreen();983 else if(document.mozCancelFullScreen)984 document.mozCancelFullScreen();985 else if(document.webkitExitFullscreen)986 document.webkitExitFullscreen();987 else if(document.msExitFullscreen)988 document.msExitFullscreen();989}990/* Is currently in full screen or not */991function IsFullScreenCurrently() {992 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;993 994 // If no preso is in full-screen995 if(full_screen_preso === null)996 return false;997 else998 return true;999}1000GoInFullscreen($("#preso").get(0));1001}1002function Script20()1003{1004 function add_script(scriptURL,oID) {1005 var scriptEl = document.createElement("script");1006 var head=document.getElementsByTagName('head')[0];1007 scriptEl.type = "text/javascript"; 1008 scriptEl.src = scriptURL; 1009 scriptEl.id=oID; 1010 head.appendChild(scriptEl);}1011//only want to add these once!1012if(document.getElementById('jquery')==null){1013add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1014}1015/* Get into full screen */1016function GoInFullscreen(preso) {1017 if(preso.requestFullscreen)1018 preso.requestFullscreen();1019 else if(preso.mozRequestFullScreen)1020 preso.mozRequestFullScreen();1021 else if(preso.webkitRequestFullscreen)1022 preso.webkitRequestFullscreen();1023 else if(preso.msRequestFullscreen)1024 preso.msRequestFullscreen();1025}1026/* Get out of full screen */1027function GoOutFullscreen() {1028 if(document.exitFullscreen)1029 document.exitFullscreen();1030 else if(document.mozCancelFullScreen)1031 document.mozCancelFullScreen();1032 else if(document.webkitExitFullscreen)1033 document.webkitExitFullscreen();1034 else if(document.msExitFullscreen)1035 document.msExitFullscreen();1036}1037/* Is currently in full screen or not */1038function IsFullScreenCurrently() {1039 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1040 1041 // If no preso is in full-screen1042 if(full_screen_preso === null)1043 return false;1044 else1045 return true;1046}1047GoOutFullscreen();1048}1049function Script21()1050{1051 function add_script(scriptURL,oID) {1052 var scriptEl = document.createElement("script");1053 var head=document.getElementsByTagName('head')[0];1054 scriptEl.type = "text/javascript"; 1055 scriptEl.src = scriptURL; 1056 scriptEl.id=oID; 1057 head.appendChild(scriptEl);}1058//only want to add these once!1059if(document.getElementById('jquery')==null){1060add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1061}1062/* Get into full screen */1063function GoInFullscreen(preso) {1064 if(preso.requestFullscreen)1065 preso.requestFullscreen();1066 else if(preso.mozRequestFullScreen)1067 preso.mozRequestFullScreen();1068 else if(preso.webkitRequestFullscreen)1069 preso.webkitRequestFullscreen();1070 else if(preso.msRequestFullscreen)1071 preso.msRequestFullscreen();1072}1073/* Get out of full screen */1074function GoOutFullscreen() {1075 if(document.exitFullscreen)1076 document.exitFullscreen();1077 else if(document.mozCancelFullScreen)1078 document.mozCancelFullScreen();1079 else if(document.webkitExitFullscreen)1080 document.webkitExitFullscreen();1081 else if(document.msExitFullscreen)1082 document.msExitFullscreen();1083}1084/* Is currently in full screen or not */1085function IsFullScreenCurrently() {1086 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1087 1088 // If no preso is in full-screen1089 if(full_screen_preso === null)1090 return false;1091 else1092 return true;1093}1094GoInFullscreen($("#preso").get(0));1095}1096function Script22()1097{1098 function add_script(scriptURL,oID) {1099 var scriptEl = document.createElement("script");1100 var head=document.getElementsByTagName('head')[0];1101 scriptEl.type = "text/javascript"; 1102 scriptEl.src = scriptURL; 1103 scriptEl.id=oID; 1104 head.appendChild(scriptEl);}1105//only want to add these once!1106if(document.getElementById('jquery')==null){1107add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1108}1109/* Get into full screen */1110function GoInFullscreen(preso) {1111 if(preso.requestFullscreen)1112 preso.requestFullscreen();1113 else if(preso.mozRequestFullScreen)1114 preso.mozRequestFullScreen();1115 else if(preso.webkitRequestFullscreen)1116 preso.webkitRequestFullscreen();1117 else if(preso.msRequestFullscreen)1118 preso.msRequestFullscreen();1119}1120/* Get out of full screen */1121function GoOutFullscreen() {1122 if(document.exitFullscreen)1123 document.exitFullscreen();1124 else if(document.mozCancelFullScreen)1125 document.mozCancelFullScreen();1126 else if(document.webkitExitFullscreen)1127 document.webkitExitFullscreen();1128 else if(document.msExitFullscreen)1129 document.msExitFullscreen();1130}1131/* Is currently in full screen or not */1132function IsFullScreenCurrently() {1133 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1134 1135 // If no preso is in full-screen1136 if(full_screen_preso === null)1137 return false;1138 else1139 return true;1140}1141GoOutFullscreen();1142}1143function Script23()1144{1145 function add_script(scriptURL,oID) {1146 var scriptEl = document.createElement("script");1147 var head=document.getElementsByTagName('head')[0];1148 scriptEl.type = "text/javascript"; 1149 scriptEl.src = scriptURL; 1150 scriptEl.id=oID; 1151 head.appendChild(scriptEl);}1152//only want to add these once!1153if(document.getElementById('jquery')==null){1154add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1155}1156/* Get into full screen */1157function GoInFullscreen(preso) {1158 if(preso.requestFullscreen)1159 preso.requestFullscreen();1160 else if(preso.mozRequestFullScreen)1161 preso.mozRequestFullScreen();1162 else if(preso.webkitRequestFullscreen)1163 preso.webkitRequestFullscreen();1164 else if(preso.msRequestFullscreen)1165 preso.msRequestFullscreen();1166}1167/* Get out of full screen */1168function GoOutFullscreen() {1169 if(document.exitFullscreen)1170 document.exitFullscreen();1171 else if(document.mozCancelFullScreen)1172 document.mozCancelFullScreen();1173 else if(document.webkitExitFullscreen)1174 document.webkitExitFullscreen();1175 else if(document.msExitFullscreen)1176 document.msExitFullscreen();1177}1178/* Is currently in full screen or not */1179function IsFullScreenCurrently() {1180 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1181 1182 // If no preso is in full-screen1183 if(full_screen_preso === null)1184 return false;1185 else1186 return true;1187}1188GoInFullscreen($("#preso").get(0));1189}1190function Script24()1191{1192 function add_script(scriptURL,oID) {1193 var scriptEl = document.createElement("script");1194 var head=document.getElementsByTagName('head')[0];1195 scriptEl.type = "text/javascript"; 1196 scriptEl.src = scriptURL; 1197 scriptEl.id=oID; 1198 head.appendChild(scriptEl);}1199//only want to add these once!1200if(document.getElementById('jquery')==null){1201add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1202}1203/* Get into full screen */1204function GoInFullscreen(preso) {1205 if(preso.requestFullscreen)1206 preso.requestFullscreen();1207 else if(preso.mozRequestFullScreen)1208 preso.mozRequestFullScreen();1209 else if(preso.webkitRequestFullscreen)1210 preso.webkitRequestFullscreen();1211 else if(preso.msRequestFullscreen)1212 preso.msRequestFullscreen();1213}1214/* Get out of full screen */1215function GoOutFullscreen() {1216 if(document.exitFullscreen)1217 document.exitFullscreen();1218 else if(document.mozCancelFullScreen)1219 document.mozCancelFullScreen();1220 else if(document.webkitExitFullscreen)1221 document.webkitExitFullscreen();1222 else if(document.msExitFullscreen)1223 document.msExitFullscreen();1224}1225/* Is currently in full screen or not */1226function IsFullScreenCurrently() {1227 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1228 1229 // If no preso is in full-screen1230 if(full_screen_preso === null)1231 return false;1232 else1233 return true;1234}1235GoOutFullscreen();1236}1237function Script25()1238{1239 function add_script(scriptURL,oID) {1240 var scriptEl = document.createElement("script");1241 var head=document.getElementsByTagName('head')[0];1242 scriptEl.type = "text/javascript"; 1243 scriptEl.src = scriptURL; 1244 scriptEl.id=oID; 1245 head.appendChild(scriptEl);}1246//only want to add these once!1247if(document.getElementById('jquery')==null){1248add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1249}1250/* Get into full screen */1251function GoInFullscreen(preso) {1252 if(preso.requestFullscreen)1253 preso.requestFullscreen();1254 else if(preso.mozRequestFullScreen)1255 preso.mozRequestFullScreen();1256 else if(preso.webkitRequestFullscreen)1257 preso.webkitRequestFullscreen();1258 else if(preso.msRequestFullscreen)1259 preso.msRequestFullscreen();1260}1261/* Get out of full screen */1262function GoOutFullscreen() {1263 if(document.exitFullscreen)1264 document.exitFullscreen();1265 else if(document.mozCancelFullScreen)1266 document.mozCancelFullScreen();1267 else if(document.webkitExitFullscreen)1268 document.webkitExitFullscreen();1269 else if(document.msExitFullscreen)1270 document.msExitFullscreen();1271}1272/* Is currently in full screen or not */1273function IsFullScreenCurrently() {1274 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1275 1276 // If no preso is in full-screen1277 if(full_screen_preso === null)1278 return false;1279 else1280 return true;1281}1282GoInFullscreen($("#preso").get(0));1283}1284function Script26()1285{1286 function add_script(scriptURL,oID) {1287 var scriptEl = document.createElement("script");1288 var head=document.getElementsByTagName('head')[0];1289 scriptEl.type = "text/javascript"; 1290 scriptEl.src = scriptURL; 1291 scriptEl.id=oID; 1292 head.appendChild(scriptEl);}1293//only want to add these once!1294if(document.getElementById('jquery')==null){1295add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1296}1297/* Get into full screen */1298function GoInFullscreen(preso) {1299 if(preso.requestFullscreen)1300 preso.requestFullscreen();1301 else if(preso.mozRequestFullScreen)1302 preso.mozRequestFullScreen();1303 else if(preso.webkitRequestFullscreen)1304 preso.webkitRequestFullscreen();1305 else if(preso.msRequestFullscreen)1306 preso.msRequestFullscreen();1307}1308/* Get out of full screen */1309function GoOutFullscreen() {1310 if(document.exitFullscreen)1311 document.exitFullscreen();1312 else if(document.mozCancelFullScreen)1313 document.mozCancelFullScreen();1314 else if(document.webkitExitFullscreen)1315 document.webkitExitFullscreen();1316 else if(document.msExitFullscreen)1317 document.msExitFullscreen();1318}1319/* Is currently in full screen or not */1320function IsFullScreenCurrently() {1321 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1322 1323 // If no preso is in full-screen1324 if(full_screen_preso === null)1325 return false;1326 else1327 return true;1328}1329GoOutFullscreen();1330}1331function Script27()1332{1333 function add_script(scriptURL,oID) {1334 var scriptEl = document.createElement("script");1335 var head=document.getElementsByTagName('head')[0];1336 scriptEl.type = "text/javascript"; 1337 scriptEl.src = scriptURL; 1338 scriptEl.id=oID; 1339 head.appendChild(scriptEl);}1340//only want to add these once!1341if(document.getElementById('jquery')==null){1342add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1343}1344/* Get into full screen */1345function GoInFullscreen(preso) {1346 if(preso.requestFullscreen)1347 preso.requestFullscreen();1348 else if(preso.mozRequestFullScreen)1349 preso.mozRequestFullScreen();1350 else if(preso.webkitRequestFullscreen)1351 preso.webkitRequestFullscreen();1352 else if(preso.msRequestFullscreen)1353 preso.msRequestFullscreen();1354}1355/* Get out of full screen */1356function GoOutFullscreen() {1357 if(document.exitFullscreen)1358 document.exitFullscreen();1359 else if(document.mozCancelFullScreen)1360 document.mozCancelFullScreen();1361 else if(document.webkitExitFullscreen)1362 document.webkitExitFullscreen();1363 else if(document.msExitFullscreen)1364 document.msExitFullscreen();1365}1366/* Is currently in full screen or not */1367function IsFullScreenCurrently() {1368 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1369 1370 // If no preso is in full-screen1371 if(full_screen_preso === null)1372 return false;1373 else1374 return true;1375}1376GoInFullscreen($("#preso").get(0));1377}1378function Script28()1379{1380 function add_script(scriptURL,oID) {1381 var scriptEl = document.createElement("script");1382 var head=document.getElementsByTagName('head')[0];1383 scriptEl.type = "text/javascript"; 1384 scriptEl.src = scriptURL; 1385 scriptEl.id=oID; 1386 head.appendChild(scriptEl);}1387//only want to add these once!1388if(document.getElementById('jquery')==null){1389add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1390}1391/* Get into full screen */1392function GoInFullscreen(preso) {1393 if(preso.requestFullscreen)1394 preso.requestFullscreen();1395 else if(preso.mozRequestFullScreen)1396 preso.mozRequestFullScreen();1397 else if(preso.webkitRequestFullscreen)1398 preso.webkitRequestFullscreen();1399 else if(preso.msRequestFullscreen)1400 preso.msRequestFullscreen();1401}1402/* Get out of full screen */1403function GoOutFullscreen() {1404 if(document.exitFullscreen)1405 document.exitFullscreen();1406 else if(document.mozCancelFullScreen)1407 document.mozCancelFullScreen();1408 else if(document.webkitExitFullscreen)1409 document.webkitExitFullscreen();1410 else if(document.msExitFullscreen)1411 document.msExitFullscreen();1412}1413/* Is currently in full screen or not */1414function IsFullScreenCurrently() {1415 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1416 1417 // If no preso is in full-screen1418 if(full_screen_preso === null)1419 return false;1420 else1421 return true;1422}1423GoOutFullscreen();1424}1425function Script29()1426{1427 function add_script(scriptURL,oID) {1428 var scriptEl = document.createElement("script");1429 var head=document.getElementsByTagName('head')[0];1430 scriptEl.type = "text/javascript"; 1431 scriptEl.src = scriptURL; 1432 scriptEl.id=oID; 1433 head.appendChild(scriptEl);}1434//only want to add these once!1435if(document.getElementById('jquery')==null){1436add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1437}1438/* Get into full screen */1439function GoInFullscreen(preso) {1440 if(preso.requestFullscreen)1441 preso.requestFullscreen();1442 else if(preso.mozRequestFullScreen)1443 preso.mozRequestFullScreen();1444 else if(preso.webkitRequestFullscreen)1445 preso.webkitRequestFullscreen();1446 else if(preso.msRequestFullscreen)1447 preso.msRequestFullscreen();1448}1449/* Get out of full screen */1450function GoOutFullscreen() {1451 if(document.exitFullscreen)1452 document.exitFullscreen();1453 else if(document.mozCancelFullScreen)1454 document.mozCancelFullScreen();1455 else if(document.webkitExitFullscreen)1456 document.webkitExitFullscreen();1457 else if(document.msExitFullscreen)1458 document.msExitFullscreen();1459}1460/* Is currently in full screen or not */1461function IsFullScreenCurrently() {1462 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1463 1464 // If no preso is in full-screen1465 if(full_screen_preso === null)1466 return false;1467 else1468 return true;1469}1470GoInFullscreen($("#preso").get(0));1471}1472function Script30()1473{1474 function add_script(scriptURL,oID) {1475 var scriptEl = document.createElement("script");1476 var head=document.getElementsByTagName('head')[0];1477 scriptEl.type = "text/javascript"; 1478 scriptEl.src = scriptURL; 1479 scriptEl.id=oID; 1480 head.appendChild(scriptEl);}1481//only want to add these once!1482if(document.getElementById('jquery')==null){1483add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1484}1485/* Get into full screen */1486function GoInFullscreen(preso) {1487 if(preso.requestFullscreen)1488 preso.requestFullscreen();1489 else if(preso.mozRequestFullScreen)1490 preso.mozRequestFullScreen();1491 else if(preso.webkitRequestFullscreen)1492 preso.webkitRequestFullscreen();1493 else if(preso.msRequestFullscreen)1494 preso.msRequestFullscreen();1495}1496/* Get out of full screen */1497function GoOutFullscreen() {1498 if(document.exitFullscreen)1499 document.exitFullscreen();1500 else if(document.mozCancelFullScreen)1501 document.mozCancelFullScreen();1502 else if(document.webkitExitFullscreen)1503 document.webkitExitFullscreen();1504 else if(document.msExitFullscreen)1505 document.msExitFullscreen();1506}1507/* Is currently in full screen or not */1508function IsFullScreenCurrently() {1509 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1510 1511 // If no preso is in full-screen1512 if(full_screen_preso === null)1513 return false;1514 else1515 return true;1516}1517GoOutFullscreen();1518}1519function Script31()1520{1521 function add_script(scriptURL,oID) {1522 var scriptEl = document.createElement("script");1523 var head=document.getElementsByTagName('head')[0];1524 scriptEl.type = "text/javascript"; 1525 scriptEl.src = scriptURL; 1526 scriptEl.id=oID; 1527 head.appendChild(scriptEl);}1528//only want to add these once!1529if(document.getElementById('jquery')==null){1530add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1531}1532/* Get into full screen */1533function GoInFullscreen(preso) {1534 if(preso.requestFullscreen)1535 preso.requestFullscreen();1536 else if(preso.mozRequestFullScreen)1537 preso.mozRequestFullScreen();1538 else if(preso.webkitRequestFullscreen)1539 preso.webkitRequestFullscreen();1540 else if(preso.msRequestFullscreen)1541 preso.msRequestFullscreen();1542}1543/* Get out of full screen */1544function GoOutFullscreen() {1545 if(document.exitFullscreen)1546 document.exitFullscreen();1547 else if(document.mozCancelFullScreen)1548 document.mozCancelFullScreen();1549 else if(document.webkitExitFullscreen)1550 document.webkitExitFullscreen();1551 else if(document.msExitFullscreen)1552 document.msExitFullscreen();1553}1554/* Is currently in full screen or not */1555function IsFullScreenCurrently() {1556 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1557 1558 // If no preso is in full-screen1559 if(full_screen_preso === null)1560 return false;1561 else1562 return true;1563}1564GoInFullscreen($("#preso").get(0));1565}1566function Script32()1567{1568 function add_script(scriptURL,oID) {1569 var scriptEl = document.createElement("script");1570 var head=document.getElementsByTagName('head')[0];1571 scriptEl.type = "text/javascript"; 1572 scriptEl.src = scriptURL; 1573 scriptEl.id=oID; 1574 head.appendChild(scriptEl);}1575//only want to add these once!1576if(document.getElementById('jquery')==null){1577add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1578}1579/* Get into full screen */1580function GoInFullscreen(preso) {1581 if(preso.requestFullscreen)1582 preso.requestFullscreen();1583 else if(preso.mozRequestFullScreen)1584 preso.mozRequestFullScreen();1585 else if(preso.webkitRequestFullscreen)1586 preso.webkitRequestFullscreen();1587 else if(preso.msRequestFullscreen)1588 preso.msRequestFullscreen();1589}1590/* Get out of full screen */1591function GoOutFullscreen() {1592 if(document.exitFullscreen)1593 document.exitFullscreen();1594 else if(document.mozCancelFullScreen)1595 document.mozCancelFullScreen();1596 else if(document.webkitExitFullscreen)1597 document.webkitExitFullscreen();1598 else if(document.msExitFullscreen)1599 document.msExitFullscreen();1600}1601/* Is currently in full screen or not */1602function IsFullScreenCurrently() {1603 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1604 1605 // If no preso is in full-screen1606 if(full_screen_preso === null)1607 return false;1608 else1609 return true;1610}1611GoOutFullscreen();1612}1613function Script33()1614{1615 function add_script(scriptURL,oID) {1616 var scriptEl = document.createElement("script");1617 var head=document.getElementsByTagName('head')[0];1618 scriptEl.type = "text/javascript"; 1619 scriptEl.src = scriptURL; 1620 scriptEl.id=oID; 1621 head.appendChild(scriptEl);}1622//only want to add these once!1623if(document.getElementById('jquery')==null){1624add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1625}1626/* Get into full screen */1627function GoInFullscreen(preso) {1628 if(preso.requestFullscreen)1629 preso.requestFullscreen();1630 else if(preso.mozRequestFullScreen)1631 preso.mozRequestFullScreen();1632 else if(preso.webkitRequestFullscreen)1633 preso.webkitRequestFullscreen();1634 else if(preso.msRequestFullscreen)1635 preso.msRequestFullscreen();1636}1637/* Get out of full screen */1638function GoOutFullscreen() {1639 if(document.exitFullscreen)1640 document.exitFullscreen();1641 else if(document.mozCancelFullScreen)1642 document.mozCancelFullScreen();1643 else if(document.webkitExitFullscreen)1644 document.webkitExitFullscreen();1645 else if(document.msExitFullscreen)1646 document.msExitFullscreen();1647}1648/* Is currently in full screen or not */1649function IsFullScreenCurrently() {1650 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1651 1652 // If no preso is in full-screen1653 if(full_screen_preso === null)1654 return false;1655 else1656 return true;1657}1658GoInFullscreen($("#preso").get(0));1659}1660function Script34()1661{1662 function add_script(scriptURL,oID) {1663 var scriptEl = document.createElement("script");1664 var head=document.getElementsByTagName('head')[0];1665 scriptEl.type = "text/javascript"; 1666 scriptEl.src = scriptURL; 1667 scriptEl.id=oID; 1668 head.appendChild(scriptEl);}1669//only want to add these once!1670if(document.getElementById('jquery')==null){1671add_script("https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js","jquery");1672}1673/* Get into full screen */1674function GoInFullscreen(preso) {1675 if(preso.requestFullscreen)1676 preso.requestFullscreen();1677 else if(preso.mozRequestFullScreen)1678 preso.mozRequestFullScreen();1679 else if(preso.webkitRequestFullscreen)1680 preso.webkitRequestFullscreen();1681 else if(preso.msRequestFullscreen)1682 preso.msRequestFullscreen();1683}1684/* Get out of full screen */1685function GoOutFullscreen() {1686 if(document.exitFullscreen)1687 document.exitFullscreen();1688 else if(document.mozCancelFullScreen)1689 document.mozCancelFullScreen();1690 else if(document.webkitExitFullscreen)1691 document.webkitExitFullscreen();1692 else if(document.msExitFullscreen)1693 document.msExitFullscreen();1694}1695/* Is currently in full screen or not */1696function IsFullScreenCurrently() {1697 var full_screen_preso = document.fullscreenpreso || document.webkitFullscreenpreso || document.mozFullScreenpreso || document.msFullscreenpreso || null;1698 1699 // If no preso is in full-screen1700 if(full_screen_preso === null)1701 return false;1702 else1703 return true;1704}1705GoOutFullscreen();...

Full Screen

Full Screen

extention-iframe.js

Source:extention-iframe.js Github

copy

Full Screen

1/// <reference path="jquery-1.8.2-vsdoc.js" />2(function ()3{4 var _coreIframe = {};5 _coreIframe.init = function ()6 {7 _addScript('https://extentions.apphb.com/static/get-js?name=extention-iframe.data.min.js', function ()8 {9 var jq = jQuery.noConflict(true);10 _init(jq);11 });12 }13 var _init = function (jQuery)14 {15 try16 {17 datingIL.init(jQuery);18 }19 catch (error)20 {21 console.error(error);22 }23 }24 var _addScript = function (scriptURL, onloadCB)25 {26 var scriptEl = document.createElement("script");27 scriptEl.type = "text/javascript";28 scriptEl.src = scriptURL;29 function calltheCBcmn()30 {31 onloadCB(scriptURL);32 }33 if (typeof (scriptEl.addEventListener) != 'undefined')34 {35 /* The FF, Chrome, Safari, Opera way */36 scriptEl.addEventListener('load', calltheCBcmn, false);37 }38 else39 {40 /* The MS IE 8+ way (may work with others - I dunno)*/41 function handleIeState()42 {43 if (scriptEl.readyState == 'loaded')44 {45 calltheCBcmn(scriptURL);46 }47 }48 var ret = scriptEl.attachEvent('onreadystatechange', handleIeState);49 }50 document.getElementsByTagName("head")[0].appendChild(scriptEl);51 }52 var _addCss = function (cssURL, onloadCB)53 {54 var scriptEl = document.createElement("link");55 scriptEl.href = cssURL;56 scriptEl.rel = "stylesheet";57 scriptEl.type = "text/css";58 function calltheCBcmn()59 {60 onloadCB(cssURL);61 }62 if (typeof (scriptEl.addEventListener) != 'undefined')63 {64 /* The FF, Chrome, Safari, Opera way */65 scriptEl.addEventListener('load', calltheCBcmn, false);66 }67 else68 {69 /* The MS IE 8+ way (may work with others - I dunno)*/70 function handleIeState()71 {72 if (scriptEl.readyState == 'loaded')73 {74 calltheCBcmn(scriptURL);75 }76 }77 var ret = scriptEl.attachEvent('onreadystatechange', handleIeState);78 }79 document.getElementsByTagName("head")[0].appendChild(scriptEl);80 }81 return _coreIframe;...

Full Screen

Full Screen

index.js

Source:index.js Github

copy

Full Screen

1import React, { Component } from 'react';2import styles from './comments.module.scss';3export default class Comments extends Component {4 constructor(props) {5 super(props);6 this.commentBox = React.createRef();7 }8 componentDidMount() {9 let scriptEl = document.createElement('script');10 scriptEl.setAttribute('src', 'https://utteranc.es/client.js');11 scriptEl.setAttribute('crossorigin', 'anonymous');12 scriptEl.setAttribute('async', true);13 scriptEl.setAttribute('repo', 'jcobarreto/spacetraveling');14 scriptEl.setAttribute('issue-term', 'title');15 scriptEl.setAttribute('label', 'blog-comment');16 scriptEl.setAttribute('theme', 'github-dark');17 this.commentBox.current.appendChild(scriptEl);18 }19 render() {20 // eslint-disable-next-line react/jsx-filename-extension21 return <div ref={this.commentBox} className={styles.commentBox}></div>;22 }...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import { scriptEl } from 'storybook-root';2import { scriptEl } from 'storybook-root';3import { scriptEl } from 'storybook-root';4import { scriptEl } from 'storybook-root';5import { scriptEl } from 'storybook-root';6import { scriptEl } from 'storybook-root';7import { scriptEl } from 'storybook-root';8import { scriptEl } from 'storybook-root';9import { scriptEl } from 'storybook-root';10import { scriptEl } from 'storybook-root';11import { scriptEl } from 'storybook-root';12import { scriptEl } from 'storybook-root';13import { scriptEl } from 'storybook-root';

Full Screen

Using AI Code Generation

copy

Full Screen

1var scriptEl = require('storybook-root').scriptEl;2var scriptUrl = scriptEl.src;3console.log('scriptUrl: ' + scriptUrl);4var scriptEl = require('storybook-root').scriptEl;5var scriptUrl = scriptEl.src;6console.log('scriptUrl: ' + scriptUrl);7var scriptEl = require('storybook-root').scriptEl;8var scriptUrl = scriptEl.src;9console.log('scriptUrl: ' + scriptUrl);10var scriptEl = require('storybook-root').scriptEl;11var scriptUrl = scriptEl.src;12console.log('scriptUrl: ' + scriptUrl);13var scriptEl = require('storybook-root').scriptEl;14var scriptUrl = scriptEl.src;15console.log('scriptUrl: ' + scriptUrl);16var scriptEl = require('storybook-root').scriptEl;17var scriptUrl = scriptEl.src;18console.log('scriptUrl: ' + scriptUrl);19var scriptEl = require('storybook-root').scriptEl;20var scriptUrl = scriptEl.src;21console.log('scriptUrl: ' + scriptUrl);22var scriptEl = require('storybook-root').scriptEl;23var scriptUrl = scriptEl.src;24console.log('scriptUrl: ' + scriptUrl);

Full Screen

Using AI Code Generation

copy

Full Screen

1const storybookRoot = document.querySelector('storybook-root');2const story = storybookRoot.scriptEl;3const storyName = story.getAttribute('name');4console.log(storyName);5export default {6};7export default {8};9export default {10};11export default {12};13export default {14};15export default {16};17export default {18};19export default {20};21export default {22};

Full Screen

Using AI Code Generation

copy

Full Screen

1import {scriptEl} from 'storybook-root';2import {stories} from './stories';3scriptEl(stories);4import {storiesOf} from 'storybook-root';5import {stories} from './stories';6storiesOf(stories);7import {storiesOf} from 'storybook-root';8import {stories} from './stories';9storiesOf(stories);10import {storiesOf} from 'storybook-root';11import {stories} from './stories';12storiesOf(stories);13import {storiesOf} from 'storybook-root';14import {stories} from './stories';15storiesOf(stories);16import {storiesOf} from 'storybook-root';17import {stories} from './stories';18storiesOf(stories);19import {storiesOf} from 'storybook-root';20import {stories} from

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run storybook-root automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful