Rick Santorum's Fake Donation Meter
ricksantorum.com
Rick Santorum's Fake Donation Meter
1–10 of 100 posts
Re: Rick Santorum's Fake Donation Meter
#2[deleted]
Re: Rick Santorum's Fake Donation Meter
#3This is used to decide what dollar amount to display on the donation meter on this page: https://www.ricksantorum.com/stillneedhelp/
You can infer from the Javascript, but it just displays a dollar amount equal to the number of seconds elapsed since a certain time (edit: whoops, see below), according to your computer clock. If you refresh every second it will go up by $1 each time. If you set your clock back a year, the donation meter will read $-17 million.
Edit: Actually, this isn't quite accurate, it's closer to one dollar per two seconds. 1/(vchange*1000) = 1.7976923076923077 seconds to be exact...
Re: Rick Santorum's Fake Donation Meter
#4In case they change it, here is a copy: http://pastebin.com/3Wv4AJSF
Re: Rick Santorum's Fake Donation Meter
#5This is awesome. I know of scammy companies that have gone out of their way to use actual live subscriber counts on their sites, yet this idiot uses a fake one.
Re: Rick Santorum's Fake Donation Meter
#6I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
Re: Rick Santorum's Fake Donation Meter
#7Though I have no idea how much has truly been donated to Rick Santorum, but I would bet that growing thermometer did help contribute to that. Perception is an incredibly strong tool that can be used to elicit reactions like donating "because everyone else seems to be". Sad that they're using such a tacky tactic.
Re: Rick Santorum's Fake Donation Meter
#8"The right to private variables is not the right to a common good. It’s a me-centered right, that obviously started in the sexual revolution with contraception and obviously quickly evolved to abortion, and now has found its way into the marriage debate. And all those acts that were self-giving acts, self-sacrificing acts, have been polluted by this right to privacy." -- Rick Santorum
Re: Rick Santorum's Fake Donation Meter
#9I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
I like that bad namespacing is what you find disturbing here.
Re: Rick Santorum's Fake Donation Meter
#10What? A politician being disingenuous? I'm shocked! SHOCKED!