Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
The memory seems to still be reading and writing correctly, but the memory tab always shows the initial state, as though there were no creeps or spawns in the room. It wasn't like this a couple days ago. What do I do? The problem exists in Firefox and Chrome, seemingly regardless of cached data.
Thanks, it is fixed now.
Please keep in mind that it is better to send bugs to contact#screeps.com rather than to post them on StackOverflow, which is for coding questions.
You can click the `refresh' button to the left in order to see the contents of the memory. But I agree that this is a less then optimal way to do things.
Possibly it's an issue with localStorage, artch has answered a similar question about these type of issues: https://stackoverflow.com/a/27060388/1814415
You could try to run the game on another browser or maybe clearing the cache on your current browser.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I'm trying to modify a webpage I access that has a table with a bunch of rows. I'd like to loop through and compare a name in that row with a name on another list I have, if it's there make that name in the table red. I don't have any code yet, but I'm lost when it comes to figuring out how to run this code when I run the webpage in my chrome browser. Does anyone have an example or tutorial about how to do this? Most posts on this topic are many years old and it's been hard to find this info. I appreciate your help!
It sounds like what you're trying to do is modify the structure of a webpage you don't own the code to. While you can use the developer tools to run arbitrary JS, that becomes tedious to do every single time.
I think what you want is a browser plugin. Check out the resources below:
Chrome: https://developer.chrome.com/extensions/getstarted
Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension
There may also be specific browser plugins already that let you run arbitrary JS code on certain pages, but I am not aware of any myself.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
My website is http://hoopweb.com/. It suddenly loads so slowly. I know that it is because of a JavaScript file. Can someone help find the file? I can't experiment on all files due to some reasons.
You can open the developer tools and check in the network tab exactly which script is taking the longest time to load.
And as mayersdesign said, too many scripts = too many requests = longer page load time.
http://v2.zopim.com/bin/v/widget_v2.195.js is particularly slow, but in general you simply have too many scripts and too many loading in the head and not the footer.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
There is an option for disabling right click on the website on the computer but on the mobile I don't know which javascript code I would need.
Images have to be copied from the web server to the client system in order for the client system to display them.
There is no way to stop people from saving them.
There is an option for disabling right click on the website
Not one that can't be trivially bypassed.
There's no way to actually block an image from being copied. If it's being shown to the user, they can obtain it. The resource is already sent to them for render anyways.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How would I format the time being played by using a variable.
I need to store the current time spent playing by using a timer I would assume.
I will update the current time every-time paused is pressed.
How then would I format the variable into a readable format?
What is the best way to do all of this, what timers? How?
Your question doesn't give much details to help you.
But here are some links for javascript timers.
http://javascriptweblog.wordpress.com/2010/06/28/understanding-javascript-timers/
http://ejohn.org/blog/how-javascript-timers-work/
You may have a play/pause button. And trigger functions on pressing that button.
Try something using this information, when stuck in some problem, post what you tried, and people will help you.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I am looking for a site that if I disabled JavaScript the site would be useless, and what other functions would I not be able to use. Does anyone have a name of a site that I can look at? I want to know what no longer works.
You're looking at one right now.
Not quite sure if this is really programming related... but YouTube and Google Docs for instance.
http://jsfiddle.net
Most sites that use javascript heavily become less useful rather than useless. In order to do that, many of them will implement the important parts twice - once with javascript, and a less sophisticated version without.
Despite the popularity of the question, this one doesn't even load w/o JS.
http://www.graphikdesign.it/
Google.com looses it's Instant search capability with Javascript off.