« first day (169 days earlier)      last day (38 days later) » 

03:36
-1
Q: Iterating through a multidimensional java-script array

tassmanianfor a board game I am making I have this example array for winning patterns: var wp = [ [["30","30"],["250","30"],["470","30"]], [["30","250"],["250","250"],["470","250"]], [["30","470"],["250","470"],["470","470"]], etc ]; To check for a win i hav...

03:54
0
Q: Need help simplifying my Tampermonkey script

user1888932I would like some help simplifying the code in my script. I have a lot of repetitive parts of my code to deal with which isn't easy to keep up with. Here's the code: // ==UserScript== // @run-at document-idle // @name my script // @version 0.1 // @author me // @match ...

 
13 hours later…
16:39
-2
Q: Programming a "C" shape of 7 boxes that turn green on click

WinchenzoMagnificoCompany name asks you to build a website with 7 boxes shaped like a c, which should turn green on click, and then when all are clicked, should turn red in reverse clicking order. https://jsfiddle.net/yx296/dvacLduw/ it seems it doesn't matter whether or not I leave the e.stopPropagation in ther...

 
5 hours later…
21:41
0
Q: PHP script for getting post data from Tampermonkey script

user1888932I'm trying to shorten this piece of my code into a loop. Here's the code I'm trying to shorten: <?php header('Access-Control-Allow-Origin: http://mysite.com'); ?> <?php if(sizeof($_POST)) { file_put_contents; } else { echo "ERROR! Must be activated from Tampermonkey script...


« first day (169 days earlier)      last day (38 days later) »