Hidden code on Trump’s website

IT'S tough to think of what would drive somebody to trawl through the JavaScript code of Trump's campaign website hoping to discover something sinister.

Yet, it appears somebody has done just that. While questionable in its own right, the more surprising aspect was what they actually uncovered.

Washington Post data reporter Christopher Ingraham recently discovered Trump's campaign website had a secret message that would be served up in the event of an internal server error.

"Oops! Something went wrong. Unlike Obama, we are working to fix the problem … and not on the golf course," the coded data read.


The dig was designed to replace a basic "page not found" message, but it's unclear whether the error message was ever shown.

Shortly after being made public, the snippet of code was removed from the website - it can still be seen if you access an archive.org cache of the site.


The quip was directed at the fact President Barack Obama played 333 games of golf - or once about every nine days - during his time in office.

While this might seem excessive, data from The Washington Post has found President Trump golfed on at least 73 during his first 346 days in office. That's once about every five days to date.