how to do click to copy to the clipboard and open site. examples of this kind of script can be viewed on this page www.retailmenot.com/ on the yellow boxes with the discount text.
Copying items to the clipboard is highly not recommended as there are major security risks in doing so that hackers use to there advantage. In newer browsers this is not an issue as your required to allow and disallow access for a website to see your clipboard but in older browsers this by default is always set to allowed.
The best you can do that works across all browsers is to select all the content so that your visitor only has to press ctrl-C (or equivalent) to copy it to their clipboard.
there are major security risks? what's the security risks of it? could you give me more detail. thank you.
works across all browsers is to select all the content so that your visitor only has to press ctrl-C (or equivalent) to copy it to their clipboard. i don't know how to do this? could you give me more details? thank you
That site is using flash to copy content to the clipboard which from memory is 100% safe and will work across all browsers.
thanks, you make me know a lot. could you tell me how the site get this effect. (when i put my mouse over the discount text, it shows an image "click to copy& open site")
thank you. i have get the effect. but still don't get this effect. (when i put my mouse over the discount text, it shows an image "click to copy& open site". which on the right of the discount text)
Thats out of my control, i can only share what i find. You would need to get in contact with the original developer and try to find a more updated version.