Skip to content

Instantly share code, notes, and snippets.

<script>
$( document ).ready(function() {
$('img[alt="Coffee Reviews"]').click(function() {
window.location.href = 'http://google.com';
return false;
});
});
</script>
function createCookie(a, b, c) {
if (c) {
var d = new Date;
d.setTime(d.getTime() + c * 60 * 1e3);
var e = "; expires=" + d.toUTCString()
} else var e = "";
document.cookie = a + "=" + b + e + "; path=/"
}
function readCookie(a) {
var isMobile = false;
if (typeof window.orientation !== 'undefined') {
isMobile = true;
return isMobile;
}
if (!isMobile) {
document.getElementsByClassName("satisfactionicons")[0].style.display = 'none';
}
@dannyfinks
dannyfinks / goooood-joe.html
Created September 6, 2016 16:48
do not load script for path
<!--Start of Zopim Live Chat Script-->
<script type='text/javascript'>
if (location.pathname !== '/pages/bathroom-remodel-ideas-on-a-budget') {
window.$zopim || (function (d, s) {
var z = $zopim = function (c) {
z._.push(c)
}, $ = z.s =
d.createElement(s), e = d.getElementsByTagName(s)[0];
z.set = function (o) {
z.set._.push(o)