Our Angular.js Web App sometimes freezes on iOS8 Safari. When this issue happens, the ng-click callback is not triggered. If you replace ng-click with a regular javascript onclick, it would work. It doesn't happen in Chrome on iOS8 devices.  Has...
At very first launch of my app from the home screen, everything works fine - no freezing.  When I use the app at a later time, suddenly when I tap it from the home screen, sometimes it will freeze for 5 seconds (i.e. just stays on the home screen), a...
I need to freeze an object/array so it cannot be mutated in any way. Object.freeze() is almost perfect:  const arr = []; const obj = { foo: "bar" }; let frozenArr = Object.freeze(arr); let frozenObj = Object.freeze(obj);  // Uncaught TypeErro...
I execute user-provided javascript code inside iframes. It is possible that the executed code was submitted by a different user, so it needs to be sandboxed as much as possible. The sandbox attribute on the iframe helps a great deal, as does using a...
I have a Siverlight application, which needs to get something from the web page that hosts it.  So I'm using HtmlPage.Window.Invoke("JS_OpenProject") in Silverlight.  Here is the JavaScript code:  function JS_OpenProject() {     // window...
I have a news slideshow that was built in JavaScript for Joomla.  It works fine in Firefox, Chrome, and etc.  However, after two news segments in Internet Explorer it freezes for a long time.  Here is a link to the site: www.urbanclaim.com  How can I...
I can't create a working example, but the code is simple.    Configuration  IDE: Visual studio 2017  Target platform: Windows x64  System: Win 10  My project: Javascript // Blank App (Apache Cordova) // ver. 6.3.1    HTML // index.html  <!DOCT...
Everytime i open a javascript file and the editor opens up, my ram jumps until my computer runs out.  I disabled all 3rd party extensions and cleared my nuget cache, and restarted my computer.  Anyone have any pointers as to what might be happening?...
I have a web page that loads large amount of entries through a promise call in AngularJS. The promise is resolved to an array that contains at least 4,000 entries (JSON object). When the data comes in from remote service, the web page freezes for 5 -...
I am having a bottleneck with my sort() functions, something like:  list.sort(function (a,b) {return (a.value - b.value);});   that freezes the browser for a couple of seconds.   For the same situation with a loop it is recommended to use a "time...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.