1<!DOCTYPE HTML> 2<html manifest="" lang="en-US"> 3<head> 4 <meta charset="UTF-8"> 5 <meta http-equiv="content-type" content="text/html;charset=utf-8" /> 6 <title>TTGuide</title> 7 <style type="text/css"> 8 html, body {height: 100%;background-color: #fff;text-align:center;} 9 p {color:#000;font-size:1.25em;line-height:1.6em;} 10 #landingTitle {width:320px; position:absolute; top:4px;left:50%;margin-left:-160px;} 11 #appLoadingIndicator {position: absolute;top: 60%;margin-top: -15px; text-align: center;width: 100%;height: 30px;-webkit-animation-name: appLoadingIndicator;-webkit-animation-duration: 0.5s;-webkit-animation-iteration-count: infinite;-webkit-animation-direction: linear;} 12 #appLoadingIndicator > * {background-color: #000;display: inline-block; height: 30px;-webkit-border-radius: 15px;margin: 0 5px;width: 30px;opacity: 0.8;} 13 @-webkit-keyframes appLoadingIndicator{ 14 0% {opacity: 0.8} 15 50% {opacity: 0} 16 100% {opacity: 0.8}} 17 .home, .info{text-align:left;text-shadow:0px 1px 2px #000;}.home h1{font-weight:bold;font-size:1.25em;color:#fff;}.home p{color:#fff;font-size:1em;line-height:1.6em;}.home h2,.home ul li{color:rgb(101,255,200);font-size:1.2em}.home b{color:#fff;}.home ul li{text-align:left;}.info h1, .info p, .info ul li {color:#eee;} .info .shead li, .info .vhead li{color:#fb0;}.home h3{color:#fb0;}.home p a,.home p a:visited {color:#fb0; text-decoration:none;} 18.x-list-item {text-align:center;} 19.home ul li {border-radius:4px; margin:2px 30px 2px 30px;padding:2px;} 20.rd-tiled-view {padding: 0px; text-align: center;} 21 22 .rd-tiled-view-item, .rd-tiled-view-scen-item {background: #999; border: #222 solid 1px; border-radius: 12px; width: 280px; height: 320px; display: inline-block; margin: 4px 0px;position:relative;} 23 .rd-tiled-view-scen-item {background: rgba(102,102,102,0.8);height: 380px;} 24 .vName {display:block; height: 26px; color:#000; font-weight:bold; font-size:1em; background-color: #fb0; border-top-left-radius:12px; border-top-right-radius:12px;text-shadow:none; text-align:center;} 25 .sName {margin-bottom:16px; background-color: #eee;font-size:0.85em; padding-top:4px;} 26 .vehicleImages {display: block;} 27 .scenarioImages {display: block; height:280px;margin-left:50px;} 28 .scenarioImages img, vehicleImages img {-webkit-transform:translate3d(0,0,0);} 29 .scenarioData {display:block; height:60px; width:280px; border-radius:6px; margin: 4px; position:absolute; top:20px;} 30 .scenarioDesc, .vehicleData {border-radius:6px; margin: 4px; position:absolute; bottom:0px; background-color:rgba(0,0,0,0.5);padding:4px; font-size:0.8em;} 31 .vehicleData {padding-top:16px;width:270px;font-size:0.95em;} 32 tr, td {vertical-align:top; padding:2px;} 33 .vhead, .vdata, .shead, .sdata {display:block; font-size: 0.8em; padding:0px 4px;} 34 .shead, .sdata {font-size: 1em; font-weight:bold;} 35 .vhead, .shead {text-align:right;} 36 .vdata, .sdata {text-align:left;} 37 38 .screenshot img {width:100%;} 39 .topImage {height:104px;z-index:99999;position:fixed;left:50%;margin-left:-225px;} 40 #topBanner {margin-bottom:96px;} 41 #appLoadingText {width:100%; text-align:center; position:absolute; top:70%; color:#017c3b; font-weight:bold;} 42 #aboutPage {text-align:center;} 43 #aboutPage b {color:#fb0;} 44@media only screen and (min-width: 400px) 45{ 46.rd-tiled-view-item, .rd-tiled-view-scen-item {width: 380px; height: 320px;margin: 8px;} 47.scenarioData {width:380px;} 48.vehicleData {width:370px;} 49.shead, .sdata, .vhead, .vdata, .shead, .sdata, .scenarioDesc, .vehicleData, .vehicleData {font-size: 1em;} 50} 51 </style> 52 53
53<script type="text/javascript">/** 54 * Sencha Blink - Testing 55 * @author Jacky Nguyen <[email protected]> 56 */ 57(function(global) { 58 var head = global.document.head, 59 Ext = global.Ext; 60 61 if (typeof Ext == 'undefined') { 62 global.Ext = Ext = {}; 63 } 64 65 function write(content) { 66 document.write(content); 67 } 68 69 function addMeta(name, content) { 70 var meta = document.createElement('meta'); 71 72 meta.setAttribute('name', name); 73 meta.setAttribute('content', content); 74 head.appendChild(meta); 75 } 76 77 Ext.blink = function(options) { 78 var scripts = options.js || [], 79 styleSheets = options.css || [], 80 i, ln, path, platform, theme; 81 82 if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 83 var msViewportStyle = document.createElement("style"); 84 msViewportStyle.appendChild( 85 document.createTextNode( 86 "@media screen and (orientation: portrait) {" + 87 "@-ms-viewport {width: 320px !important;}" + 88 "}" + 89 "@media screen and (orientation: landscape) {" + 90 "@-ms-viewport {width: 560px !important;}" + 91 "}" 92 ) 93 ); 94 document.getElementsByTagName("head")[0].appendChild(msViewportStyle); 95 } 96 addMeta('viewport', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'); 97 addMeta('apple-mobile-web-app-capable', 'yes'); 98 addMeta('apple-touch-fullscreen', 'yes'); 99 100 Ext.microloaded = true; 101 102 var filterPlatform = window.Ext.filterPlatform = function(platform) { 103 var profileMatch = false, 104 ua = navigator.userAgent, 105 j, jln, exclude; 106 107 platform = [].concat(platform); 108 109 function isPhone(ua) { 110 var isMobile = /Mobile(\/|\s)/.test(ua); 111 112 // Either: 113 // - iOS but not iPad 114 // - Android 2 115 // - Android with "Mobile" in the UA 116 117 return /(iPhone|iPod)/.test(ua) || 118 (!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) || 119 (/(BlackBerry|BB)/.test(ua) && isMobile) || 120 /(Windows Phone)/.test(ua); 121 } 122 123 function isTablet(ua) { 124 return !isPhone(ua) && (/iPad/.test(ua) || /Android|Silk/.test(ua) || /(RIM Tablet OS)/.test(ua) || 125 (/MSIE 10/.test(ua) && /; Touch/.test(ua))); 126 } 127 128 // Check if the ?platform parameter is set in the URL 129 var paramsString = window.location.search.substr(1), 130 paramsArray = paramsString.split("&"), 131 params = {}, 132 testPlatform, i; 133 134 for (i = 0; i < paramsArray.length; i++) { 135 var tmpArray = paramsArray[i].split("="); 136 params[tmpArray[0]] = tmpArray[1]; 137 } 138 139 testPlatform = params.platform; 140 if (testPlatform) { 141 return platform.indexOf(testPlatform) != -1; 142 } 143 144 for (j = 0, jln = platform.length; j < jln; j++) { 145 switch (platform[j]) { 146 case 'phone': 147 profileMatch = isPhone(ua); 148 break; 149 case 'tablet': 150 profileMatch = isTablet(ua); 151 break; 152 case 'desktop': 153 profileMatch = !isPhone(ua) && !isTablet(ua); 154 break; 155 case 'ios': 156 profileMatch = /(iPad|iPhone|iPod)/.test(ua); 157 break; 158 case 'android': 159 profileMatch = /(Android|Silk)/.test(ua); 160 break; 161 case 'blackberry': 162 profileMatch = /(BlackBerry|BB)/.test(ua); 163 break; 164 case 'safari': 165 profileMatch = /Safari/.test(ua) && !(/(BlackBerry|BB)/.test(ua)); 166 break; 167 case 'chrome': 168 profileMatch = /Chrome/.test(ua); 169 break; 170 case 'ie10': 171 profileMatch = /MSIE 10/.test(ua); 172 break; 173 case 'windows': 174 profileMatch = /MSIE 10/.test(ua) || /Trident/.test(ua); 175 break; 176 case 'tizen': 177 profileMatch = /Tizen/.test(ua); 178 break; 179 case 'firefox': 180 profileMatch = /Firefox/.test(ua); 181 } 182 if (profileMatch) { 183 return true; 184 } 185 } 186 return false;
187 }; 188 189 for (i = 0,ln = styleSheets.length; i < ln; i++) { 190 path = styleSheets[i]; 191 192 if (typeof path != 'string') { 193 platform = path.platform; 194 exclude = path.exclude; 195 theme = path.theme; 196 path = path.path; 197 } 198 199 if (platform) { 200 if (!filterPlatform(platform) || filterPlatform(exclude)) { 201 continue; 202 } 203 Ext.theme = { 204 name: theme || 'Default' 205 }; 206 } 207 write('<link rel="stylesheet" href="'+path+'">'); 208 } 209 210 for (i = 0,ln = scripts.length; i < ln; i++) { 211 path = scripts[i]; 212 213 if (typeof path != 'string') { 214 platform = path.platform; 215 exclude = path.exclude; 216 path = path.path; 217 } 218 219 if (platform) { 220 if (!filterPlatform(platform) || filterPlatform(exclude)) { 221 continue; 222 } 223 } 224 225 write('
225<script src="'+path+'"></'+'script>'); 226 } 227 } 228 229})(this);Ext.blink({"id":"25ca0857-dd16-4162-9673-8cfcd46e6a0a","js":[{"path":"app.js","update":"delta"}],"css":[{"path":"resources/css/app.css","update":"delta"}]});</script>
vendor: 1 bytes, line 229
229
230<script type="text/javascript"> 231document.addEventListener('mousewheel', function(e){ 232 var el = e.target; 233 var offset, scroller, _results; 234 _results = []; 235 while (el !== document.body) { 236 if (el && el.className && el.className.indexOf('x-container') >= 0) { 237 var cmp = Ext.getCmp(el.id); 238 if (cmp && typeof cmp.getScrollable == 'function' && cmp.getScrollable()){ 239 var scroller = cmp.getScrollable().getScroller(); 240 if (scroller) { 241 var offset = {x:0, y: -e.wheelDelta*0.5}; 242 scroller.fireEvent('scrollstart', scroller, scroller.position.x, scroller.position.y, e); 243 scroller.scrollBy(offset.x, offset.y); 244 scroller.snapToBoundary(); 245 scroller.fireEvent('scrollend', scroller, scroller.position.x, scroller.position.y-offset.y); 246 break; 247 } 248 } 249 } 250 _results.push(el = el.parentNode); 251 } 252 return _results; 253}, false); 254</script>
vendor: 1 bytes, line 254
254
255<script type="text/javascript"> 256 var _gaq = _gaq || []; 257 _gaq.push(["_setAccount", "UA-44731706-1"]); 258 _gaq.push(["_setDomainName", "transporttycoon.com"]); 259 _gaq.push(["_trackPageview"]); 260 (function() { 261 var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true; 262 ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; 263 var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s); 264 })(); 265</script>
265 266</head> 267<body> 268 <div id="landingTitle"><img src="landingtitle.jpg"/></div> 269 <div id="appLoadingIndicator"> 270 <div></div> 271 <div></div> 272 <div></div> 273 </div> 274 <div id="appLoadingText">Loading...</div> 275</body> 276<style>.x-innerhtml.x-html {background:rgba(0,0,0,0.25);border-radius:6px;padding:4px;}.x-html p {margin:20px;}.x-html h2{color:rgb(101,255,200);}</style> 277</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.