#Conference Reactive 2015 ( https://reactive2015.com/ )
#Talk Title: React + MALEVICH
#Speaker: Oleksii Okhrymenko - Lead JavaScript developer
#Summary:
#Conference Reactive 2015 ( https://reactive2015.com/ )
#Talk Title: React + MALEVICH
#Speaker: Oleksii Okhrymenko - Lead JavaScript developer
#Summary:
| <html> | |
| <head> | |
| <title>XSS with quotes only</title> | |
| </head> | |
| <body> | |
| <span></span> | |
| <script> | |
| // this happens becouse we use raw value inside of attribute "title" | |
| var titleText = 'asd" onmouseover="alert(1)"'; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <a onclick="test()" href="#">run</a> | |
| <div class="main"></div> |
| Ext.application({ | |
| name : 'Fiddle', | |
| launch : function() { | |
| var a = DependencyInjector.provide('A'); | |
| Ext.Msg.alert('Fiddle', a.getString()); | |
| } | |
| }); | |
| Ext.define('DependencyContainer', { |
| console.clear(); | |
| var myEnum = { | |
| left: 1 << 0, | |
| right: 1 << 1, | |
| top: 1 << 2, | |
| bottom: 1 << 3 | |
| }; | |
| var myConfig = myEnum.left | myEnum.bottom | myEnum.right; |
| console.clear(); | |
| var zone = { | |
| init: function() { | |
| zone.wrap(Window.prototype, 'setTimeout'); | |
| zone.wrap(Window.prototype, 'setInterval'); | |
| zone.wrap(Element.prototype, 'addEventListener', 1); | |
| zone.wrap(Document.prototype, 'addEventListener', 1); | |
| zone.wrap(Window.prototype, 'addEventListener', 1); | |
| zone.wrapProtoOn(XMLHttpRequest); |
JavaScript - Crocford
Official site: https://angular.io
Repository: https://github.com/angular/angular