Ask your own question, for FREE!
OpenStudy Feedback 15 Online
OpenStudy (anonymous):

Make Openstudy do the Harlem shake, click here for instruction.

OpenStudy (anonymous):

This just might apply for windows computers....sorry For Mac users

OpenStudy (anonymous):

Click the F12 button on your keyboard or just right click and click inspect element.

OpenStudy (anonymous):

Once you get there click the console button

OpenStudy (anonymous):

After clicking it paste in the following text: 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)}}})() , click enter, hit F12 again, then sit back and watch The Site do the harlem Shake

OpenStudy (anonymous):

You have to paste it by clicking Control + V

OpenStudy (anonymous):

Oh you think you smart?

thomaster (thomaster):

I must say that's quite impressive Awesome

thomaster (thomaster):

I love how it just picks some random site elements xD

thomaster (thomaster):

And it works for every site I just noticed

OpenStudy (anonymous):

wow this is awesome lol

Parth (parthkohli):

\[\rm \href{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)}}})()}{Harlemify}\]Drag the above link to your bookmarks bar.

thomaster (thomaster):

Or just click it ._.

Parth (parthkohli):

If you want that to work on every site, bookmark it, then go to the website, and click it.

OpenStudy (anonymous):

type "do a barrel roll" on google and watch

OpenStudy (anonymous):

Lool, this is awesome.

OpenStudy (thadyoung):

Whoa *~*

mathslover (mathslover):

lol That is awesome... HAHA!

OpenStudy (anonymous):

Does it work for google chrome?

OpenStudy (anonymous):

Yup

OpenStudy (anonymous):

Yes, even though it cracks up

mathslover (mathslover):

Looks more like an Earthquake ..

hero (hero):

Interesting stuff

OpenStudy (somy):

lmao it's so funny & cool :D awesome job!!! @Night-Watcher

OpenStudy (somy):

@KL-RC

OpenStudy (somy):

ikr @KL-RC lol

thomaster (thomaster):

lool it's JavaScript, Not HTML :P

OpenStudy (somy):

@thomaster we have no clue in these things buh its pretty cool right :DDD

thomaster (thomaster):

Yea, try it out on other websites. It works everywhere.

OpenStudy (somy):

yeah lol i tried in fb

OpenStudy (somy):

@KL-RC try it out in lolthatsme in google lol

OpenStudy (anonymous):

@Somy ain't gonna lie though -_- freaki'n web coding is a damn PITA lmao

OpenStudy (somy):

ahahah nice one @KL-RC

OpenStudy (anonymous):

@Somy I wonder if we can do this with Wiggle wiggle!! LOOOOL!!

OpenStudy (somy):

ahahahahahaha OS wiggling i wonder how it'd look like @KL-RC

thomaster (thomaster):

This one is funny too :P http://harlemify.com/?url=openstudy.com

OpenStudy (somy):

@thomaster ahahahahaha amazing!!!!

thomaster (thomaster):

I can try to make it do wiggle wiggle :P Gimme a sec

OpenStudy (somy):

@thomaster that'll be fun!!!!!!!!!!!!!!!

OpenStudy (anonymous):

agreed :P

OpenStudy (somy):

lol just the fact that u can do it is already pretty cool!!! @thomaster respect :D since i can't do it :P

OpenStudy (bquiz):

awesome

OpenStudy (bquiz):

but do you know that you are tampering with the source code?

thomaster (thomaster):

@bquiz So what's wrong with tampering with the source code? It will only change something on your end. And above that, it's only temporary. So absolutely nothing to worry about.

OpenStudy (bquiz):

ok but don't complain later

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!