Skip to content

Instantly share code, notes, and snippets.

@malditojavi

malditojavi/html Secret

Created September 15, 2017 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malditojavi/82c228e1a70d5da7431e8eaa172ea2df to your computer and use it in GitHub Desktop.
Save malditojavi/82c228e1a70d5da7431e8eaa172ea2df to your computer and use it in GitHub Desktop.
Hack Price Match 7
function DoThisWhenTextIsSelected() {
// If text selected is equal to our product name
// show our cta
}
document.onmouseup = DoThisWhenTextIsSelected;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment