Visual Studio Code

Code Editing. Redefined. Free. Open source. Runs everywhere.

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Python, PHP, Go) and runtimes (such as .NET and Unity). Begin your journey with VS Code with these introductory videos.

Download it here.

Javascript to detect popup blocker

This simple javascript can be used to detect whether popup blocker is enabled on the browser.

<script type=”text/JavaScript” language=”JavaScript”>
var pop= window.open(”,”,’width=1,height=1,left=0,top=0,scrollbars=no’);
if(pop)
var popUpsBlocked = false
else
var popUpsBlocked = true
mine.close()
</script>

<script type=”text/JavaScript” language=”JavaScript”>
if(popUpsBlocked)
alert(‘Your browser’s popup blocker is enabled.\nPlease turn it off.’);
</script>