Skip to content

Instantly share code, notes, and snippets.

@tcg
Created February 19, 2014 20:42
Show Gist options
  • Save tcg/9101056 to your computer and use it in GitHub Desktop.
Save tcg/9101056 to your computer and use it in GitHub Desktop.
Read minds while using http://pointingpoker.com/ Also includes some bonus tips/material.
/**
* Add this style to the page. It's like you can read minds.
* Ugly, but it works. It's a free example, alright!?
*/
.playerPoints::after {
content: attr(data-point-value);
font-style: italic;
font-weight: bolder;
background-color: #eee;
padding-left: 1em;
}
/**
* Also, if you change the `data-points` attribute value on any
* of the `.voteButton` elements, that value will be
* propogated for everyone when you click the button.
* Includes anything - HTML, scripts, etc.
* E.g., hyperlinks work, as do script tags containing
* 'window.close'. ;)
*/
@tcg
Copy link
Author

tcg commented Apr 30, 2014

Looks like this is patched up and no longer works. Nor does the arbitrary code/value injection. Oh, well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment