• Harlem Shake on any website
    36 replies, posted
Hey guys, one of my friends has made this website named [URL]http://harlem-shake-it.com[/URL] It basically uses a javascript to make the elements on the website do the harlem shake, it's pretty neat, although it doesn't really work on facepunch :) Southpark studios' website is a great example [url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Fwww.southpark.nl%2F[/url]
awesome.
I'm as tired of this meme as the next guy, but that is very cool.
It says the website is in norwegian, so I click to translate it and all it does is change the "to" in "click the ad to support" to "two." It doesn't even translate the Facebook stuff. God damn Chrome get your shit together :( By the way, you really shouldn't put that "click the ad" stuff on your site, you'll get your adsense suspended, it's in the ToS
[QUOTE=Kung Fu Jew;39731984]It says the website is in norwegian, so I click to translate it and all it does is change the "to" in "click the ad to support" to "two." It doesn't even translate the Facebook stuff. God damn Chrome get your shit together :( By the way, you really shouldn't put that "click the ad" stuff on your site, you'll get your adsense suspended, it's in the ToS[/QUOTE] It's not AdSense... But yeah, Google Translate is horrible...
If you make it Harlem Shake itself, the page goes down. [editline]value[/editline] I'm sorry. :tinfoil:
Its broken :/
farmatyr what did you ddoooo
They fixed it. [editline]value[/editline] They did [B]not[/B] fix it.
Honestly, this is a pretty cool site. imgur works well [URL]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Fimgur.com[/URL] [sp]Before people start the flow of boxes, I appreciate the guy's work, not the meme.[/sp]
It would be better if they made your browser get the page as opposed to their servers getting it for you. A bunch of sites don't work. Most don't look right.
It's not working with Safari, at all.
Pretty neat
[code] Notice: Undefined index: path in /home/harlem/public_html/shakeit.php on line 538 Notice: Undefined index: host in /home/harlem/public_html/shakeit.php on line 548 Notice: Undefined index: port_ext in /home/harlem/public_html/shakeit.php on line 548 Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/harlem/public_html/shakeit.php on line 682 Warning: fgets() expects parameter 1 to be resource, boolean given in /home/harlem/public_html/shakeit.php on line 690 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/harlem/public_html/shakeit.php on line 863 Notice: Undefined index: file in /home/harlem/public_html/shakeit.php on line 1145 Warning: Cannot modify header information - headers already sent by (output started at /home/harlem/public_html/shakeit.php:538) in /home/harlem/public_html/shakeit.php on line 1151 Warning: Cannot modify header information - headers already sent by (output started at /home/harlem/public_html/shakeit.php:538) in /home/harlem/public_html/shakeit.php on line 1158 [/code] oops
[QUOTE=Foxtrot200;39732363]It would be better if they made your browser get the page as opposed to their servers getting it for you. A bunch of sites don't work. Most don't look right.[/QUOTE] It would, but it isn't possible. The W3C has forbidden this kind of scripts. Try it out, really. Generate an XHR request to another website and bam, your browser blocks it. It is possible to do in iframes, however, most browsers block those when they place cross-site requests as well although it isn't required. Either way, it's not my site... [QUOTE=Trumple;39732512][code] Notice: Undefined index: path in /home/harlem/public_html/shakeit.php on line 538 Notice: Undefined index: host in /home/harlem/public_html/shakeit.php on line 548 Notice: Undefined index: port_ext in /home/harlem/public_html/shakeit.php on line 548 Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/harlem/public_html/shakeit.php on line 682 Warning: fgets() expects parameter 1 to be resource, boolean given in /home/harlem/public_html/shakeit.php on line 690 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/harlem/public_html/shakeit.php on line 863 Notice: Undefined index: file in /home/harlem/public_html/shakeit.php on line 1145 Warning: Cannot modify header information - headers already sent by (output started at /home/harlem/public_html/shakeit.php:538) in /home/harlem/public_html/shakeit.php on line 1151 Warning: Cannot modify header information - headers already sent by (output started at /home/harlem/public_html/shakeit.php:538) in /home/harlem/public_html/shakeit.php on line 1158 [/code][/QUOTE] I told him about it... It's buggy, but it does work most of the time.
This is more fun. Just drag it to your favourites bar and click on it. Should work. Not made by me though. [editline]27th February 2013[/editline] [code]javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}function E(e){var t=m(e);return t>=w&&t<=b+w}function S(){var e=document.createElement("audio");e.setAttribute("class",l);e.src=i;e.loop=false;e.addEventListener("canplay",function(){setTimeout(function(){x(k)},500);setTimeout(function(){N();p();for(var e=0;e<O.length;e++){T(O[e])}},15500)},true);e.addEventListener("ended",function(){N();h()},true);e.innerHTML=" <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>";document.body.appendChild(e);e.play()}function x(e){e.className+=" "+s+" "+o}function T(e){e.className+=" "+s+" "+u[Math.floor(Math.random()*u.length)]}function N(){var e=document.getElementsByClassName(s);var t=new RegExp("\\b"+s+"\\b");for(var n=0;n<e.length;){e[n].className=e[n].className.replace(t,"")}}var e=30;var t=30;var n=350;var r=350;var i="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake.mp3";var s="mw-harlem_shake_me";var o="im_first";var u=["im_drunk","im_baked","im_trippin","im_blown"];var a="mw-strobe_light";var f="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css";var l="mw_added_css";var b=g();var w=y();var C=document.getElementsByTagName("*");var k=null;for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){if(E(A)){k=A;break}}}if(A===null){console.warn("Could not find a node of the right size. Please try a different page.");return}c();S();var O=[];for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){O.push(A)}}})()[/code] [editline]27th February 2013[/editline] nope i don't know how to link a javascript thing nvm.
[IMG]http://i.imgur.com/MvWhZpU.png[/IMG] :v:
I don't really care much for the Harlem Shake trend, but I have to admit, that's pretty cool :v:
[url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Fwww.newgrounds.com[/url] That's got some movement to it!
[url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Ffacepunch.com%2Fshowthread.php%3Ft%3D1249980%26p%3D39734879%26viewfull%3D1%23post39734879[/url] lol works great [editline]27th February 2013[/editline] [url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Ffacepunch.com%2Fforum.php[/url] [QUOTE=mrgrim333;39734879][url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Fwww.newgrounds.com[/url] That's got some movement to it![/QUOTE] its a shame NG is full of the mentally insane but thats interesting looking
Youtube broke it. [url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Fwww.youtube.com[/url] [editline]27th February 2013[/editline] I like the message you get now if you try to do the site itself. [img]http://i.imgur.com/f95I80Y.png/[/img] [editline]27th February 2013[/editline] [url]http://harlem-shake-it.com/shakeit.php?url=http%3A%2F%2Fstore.steampowered.com[/url]
[QUOTE=farmatyr;39732039]If you make it Harlem Shake itself, the page goes down. [editline]value[/editline] I'm sorry. :tinfoil:[/QUOTE] I tried the main site itself, too. -snip- [editline]27th February 2013[/editline] [QUOTE=DiscoBiscut;39734285][IMG]http://i.imgur.com/MvWhZpU.png[/IMG] :v:[/QUOTE] d'aw, shit. I'm late.
[QUOTE=Brandy92;39732430]It's not working with Safari, at all.[/QUOTE] It's a shame when browsers don't want to comply with W3C standards, right?
I for one, didn't find this trend to be that enjoyable. But my god is that sick!
[QUOTE=farmatyr;39732039]If you make it Harlem Shake itself, the page goes down. [editline]value[/editline] I'm sorry. :tinfoil:[/QUOTE] Error message has been removed and it can now shake itself. However, the button is the only element able to move.
This is pretty neat, even if you don't like Harlem Shake.
lol, now all websites becomes a LSD simulator
This is actually pretty cool but i reckon you should have like a box come in when the 30 seconds of the song is done and have "retry" or "go back to the site"
I guess your friend used this. [url]http://codecanyon.net/item/speedo-harlem-meme-shake-generator-/4119290?WT.ac=new_item&WT.seg_1=new_item&WT.z_author=ArtflowTeam[/url]
Making it do itself seems to work now :v:
Sorry, you need to Log In to post a reply to this thread.