Alternatively, join us on Discord.

Batman

Started by Snektron, January 15, 2015, 02:51:35 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Snektron

January 15, 2015, 02:51:35 pm Last Edit: January 15, 2015, 02:54:22 pm by Cumred_Snektron
I made this little script:

javascript:var url='http://fc08.deviantart.net/fs71/f/2012/213/7/5/batman_derp_by_uchihirokilove-d59h7in.png';for (var x=0; x<document.images.length; x++){i=document.images[x];i.src = url;}void(0);

paste this into your browser and don't forget to type 'javascript:' before it if
you are using Chrome!
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

Could you describe what it does? I probably won't try until then.

Snektron

It replaces every photo (clientside) on a website
to batman (reloading resets is).
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

Ah ok thanks for clarifying.

Duke "Tape" Eiyeron

;i.src = url;}void(0);]Url test

The parser is lucky, by adding http://, it kills the script.

p2

omg this script is just awesome :D And it still works in modern browsers *-* really nice work!  :thumbsup:
But is there any way to fix the image sizes? it more or less killed my CodeW with 1000 huge batmans xD
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

November 03, 2016, 06:01:13 pm #6 Last Edit: November 03, 2016, 06:03:48 pm by DJ Omnimaga
I finally got the script to work for the first time ever. I realized I didn't need parentheses in Chrome, just adding javascript: instead of the usual javascript:() now works.

I replaced the picture with http://img.codewalr.us/flashywalruses.gif tho :P


kotu

me - i already know what batman looks like
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

WholeWheatBagels

November 04, 2016, 01:14:12 am #8 Last Edit: November 04, 2016, 01:18:46 am by WholeWheatBagels
javascript:var url='https://1800nycbagels.com/wp-content/uploads/2015/05/WholeWheatBagel_web1.jpg';for (var x=0; x<document.images.length; x++){i=document.images[x];i.src = url;}void(0);

this one really borks threads up

i call it BAGELIFY muhahahahaaa
Living in another world to you.



Also in case you were wondering Frankie did go to Hollywood

Snektron

I got bored in class today. For me they only work when you paste them in your dev console though
function getRandomColor()
{
var letters = '0123456789ABCDEF';
var color = '#';
for (var i = 0; i < 6; i++ )
color += letters[Math.floor(Math.random() * 16)];
return color;
}

var all = document.getElementsByTagName("*");
for (var i=0, max=all.length; i < max; i++)
all[i].style.backgroundColor = getRandomColor();

function getRandomColor()
{
var letters = '0123456789ABCDEF';
var color = '#';
for (var i = 0; i < 6; i++ )
color += letters[Math.floor(Math.random() * 16)];
return color;
}

function a()
{
var all = document.getElementsByTagName("*");
for (var i=0, max=all.length; i < max; i++)
all[i].style.backgroundColor = getRandomColor();
}
setInterval(a, 60);


epilepsy warning
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Powered by EzPortal