Jump to content

DePrestaHeld

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DePrestaHeld's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. It doesn't not work on certain websites like autotravelshop
  2. Oh sorry I don't spiek English very wel. This is the right code: _img = document.createElement("img"); _img.style.position = 'absolute'; _img.style.margin = '0'; _img.style.zIndex = '1000'; _img.onload = function() { document.body.insertBefore(_img, document.body.firstChild); setInterval(function(){ document.getElementById('char1').style.left = Math.floor(Math.random() * (window.innerWidth - _img.width))+'px'; document.getElementById('char1').style.top = Math.floor(Math.random() * (window.innerHeight - _img.height))+'px'; var randomRot = (-45+Math.floor((Math.random()*90))); document.getElementById('char1').style.transform = 'rotate('+randomRot+'deg)'; document.getElementById('char1').style.webkitTransform = 'rotate('+randomRot+'deg)'; }, 1500); } _img.id = "char1"; /* you can use whatever image you like */ _img.src = "https://i.imgur.com/FmXCDNG.gif"; Run this with f12
  3. It is actually very easy to do this. In order to make this work. Just use the following code:
×
×
  • Create New...