1-Class Service Generator http://bluetooth-pentest.narod.ru/software/bluetooth_class_of_device-service_generator.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.getElementById("demo").innerHTML = "Hello JavaScript!" | |
| document.getElementById('demo').innerHTML = 'Hello JavaScript'; | |
| //--------------- | |
| document.getElementById("demo").style.fontSize = "35px"; | |
| //or | |
| document.getElementById('demo').style.fontSize = '35px'; | |
| //----------- | |
| document.getElementById("demo").style.display = "none"; | |
| //or | |
| document.getElementById('demo').style.display = 'none'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <--The <script> Tag--> | |
| <script> | |
| document.getElementById("demo").innerHTML = "My First JavaScript"; | |
| </script> | |
| <--JavaScript in <head>--> | |
| <head> | |
| <script> | |
| function myFunction() { | |
| document.getElementById("demo").innerHTML = "Paragraph changed."; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Using innerHTML | |
| document.getElementById("demo").innerHTML = 5 + 6; | |
| //Using document.write() | |
| document.write(5 + 6); | |
| //Bir HTML belgesi yüklendikten sonra document.write () kullanmak, mevcut tüm HTML’leri siler: | |
| //Using window.alert() | |
| window.alert(5 + 6); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Semicolons ; | |
| var a, b, c; // Declare 3 variables | |
| a = 5; // Assign the value 5 to a | |
| b = 6; // Assign the value 6 to b | |
| c = a + b; // Assign the sum of a and b to c | |
| // one line | |
| a = 5; b = 6; c = a + b; | |
| //JavaScript White Space | |
| var person = "Hege"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //JavaScript Values | |
| var x, y; // How to declare variables | |
| x = 5; y = 6; // How to assign values | |
| z = x + y; // How to compute values | |
| //JavaScript Literals | |
| Numbers are written with or without decimals: | |
| 10.50 | |
| 1001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WebSocket.prototype._send = WebSocket.prototype.send; | |
| WebSocket.prototype.send = function (data) { | |
| console.log("\u2192 " + data); | |
| this._send(data); | |
| this.addEventListener('message', function (msg) { | |
| console.log('\u2190 ' + msg.data); | |
| }, false); | |
| this.send = function (data) { | |
| this._send(data); | |
| console.log("\u2192 " + data); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! function ( e ) { | |
| function t( r ) { | |
| if ( n[ r ] ) return n[ r ].exports; | |
| var i = n[ r ] = { | |
| i: r, | |
| l: !1, | |
| exports: {} | |
| }; | |
| return e[ r ].call( i.exports, i, i.exports, t ), i.l = !0, i.exports | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! function ( e ) { | |
| function t( o ) { | |
| if ( n[ o ] ) return n[ o ].exports; | |
| var s = n[ o ] = { | |
| i: o, | |
| l: !1, | |
| exports: {} | |
| }; | |
| return e[ o ].call( s.exports, s, s.exports, t ), s.l = !0, s.exports | |
| } |