Check if a string is an integer in javascript

Small function in pure Javascript to check if a string is an integer or not. function isInteger(value) { var intRegex = /^\d+$/; return intRegex.test(value); } isInteger(5); // true isInteger(undefined); // false isInteger(“1”); // true isInteger(“1.3”);…

Get query string parameters with jQuery

$.urlParam = function (name) { var results = new RegExp(‘[\?&]’ + name + ‘=([^&#]*)’) .exec(window.location.href); if (results == null) { return 0; } return results[1] || 0; } console.log($.urlParam(‘dotmaui’)); //cool

Weekend of working at dotmaui.com

Weekend of working at dotmaui.com, here are the main news:  – HTML Beautifier v 1.4.0 released, we have completely replaced the script for a better result– HTML Minify API version 1.1 has left beta status…

Vulture CSS alpha 6 released with new features!

 Vulture CSS alpha 6 released with new features! – New online tool to remove unused CSS from HTML code.https://dotmaui.com/vulture-css/html-css.jsp -API version 1.1 with new features.https://api.dotmaui.com/vulturecss/#1.1 – Bug fixes and other minor improvements.

Premium plan restored!

Free offer for three months of .Maui premium. See all the features! It is thanks to your support that we can continue to offer a reliable service without advertising or tracking personal data. Thank you.