backcommit from production

master
The Git Man 2018-02-12 19:27:11 +01:00
parent 93648600e5
commit 70bc8c9f16
2 changed files with 40 additions and 1 deletions

View File

@ -402,3 +402,25 @@ div .twtr-widget p {
#dokuwiki__pagetools div.tools {
z-index: 1;
}
-moz-keyframes rotatebox /*--for firefox--*/{
from{
-moz-transform:rotate(0deg);
}
to{
-moz-transform:rotate(360deg);
}
}
@-webkit-keyframes rotatebox /*--for webkit--*/{
from{
-webkit-transform:rotate(0deg);
}
to{
-webkit-transform:rotate(360deg);
}
}

View File

@ -1,6 +1,23 @@
jQuery(document).ready(function() {
if (window != window.top) {
// wykop gówno
var haystack = document.referrer.split('/')[2];
if (haystack == "www.wykop.pl") {
console.log("I'm in a frame! :o %O", document.referrer);
$(document.body).css({
//for firefox
"-moz-animation":"rotatebox 2400s linear infinite",
//for safari & chrome
"-webkit-animation":"rotatebox 2400s linear infinite",
});
//document.body.style.setProperty("-webkit-transform", "rotate(-90deg)", null);
}
}
function checkinify() {
jQuery.getJSON("https://at.hackerspace.pl/api", function(data) {
jQuery.getJSON("https://atproxy.hackerspace.pl/api", function(data) {
var users = parseInt(data.users.length) || 0;
var tooltip = jQuery('#status-tooltip');
var text = 'According to <a href="https://at.hackerspace.pl">our instruments</a> there ';