当前位置:首页 > 知識

【】

Donald Trump's campaign website appeared to show a donation tracker scrolling across the top of the page Thursday, but everything was not as it seemed.

Rather than synching with live donations from supporters, it seems the tracker was actually generating names and amounts from an XML file featuring only around 500 people.

SEE ALSO:Why it's completely legal to trade votes across state lines

Twitter user @JackDanger highlighted the issue, posting a shot of the code behind the widget.

To be fair, nowhere on the site does the tracker claim to be listing live donations, but for most online users these types of displays are associated with recent information, as in a stock or news ticker.

Mashable Top StoriesStay connected with the hottest stories of the day and the latest entertainment news.Sign up for Mashable's Top Stories newsletterBy signing up you agree to our Terms of Use and Privacy Policy.Thanks for signing up!

In an email to Mashable Thursday afternoon, @JackDanger (who identified himself as Jack Danger Canty, a software engineer in San Francisco) said he was poking around the two candidates' websites after Wednesday's presidential debate.

Both sites seemed very secure, he said, but Trump's "livestream" ticker seemed off. When he looked into when the file was last modified he found that the list of some 500 names had been looping through the site since Oct. 9.

Mashable ImageA look at the source information behind Donald Trump's website donation tracker.Credit:

Developers jumped on the apparent gaffe, replying to Danger's tweet that there was a "real lack of follow-through" and advising that using the JSON format would have been a better idea.

An email to Trump's campaign asking about the donation tracker and the list of names was unanswered by time of publication.

Funnily enough, it appeared by Thursday mid-afternoon the ticker had been removed from the site.

分享到: