public
Created

Dot.js script to spice up your browsing experience with LongCat

  • Download Gist
default.js
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
var $div = $('<div/>').css('position', 'absolute').css('width', '100%').css('height', '100%').css('z-index', '-9999'),
width = "300px";
 
$div.append(
$('<div/>')
.css('width', width)
.css('height', '200px')
.css('position', 'absolute')
.css('top', '50px')
.css('right', '1px')
.css('background', "transparent url('//f.cl.ly/items/0h0o0r3v3H0Y3j0y3J45/LONGCATTOP.png') no-repeat right top")
);
 
$div.append(
$('<div/>')
.css('width', width)
.css('height', '70%')
.css('position', 'absolute')
.css('top', '180px')
.css('right', '1px')
.css('background', "transparent url('//f.cl.ly/items/0h0o0r3v3H0Y3j0y3J45/LONGCATMIDDLE.png') repeat-y right top")
);
 
$div.append(
$('<div/>')
.css('width', width)
.css('height', '250px')
.css('position', 'absolute')
.css('bottom', '50px')
.css('right', '1px')
.css('background', "transparent url('//f.cl.ly/items/0h0o0r3v3H0Y3j0y3J45/LONGCATBOTTOM.png') no-repeat right top")
);
 
$('body').prepend($div);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.