Saturday, 26 February 2022


<![CDATA[ function getBootstrapConfig() { return ""; } /** * Utility which recursively merges one object into an existing object. * This is used for overlaying locales and custom configs before Ext.Object.merge * being available. If the object has 'overwrite' property defined, object overwriting will be performed * instead of merging. */ function mergeObj (obj1, obj2) { for (var p in obj2) { try { if ((obj2[p].constructor == Object) && (obj2[p].overwrite != true)) { obj1[p] = mergeObj(obj1[p], obj2[p]); } else { obj1[p] = obj2[p]; } } catch(e) { obj1[p] = obj2[p]; } } return obj1; } ]]> =0 ? ‘&’ : ‘?’); url += (‘d=’ + domain); } // It’s better to clean UI resource before redirecting, // just like redirecting from touchui to richui BrowserUtil.redirectToUrl(url); } // redirect to accessibility page when pressing ctrl + shift + s var offerAUI = function () { var now = Math.floor(new Date().getTime() / 1000); if((now – window.auiSwitchRegistration) > WebtopConfig.common.auiMaxOfferSeconds) { return; } Ext.Msg.confirm( Ext.String.capitalize(Locale.common.WARNING), Locale.app.message.CONFIRM_SWITCH_TO_ACCESSUI, function (answer) { if (answer == ‘yes’) { var url = WebtopConfig.common.accessibilityUrl; if (url) { // Extract domain information from the following rules: // 1. Use the domain of user name, else // 2. Get the domain from the app URL parameter “d”, else // 3. Use the user domain configured in the webtop config. var userName = Richui.model.User.get(‘userName’); if ((typeof userName == ‘string’) && (userName.indexOf(‘@’) != -1)) { var callback = function() { redirectToAUI(userName); } setDefaultUI(“access”, callback); } } } } ); } document.onkeydown = function (e) { if (e && e.keyCode == 8){ if(e.target.tagName === ‘INPUT’ && e.target.readOnly != true) return; if(e.target.tagName === ‘TEXTAREA’ && e.target.readOnly != true) return; if(e.target.getAttribute(‘contentEditable’)) return; e.preventDefault(); } var conf = WebtopConfig.accessSwitch.keyCombination; if (e && e.keyCode === conf.keyCode && (e.ctrlKey == conf.ctrlKey) && (e.shiftKey == conf.shiftKey)) { window.auiSwitchCounter++; window.auiTabSwitchCounter = 0; if (window.auiSwitchCounter === conf.numberOfPresses) { window.auiSwitchCounter = 0; offerAUI(); } } else if (e && e.keyCode === 9) { // TAB window.auiSwitchCounter = 0; window.auiTabSwitchCounter++; if (window.auiTabSwitchCounter === 5) { window.auiTabSwitchCounter = 0; offerAUI(); } } else { window.auiSwitchCounter = 0; window.auiTabSwitchCounter = 0; } }; } var checkExistsRichui = setInterval(function() { if (window.Richui) { clearInterval(checkExistsRichui); registerKeyDowns(); } }, 100); ]]> <![CDATA[ url = BrowserDetect.checkDesktop(); if (url != "index-rui.jsp") window.location.href=url; document.title = Locale.pageTitle; window.skin = (window.WebtopConfig && WebtopConfig.defaultSkin) || "default"; if (location.search) { var parts = location.search.substring(1).split('&'), nv; for (var i = 0; i < parts.length; i++) { nv = parts[i].split('='); if (nv[0] == 's') { window.skin= nv[1]; } else if (nv[0] == 'd') { window.user_domain = nv[1]; } } } document.write(''); document.write(''); // Check if a new cache is available on page load. window.addEventListener('load', function(e) { // redirecting to accessui tips document.getElementById('ariaLive').innerHTML = Locale.app.message.REDIRECT_TO_ACCESSUI_TIPS; if (!window.applicationCache) return false; window.applicationCache.addEventListener('updateready', function(e) { if (window.applicationCache.status == window.applicationCache.UPDATEREADY) { // Browser downloaded a new app cache. // if (confirm('A new version of this site is available. Load it?')) { window.applicationCache.swapCache(); window.location.reload(); // } } else { // Manifest didn't changed. Nothing new to server. } }, false); }, false); ]]>

Source

The post appeared first on Best Reviews and Recommendations.

http://ifttt.com/images/no_image_card.png
https://hiccupsandkicks.co.uk/2022/02/26/7911/


http://ifttt.com/images/no_image_card.png
https://hiccupsandkicksuk.wordpress.com/2022/02/26/561/

No comments:

Post a Comment

The Crackpet Show

Brothers in Arms — [0.11.1 content update] Ⓝ Ⓔ Ⓦ Ⓤ Ⓟ Ⓓ Ⓐ Ⓣ Ⓔ is here! It’s time to come back to your favorite reality show and test your...