logo

Category : Javascript

whatsapp

WebSocket Chat with WhatsApp

ntro I would like to show you how to create a WebSocket chat application to send and receive a WhatsApp message from the SAPUI5 web browser with the open source Yowsup. How it works? Firstly, client will establish the connection to the server via the websocket address: ws://localhost:8080/fd6/websocket and register the following event listeners: onerror: When a WebSocket encounters a problem, the “onerror” event handler is called. onopen: When a WebSocket in the open state, the “onopen” event handler is called. […]

site may hacked

Remove this site may be hacked google

Remove this site may be hacked google https://sitecheck.sucuri.net/ Above this helps you to find out malicious code or JavaScript on website . and there are many more website like this search on google website malware scanner. and please check on server and check any spam pages are generate on server. Please delete and check .php files because hackers and spammers attack on website and leave backtrack so your website might hack again , I already remove many clients this error […]

site may hacked

my website is hacked shows on google

my website is hacked shows on google I am going to write my personal experience about this matter, i am working with one of my client and after some days there website shows this site may be hacked and i googled and find many things by which this thing happened and if you are developer if you put below script in header this message came to website when google crawl web page. Reasons: 1.Spam pages 2.Malwares 3. Bad keywords that […]

11 JavaScript Code Snippets for Dynamic Web Projects

1. Open a Popup Window [php] window.open("http://webdesignledger.com","newWindow"); [/php] 2. Detect When Browser is Closed [php] function getUrlParam(name) { var results = new RegExp(‘[\?&]’ + name + ‘=([^&#]*)’).exec(window.location.href); return (results && results[1]) || undefined; } [/php] 3. Obtain Select Input Value [php] function getUrlParam(name) { var results = new RegExp(‘[\?&]’ + name + ‘=([^&#]*)’).exec(window.location.href); return (results && results[1]) || undefined; } [/php] 4. Browser Detection [php] function getUrlParam(name) { var results = new RegExp(‘[\?&]’ + name + ‘=([^&#]*)’).exec(window.location.href); return (results && […]