Please turn JavaScript on
CodeForGeek icon

CodeForGeek

follow.it gives you an easy way to subscribe to CodeForGeek's news feed! Click on Follow below and we deliver the updates you want via email, phone or you can read them here on the website on your own news page.

You can also unsubscribe anytime painlessly. You can even combine feeds from CodeForGeek with other site's feeds!

Title: CodeForGeek - Programming Blog for Geeks

Is this your feed? Claim it!

Publisher:  Unclaimed!
Message frequency:  5.04 / day

Message History

To make a JavaScript snippet less readable, you can use an online obfuscator. The CodeForGeek widget wraps source text in reversible Base64 encoding and runs it with eval, while browser-delivered code remains inspectable. I’ll show how to use the widget and test its output in a browser. TL;DR The CodeForGeek widget wraps source text in […]

Read full story
A text file’s contents may need to appear on a web page or be printed by a script. JavaScript can read a file selected in a browser, and Node.js can read a file by path. This article shows how to display the selected text in a browser and how to read a path with Node.js. […]

Read full story
To open a chosen set of links in new tabs, first identify which links belong in the set. JavaScript can respond to a button click by requesting a new browsing context for each one. This article explains how to mark the links and attach the action to a button. It also covers why the browser […]

Read full story
To make an HTML table respond to changes after a page loads, you can update its rows with JavaScript. JavaScript inserts or removes rows in the page’s DOM without rebuilding the whole page. I’ll show how to add a row and remove the row containing the clicked button. TL;DR: Add and Remove Table Rows Use […]

Read full story
Applying code to selected HTML elements one at a time calls for a way to handle each match. jQuery’s each() method does that by calling a function for each element in a selection. I’ll show how to use each() and distinguish the jQuery collection from the current element inside a plugin callback. TL;DR In a […]

Read full story