Skip to content

Instantly share code, notes, and snippets.

@jsakamoto
Created April 7, 2014 03:46
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 jsakamoto/10014552 to your computer and use it in GitHub Desktop.
Save jsakamoto/10014552 to your computer and use it in GitHub Desktop.
<style>
#tell-me-wys-link {
position:fixed;
bottom:0;
right:-16.9em;
background-color: #fff;
border: solid 1px #ccc;
color:#444;
padding: 4px;
opacity:0.7;
cursor: pointer;
font-size: 90%;
transition: right 0.3s linear 0
}
#tell-me-wys-link:hover {
right:0em;
}
</style>
<script src="//tellmewys.azurewebsites.net/Channel/JS/2b6b710ebe8b46d687073d9bb329c0bf"></script>
<script>
$(function(){
var $link = $("<div/>")
.attr({id:"tell-me-wys-link"})
.text("Support > Send URL and SCREEN to support")
.click(function(){
if(confirm("Sure?") === false) return;
window.tellMeWYS.sendUrl();
window.tellMeWYS.sendScreen();
});
$(document.body).append($link);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment