diff --git a/doom3/menu.js b/doom3/menu.js index 10cca92..08f7020 100644 --- a/doom3/menu.js +++ b/doom3/menu.js @@ -17,6 +17,7 @@ var a = { "__models__":"-", "modelexport":"Exporting Models", +"modelexport_3dsmax":"Exporting Models with 3ds Max", "models":"Model Decls", "skins":"Skins", @@ -50,6 +51,7 @@ var a = { "editor_light":"Light Editor", "entitydefs":"EntityDefs", "mapdefs":"MapDefs", +"visportals":"Vis Portals", "__pdas__":"-", "pdas":"PDAs", diff --git a/idDevNet_files/banner-styles.css b/idDevNet_files/banner-styles.css deleted file mode 100644 index 8c5410a..0000000 --- a/idDevNet_files/banner-styles.css +++ /dev/null @@ -1,494 +0,0 @@ -@import 'record.css'; /* for SPN1 */ - -#wm-ipp-base { - min-height:65px; - padding:0; - margin:0; - border:none; - background:none transparent; -} -#wm-ipp { - z-index: 2147483647; -} -#wm-ipp, #wm-ipp * { - font-family:Lucida Grande, Helvetica, Arial, sans-serif; - font-size:12px; - line-height:1.2; - letter-spacing:0; - width:auto; - height:auto; - max-width:none; - max-height:none; - min-width:0 !important; - min-height:0; - outline:none; - float:none; - text-align:left; - border:none; - color: #000; - text-indent: 0; - position: initial; - background: none; -} -#wm-ipp div, #wm-ipp canvas { - display: block; -} -#wm-ipp div, #wm-ipp tr, #wm-ipp td, #wm-ipp a, #wm-ipp form { - padding:0; - margin:0; - border:none; - border-radius:0; - background-color:transparent; - background-image:none; - /*z-index:2147483640;*/ - height:auto; -} -#wm-ipp table { - border:none; - border-collapse:collapse; - margin:0; - padding:0; - width:auto; - font-size:inherit; -} -#wm-ipp form input { - padding:1px !important; - height:auto; - display:inline; - margin:0; - color: #000; - background: none #fff; - border: 1px solid #666; -} -#wm-ipp form input[type=submit] { - padding:0 8px !important; - margin:1px 0 1px 5px !important; - width:auto !important; - border: 1px solid #000 !important; - background: #fff !important; - color: #000 !important; -} -#wm-ipp a { - display: inline; -} -#wm-ipp a:hover{ - text-decoration:underline; -} -#wm-ipp a.wm-btn:hover { - text-decoration:none; - color:#ff0 !important; -} -#wm-ipp a.wm-btn:hover span { - color:#ff0 !important; -} -#wm-ipp #wm-ipp-inside { - margin: 0 6px; - border:5px solid #000; - border-top:none; - background-color:rgba(255,255,255,0.9); - -moz-box-shadow:1px 1px 4px #333; - -webkit-box-shadow:1px 1px 4px #333; - box-shadow:1px 1px 4px #333; - border-radius:0 0 8px 8px; -} -/* selectors are intentionally verbose to ensure priority */ -#wm-ipp #wm-logo { - padding:0 10px; - vertical-align:middle; - min-width:110px; - width:15%; -} -#wm-ipp table tr::before, #wm-ipp table tr::after { - margin: 0; - height: auto; -} -#wm-ipp table.c { - vertical-align:top; - margin-left: 4px; -} -#wm-ipp table.c td { - border:none !important; -} -#wm-ipp .c td.u { - padding:3px 0 !important; - text-align:center; -} -#wm-ipp .c td.n { - padding:0 0 0 5px !important; - vertical-align: bottom; -} -#wm-ipp .c td.n a { - text-decoration:none; - color:#33f; - font-weight:bold; -} -#wm-ipp .c td.n td.b { - padding:0 6px 0 0 !important; - text-align:right !important; - overflow:visible; - white-space:nowrap; - color:#99a; - vertical-align:middle; -} -#wm-ipp .c td.n tr.y td.b { - padding:0 6px 2px 0 !important; -} -#wm-ipp .c td.n td.c { - background:#000; - color:#ff0; - font-weight:bold; - padding:0 !important; - text-align:center; -} -#wm-ipp.hi .c td.n td.c { - color:#ec008c; -} -#wm-ipp .c td.n td.f { - padding:0 0 0 6px !important; - text-align:left !important; - overflow:visible; - white-space:nowrap; - color:#99a; - vertical-align:middle; -} -#wm-ipp .c td.n tr.m td { - text-transform:uppercase; - white-space:nowrap; - padding:2px 0; -} -#wm-ipp .c td.s { - padding:0 5px 0 0 !important; - text-align:center; - vertical-align:bottom; -} -#wm-ipp #wm-nav-captures { - white-space: nowrap; -} -#wm-ipp .c td.s a.t { - color:#33f; - font-weight:bold; - line-height: 1.8; -} -#wm-ipp .c td.s div.r { - color: #666; - font-size:9px; - white-space:nowrap; -} -#wm-ipp .c td.k { - vertical-align:bottom; - padding-bottom:2px; -} -#wm-ipp .c td.s { - padding:0 5px 2px 0 !important; -} -#wm-ipp td#displayMonthEl { - padding: 2px 0 !important; -} -#wm-ipp td#displayYearEl { - padding: 0 0 2px 0 !important; -} - -div#wm-ipp-sparkline { - position:relative;/* for positioning markers */ - white-space:nowrap; - background-color:#fff; - cursor:pointer; - line-height:0.9; -} -#sparklineImgId, #wm-sparkline-canvas { - position:relative; - z-index:9012; - max-width:none; -} -#wm-ipp-sparkline div.yt { - position:absolute; - z-index:9010 !important; - background-color:#ff0 !important; - top: 0; -} -#wm-ipp-sparkline div.mt { - position:absolute; - z-index:9013 !important; - background-color:#ec008c !important; - top: 0; -} -#wm-ipp .r { - position:relative; -} -#wm-ipp .r a { - color:#33f; - border:none; - position:relative; - background-color:transparent; - background-repeat:no-repeat !important; - background-position:100% 100% !important; - text-decoration: none; -} -#wm-ipp #wm-capinfo { - /* prevents notice div background from sticking into round corners of - #wm-ipp-inside */ - border-radius: 0 0 4px 4px; -} -#wm-ipp #wm-capinfo .c-logo { - display:block; - float:left; - margin-right:3px; - width:90px; - min-height:90px; - max-height: 290px; - border-radius:45px; - overflow:hidden; - background-position:50%; - background-size:auto 90px; - box-shadow: 0 0 2px 2px rgba(208,208,208,128) inset; -} -#wm-ipp #wm-capinfo .c-logo span { - display:inline-block; -} -#wm-ipp #wm-capinfo .c-logo img { - height:90px; - position:relative; - left:-50%; -} -#wm-ipp #wm-capinfo .wm-title { - font-size:130%; -} -#wm-ipp #wm-capinfo a.wm-selector { - display:inline-block; - color: #aaa; - text-decoration:none !important; - padding: 2px 8px; -} -#wm-ipp #wm-capinfo a.wm-selector.selected { - background-color:#666; -} -#wm-ipp #wm-capinfo a.wm-selector:hover { - color: #fff; -} -#wm-ipp #wm-capinfo.notice-only #wm-capinfo-collected-by, -#wm-ipp #wm-capinfo.notice-only #wm-capinfo-timestamps { - display: none; -} -#wm-ipp #wm-capinfo #wm-capinfo-notice .wm-capinfo-content { - background-color:#ff0; - padding:5px; - font-size:14px; - text-align:center; -} -#wm-ipp #wm-capinfo #wm-capinfo-notice .wm-capinfo-content * { - font-size:14px; - text-align:center; -} -#wm-ipp #wm-expand { - right: 1px; - bottom: -1px; - color: #ffffff; - background-color: #666 !important; - padding:0 5px 0 3px !important; - border-radius: 3px 3px 0 0 !important; -} -#wm-ipp #wm-expand span { - color: #ffffff; -} -#wm-ipp #wm-expand #wm-expand-icon { - display: inline-block; - transition: transform 0.5s; - transform-origin: 50% 45%; -} -#wm-ipp #wm-expand.wm-open #wm-expand-icon { - transform: rotate(180deg); -} -#wm-ipp #wmtb { - text-align:right; -} -#wm-ipp #wmtb #wmtbURL { - width: calc(100% - 45px); -} -#wm-ipp #wm-graph-anchor { - border-right:1px solid #ccc; -} -/* time coherence */ -html.wb-highlight { - box-shadow: inset 0 0 0 3px #a50e3a !important; -} -.wb-highlight { - outline: 3px solid #a50e3a !important; -} -#wm-ipp-print { - display:none !important; -} -@media print { -#wm-ipp-base { - display:none !important; -} -#wm-ipp-print { - display:block !important; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -} -@media (min-width:946px) { -#wm-ipp #wm-graph-anchor { - display:block !important; -} -} -@media (max-width:945px) { -#wm-ipp #wm-graph-anchor { - display:none !important; -} -#wm-ipp table.c { - width: 85%; - width: calc(100% - 131px); -} -} -@media (max-width:1118px) { -#wm-logo { - display:none !important; -} -} - -#wm-btns { - white-space: nowrap; -} - -#wm-btns>#wm-save-snapshot-open { - margin-right: 7px; - top: -6px; -} - -#wm-btns>#wm-sign-in { - box-sizing: content-box; - display: none; - margin-right: 7px; - top: -8px; - - /* - round border around sign in button - */ - border: 2px #000 solid; - border-radius: 14px; - padding-right: 2px; - padding-bottom: 2px; - width: 11px; - height: 11px; -} - -#wm-btns>#wm-sign-in>.iconochive-person { - font-size: 12.5px; -} - -#wm-save-snapshot-open > .iconochive-web { - color:#000; - font-size:160%; -} - -#wm-ipp #wm-share { - display: flex; - align-items: flex-end; - justify-content: space-between; -} - -#wm-share > #wm-screenshot { - display: inline-block; - margin-right: 3px; - visibility: hidden; -} - -#wm-screenshot > .iconochive-image { - color:#000; - font-size:160%; -} - -#wm-btns>#wm-save-snapshot-in-progress { - display: none; - font-size:160%; - opacity: 0.5; - position: relative; - margin-right: 7px; - top: -5px; -} - -#wm-btns>#wm-save-snapshot-success { - display: none; - color: green; - position: relative; - top: -7px; -} - -#wm-btns>#wm-save-snapshot-fail { - display: none; - color: red; - position: relative; - top: -7px; -} - -.wm-icon-screen-shot { - background: url("../images/web-screenshot.svg") no-repeat !important; - background-size: contain !important; - width: 22px !important; - height: 19px !important; - - display: inline-block; -} -#donato { - transition: height 0.5s; - height: 0; - margin: 0; - padding: 0; -} -body.wm-modal { - height: auto !important; - overflow: hidden !important; -} -#donato #donato-base { - width: 100%; - height: 100%; - bottom: 0; - margin: 0; - padding: 0; - position: absolute; - z-index: 2147483639; -} -body.wm-modal #donato #donato-base { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 2147483640; -} - -.wb-autocomplete-suggestions { - font-family: Lucida Grande, Helvetica, Arial, sans-serif; - font-size: 12px; - text-align: left; - cursor: default; - border: 1px solid #ccc; - border-top: 0; - background: #fff; - box-shadow: -1px 1px 3px rgba(0,0,0,.1); - position: absolute; - display: none; - z-index: 2147483647; - max-height: 254px; - overflow: hidden; - overflow-y: auto; - box-sizing: border-box; -} -.wb-autocomplete-suggestion { - position: relative; - padding: 0 .6em; - line-height: 23px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - font-size: 1.02em; - color: #333; -} -.wb-autocomplete-suggestion b { - font-weight: bold; -} -.wb-autocomplete-suggestion.selected { - background: #f0f0f0; -} diff --git a/idDevNet_files/d3.gif b/idDevNet_files/d3.gif deleted file mode 100644 index 265fc5c..0000000 Binary files a/idDevNet_files/d3.gif and /dev/null differ diff --git a/idDevNet_files/donate.html b/idDevNet_files/donate.html deleted file mode 100644 index 8525c14..0000000 --- a/idDevNet_files/donate.html +++ /dev/null @@ -1,2 +0,0 @@ -
- \ No newline at end of file diff --git a/idDevNet_files/iconochive.css b/idDevNet_files/iconochive.css deleted file mode 100644 index 7a95ea7..0000000 --- a/idDevNet_files/iconochive.css +++ /dev/null @@ -1,116 +0,0 @@ -@font-face{font-family:'Iconochive-Regular';src:url('https://archive.org/includes/fonts/Iconochive-Regular.eot?-ccsheb');src:url('https://archive.org/includes/fonts/Iconochive-Regular.eot?#iefix-ccsheb') format('embedded-opentype'),url('https://archive.org/includes/fonts/Iconochive-Regular.woff?-ccsheb') format('woff'),url('https://archive.org/includes/fonts/Iconochive-Regular.ttf?-ccsheb') format('truetype'),url('https://archive.org/includes/fonts/Iconochive-Regular.svg?-ccsheb#Iconochive-Regular') format('svg');font-weight:normal;font-style:normal} -[class^="iconochive-"],[class*=" iconochive-"]{font-family:'Iconochive-Regular'!important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} -.iconochive-Uplevel:before{content:"\21b5"} -.iconochive-exit:before{content:"\1f6a3"} -.iconochive-beta:before{content:"\3b2"} -.iconochive-logo:before{content:"\1f3db"} -.iconochive-audio:before{content:"\1f568"} -.iconochive-movies:before{content:"\1f39e"} -.iconochive-software:before{content:"\1f4be"} -.iconochive-texts:before{content:"\1f56e"} -.iconochive-etree:before{content:"\1f3a4"} -.iconochive-image:before{content:"\1f5bc"} -.iconochive-web:before{content:"\1f5d4"} -.iconochive-collection:before{content:"\2211"} -.iconochive-folder:before{content:"\1f4c2"} -.iconochive-data:before{content:"\1f5c3"} -.iconochive-tv:before{content:"\1f4fa"} -.iconochive-article:before{content:"\1f5cf"} -.iconochive-question:before{content:"\2370"} -.iconochive-question-dark:before{content:"\3f"} -.iconochive-info:before{content:"\69"} -.iconochive-info-small:before{content:"\24d8"} -.iconochive-comment:before{content:"\1f5e9"} -.iconochive-comments:before{content:"\1f5ea"} -.iconochive-person:before{content:"\1f464"} -.iconochive-people:before{content:"\1f465"} -.iconochive-eye:before{content:"\1f441"} -.iconochive-rss:before{content:"\221e"} -.iconochive-time:before{content:"\1f551"} -.iconochive-quote:before{content:"\275d"} -.iconochive-disc:before{content:"\1f4bf"} -.iconochive-tv-commercial:before{content:"\1f4b0"} -.iconochive-search:before{content:"\1f50d"} -.iconochive-search-star:before{content:"\273d"} -.iconochive-tiles:before{content:"\229e"} -.iconochive-list:before{content:"\21f6"} -.iconochive-list-bulleted:before{content:"\2317"} -.iconochive-latest:before{content:"\2208"} -.iconochive-left:before{content:"\2c2"} -.iconochive-right:before{content:"\2c3"} -.iconochive-left-solid:before{content:"\25c2"} -.iconochive-right-solid:before{content:"\25b8"} -.iconochive-up-solid:before{content:"\25b4"} -.iconochive-down-solid:before{content:"\25be"} -.iconochive-dot:before{content:"\23e4"} -.iconochive-dots:before{content:"\25a6"} -.iconochive-columns:before{content:"\25af"} -.iconochive-sort:before{content:"\21d5"} -.iconochive-atoz:before{content:"\1f524"} -.iconochive-ztoa:before{content:"\1f525"} -.iconochive-upload:before{content:"\1f4e4"} -.iconochive-download:before{content:"\1f4e5"} -.iconochive-favorite:before{content:"\2605"} -.iconochive-heart:before{content:"\2665"} -.iconochive-play:before{content:"\25b6"} -.iconochive-play-framed:before{content:"\1f3ac"} -.iconochive-fullscreen:before{content:"\26f6"} -.iconochive-mute:before{content:"\1f507"} -.iconochive-unmute:before{content:"\1f50a"} -.iconochive-share:before{content:"\1f381"} -.iconochive-edit:before{content:"\270e"} -.iconochive-reedit:before{content:"\2710"} -.iconochive-gear:before{content:"\2699"} -.iconochive-remove-circle:before{content:"\274e"} -.iconochive-plus-circle:before{content:"\1f5d6"} -.iconochive-minus-circle:before{content:"\1f5d5"} -.iconochive-x:before{content:"\1f5d9"} -.iconochive-fork:before{content:"\22d4"} -.iconochive-trash:before{content:"\1f5d1"} -.iconochive-warning:before{content:"\26a0"} -.iconochive-flash:before{content:"\1f5f2"} -.iconochive-world:before{content:"\1f5fa"} -.iconochive-lock:before{content:"\1f512"} -.iconochive-unlock:before{content:"\1f513"} -.iconochive-twitter:before{content:"\1f426"} -.iconochive-facebook:before{content:"\66"} -.iconochive-googleplus:before{content:"\67"} -.iconochive-reddit:before{content:"\1f47d"} -.iconochive-tumblr:before{content:"\54"} -.iconochive-pinterest:before{content:"\1d4df"} -.iconochive-popcorn:before{content:"\1f4a5"} -.iconochive-email:before{content:"\1f4e7"} -.iconochive-embed:before{content:"\1f517"} -.iconochive-gamepad:before{content:"\1f579"} -.iconochive-Zoom_In:before{content:"\2b"} -.iconochive-Zoom_Out:before{content:"\2d"} -.iconochive-RSS:before{content:"\1f4e8"} -.iconochive-Light_Bulb:before{content:"\1f4a1"} -.iconochive-Add:before{content:"\2295"} -.iconochive-Tab_Activity:before{content:"\2318"} -.iconochive-Forward:before{content:"\23e9"} -.iconochive-Backward:before{content:"\23ea"} -.iconochive-No_Audio:before{content:"\1f508"} -.iconochive-Pause:before{content:"\23f8"} -.iconochive-No_Favorite:before{content:"\2606"} -.iconochive-Unike:before{content:"\2661"} -.iconochive-Song:before{content:"\266b"} -.iconochive-No_Flag:before{content:"\2690"} -.iconochive-Flag:before{content:"\2691"} -.iconochive-Done:before{content:"\2713"} -.iconochive-Check:before{content:"\2714"} -.iconochive-Refresh:before{content:"\27f3"} -.iconochive-Headphones:before{content:"\1f3a7"} -.iconochive-Chart:before{content:"\1f4c8"} -.iconochive-Bookmark:before{content:"\1f4d1"} -.iconochive-Documents:before{content:"\1f4da"} -.iconochive-Newspaper:before{content:"\1f4f0"} -.iconochive-Podcast:before{content:"\1f4f6"} -.iconochive-Radio:before{content:"\1f4fb"} -.iconochive-Cassette:before{content:"\1f4fc"} -.iconochive-Shuffle:before{content:"\1f500"} -.iconochive-Loop:before{content:"\1f501"} -.iconochive-Low_Audio:before{content:"\1f509"} -.iconochive-First:before{content:"\1f396"} -.iconochive-Invisible:before{content:"\1f576"} -.iconochive-Computer:before{content:"\1f5b3"} diff --git a/idDevNet_files/inject.js b/idDevNet_files/inject.js deleted file mode 100644 index 479f45d..0000000 --- a/idDevNet_files/inject.js +++ /dev/null @@ -1,174 +0,0 @@ -(function inject() { - const { prefs } = window.DH5A; - - let preventingPreload = false; - let monitoringUserInput = false; - - let lastCall = -2000; - - const events = { - play: new Event('play'), - playing: new Event('playing'), - pause: new Event('pause'), - }; - - const originalMediaPrototypePlay = HTMLMediaElement.prototype.play; - - const userInputMonitor = { - keydown: false, - mousedown: false, - touchstart: false, - events: [['keydown', 'keyup'], ['mousedown', 'mouseup'], ['touchstart', 'touchend']], - inputStatus: { keydown: false, mousedown: false, touchstart: false }, - listeners: {}, - - init() { - this.events.forEach(([event1, event2]) => { - this.listeners[event1] = this.onKeyDownMouseDownToushStart.bind(this); - this.listeners[event2] = this.onKeyUpMouseUpTouchEnd.bind(this, event1); - window.addEventListener(event1, this.listeners[event1], true); - window.addEventListener(event2, this.listeners[event2], true); - }); - this.listeners.onUserInput = this.onUserInput.bind(this); - window.addEventListener('dh5a_user_input', this.listeners.onUserInput); - }, - - uninit() { - this.events.forEach(([event1, event2]) => { - window.removeEventListener(event1, this.listeners[event1], true); - window.removeEventListener(event2, this.listeners[event2], true); - }); - window.removeEventListener('dh5a_user_input', this.listeners.onUserInput); - }, - - onKeyDownMouseDownToushStart(event) { - if (!event.isTrusted || (event.type === 'keydown' && event.keyCode !== 13 && event.keyCode !== 32)) { - return; - } - this.inputStatus[event.type] = true; - window.top.dispatchEvent(new CustomEvent('dh5a_user_input', { detail: { eventType: event.type, value: true } })); - }, - - onKeyUpMouseUpTouchEnd(statusName, event) { - if (!event.isTrusted || (event.type === 'keyup' && event.keyCode !== 13 && event.keyCode !== 32)) { - return; - } - setTimeout(() => { - this.inputStatus[statusName] = false; - window.top.dispatchEvent(new CustomEvent('dh5a_user_input', { detail: { eventType: statusName, value: false } })); - }, 5000); - }, - - onUserInput({ detail }) { - this.inputStatus[detail.eventType] = detail.value; - document.querySelectorAll('iframe').forEach(({ contentWindow }) => { - contentWindow.dispatchEvent(new CustomEvent('dh5a_user_input', { detail })); - }); - }, - - inputRecieved() { - return this.inputStatus.keydown || this.inputStatus.mousedown || this.inputStatus.touchstart; - }, - }; - - function findPlayerType(el) { - if (el.classList.contains('jw-video') - && el.parentElement.classList.contains('jw-media') - && el.parentElement.parentElement.classList.contains('jwplayer') - && Object.prototype.hasOwnProperty.call(window, 'jwplayer')) { - return 'JWPlayer'; - } - return 'unknownPlayer'; - } - - const stopVideo = { - JWPlayer(el) { - const jwinstance = window.jwplayer(el.parentElement.parentElement); - jwinstance.stop(); - }, - unknownPlayer(el) { - if (!el.autoplay && el.preload === 'none') { - return; - } - - if (el.autoplay) { - el.autoplay = false; - } - - if (el.preload !== 'none') { - el.preload = 'none'; - } - - el.src = el.currentSrc; - }, - }; - - function disableAutoplay(el) { - stopVideo[findPlayerType(el)](el); - } - - function onMediaLoadStart(event) { - if (event.target instanceof HTMLMediaElement && !userInputMonitor.inputRecieved()) { - disableAutoplay(event.target); - } - } - - function mediaPrototypePlay() { - if (!prefs.disableAutoplay || userInputMonitor.inputRecieved()) { - return originalMediaPrototypePlay.call(this); - } - if (findPlayerType(this) === 'JWPlayer') { - const jwinstance = window.jwplayer(this.parentElement.parentElement); - jwinstance.pause(); - } else if ((performance.now() - lastCall) > 10 - && ( - events.play.eventPhase - + events.playing.eventPhase - + events.pause.eventPhase - ) === Event.NONE) { - lastCall = performance.now(); - this.dispatchEvent(events.play); - this.dispatchEvent(events.playing); - if (this.paused === true) { - setTimeout(() => this.dispatchEvent(events.pause), 100); - } - } - return Promise.resolve(); - } - - function applyPrefs() { - if (monitoringUserInput && !prefs.disableAutoplay) { - userInputMonitor.uninit(); - monitoringUserInput = false; - } else if (!monitoringUserInput && prefs.disableAutoplay) { - userInputMonitor.init(); - monitoringUserInput = true; - } - if (preventingPreload && (!prefs.disableAutoplay || !prefs.disablePreload)) { - window.removeEventListener('loadstart', onMediaLoadStart, true); - preventingPreload = false; - } else if (!preventingPreload && prefs.disableAutoplay && prefs.disablePreload) { - window.addEventListener('loadstart', onMediaLoadStart, true); - preventingPreload = true; - } - } - - function init() { - if (prefs.disableAutoplay && prefs.disablePreload) { - document.querySelectorAll('audio, video').forEach(disableAutoplay); - } - Object.defineProperty(HTMLMediaElement.prototype, 'play', { - configurable: true, - enumerable: true, - value: mediaPrototypePlay, - }); - applyPrefs(); - } - - window.DH5A.on('prefs-changed', (prefName, value) => { - prefs[prefName] = value; - applyPrefs(); - }); - - init(); -}()); diff --git a/idDevNet_files/playback.js b/idDevNet_files/playback.js deleted file mode 100644 index 216fe9f..0000000 --- a/idDevNet_files/playback.js +++ /dev/null @@ -1,3 +0,0 @@ -// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0 -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return a(e,arguments,u(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),l(o,e)})(e)}function a(e,t,n){return(a=c()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&l(i,n.prototype),i}).apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}if(n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return v})),"undefiend"!=typeof window.XMLHttpRequest){var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(o,e);var t,n=(t=o,function(){var e,n=u(t);if(c()){var o=u(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return r(this,e)});function o(){return i(this,o),n.apply(this,arguments)}return o}(s(XMLHttpRequest));Object.defineProperty(h.prototype,"responseURL",Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype,"responseURL"))}function f(e,t,n,o,i){var r;if((r=window.XMLHttpRequest?new h:new ActiveXObject("Microsoft.XMLHTTP")).onreadystatechange=function(){4==this.readyState&&n(r)},r.open(e,t,!0),o)for(var s in o)o.hasOwnProperty(s)&&r.setRequestHeader(s,o[s]);r.withCredentials=!0,r.send(i)}function p(e){return void 0!==e&&e&&e.constructor===Array}function d(e){return document.cookie.search(e)>=0}function m(e,t){var n=window["HTML".concat(e,"Element")];if(void 0!==n){var o=Object.getOwnPropertyDescriptor(n.prototype,t);void 0!==o&&Object.defineProperty(n.prototype,"_wm_".concat(t),o)}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",n="_wm_".concat(t);return n in e.__proto__?e[n]:e[t]}m("Image","src"),m("Media","src"),m("Embed","src"),m("IFrame","src"),m("Script","src"),m("Link","href")},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c}));var o=["January","February","March","April","May","June","July","August","September","October","November","December"],i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r={Y:function(e){return e.getUTCFullYear()},m:function(e){return e.getUTCMonth()+1},b:function(e){return i[e.getUTCMonth()]},B:function(e){return o[e.getUTCMonth()]},d:function(e){return e.getUTCDate()},H:function(e){return("0"+e.getUTCHours()).slice(-2)},M:function(e){return("0"+e.getUTCMinutes()).slice(-2)},S:function(e){return("0"+e.getUTCSeconds()).slice(-2)},"%":function(){return"%"}};function s(e){var t=function(e){return"number"==typeof e&&(e=e.toString()),[e.slice(-14,-10),e.slice(-10,-8),e.slice(-8,-6),e.slice(-6,-4),e.slice(-4,-2),e.slice(-2)]}(e);return new Date(Date.UTC(t[0],t[1]-1,t[2],t[3],t[4],t[5]))}function a(e){return i[e]}function c(e,t){return t.replace(/%./g,(function(t){var n=r[t[1]];return n?n(s(e)):t}))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}));var o=n(0);function i(e,t){for(var n=0;n