How to Detect Browser Using Javascript

When it is about client-side programming you have to make everything cross-browser compatible and sometimes this requires detecting the browser your visitor is using and then run the related piece of code. Actually it is quite easy. What you need

Read More How to Detect Browser Using Javascript

JavaScript – Using ‘replace’ Method with a Callback Function

Many of the JavaScript samples on using 'replace' method will be basic samples showing you how to replace a predefined string with another predefined string. What if you want to find strings that match a specified criteria and replace them

Read More JavaScript – Using ‘replace’ Method with a Callback Function

What is OWASP ASVS

OWASP ASVS in General The Open Web Application Security Project (OWASP) is an open community dedicated to enabling organizations to develop, purchase, and maintain applications that can be trusted. The primary aim of the OWASP Application Security Verification Standard (ASVS)

Read More What is OWASP ASVS

How to – Replace All Instances of a String Using JavaScript

You have a string and you want to make some replacements on it. Lets say you want to find all occurances of a word and replace them with a space (” “). Lets say the word is “myword”. As far

Read More How to – Replace All Instances of a String Using JavaScript