Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Articles Tagged ‘browser’

Synchronized Browser Testing with Browsersync

Sunday, February 19th, 2017 by Servage
browsersyncBrowsersync is a testing tool that makes it possible to test web applications using multiple browsers and devices at the same time. You control one browser, and everything you do is replicated on other connected devices. You can scroll, fill out forms, click links and do much more with Browsersync. This makes it much faster to test websites, and you will also notice rendering differences between browsers easier. Browsersync Explained in More Detail Browsersync is a NodeJS module that can be installed using NPM, the package manager for NodeJS. Having said that, NodeJS and NPM must be installed to use it. We will not be covering the installation of these two in this ...

Detecting browser-compatibility with Modernizr

Saturday, January 7th, 2017 by Servage
Browser-CompatabilityModernizr is a JavaScript library for detecting what features are supported in a web browser. It can be used to check whether a visitor’s browser supports CSS keyframe animations, Flash videos, the latest JavaScript features and much more. If you want to take advantage of the latest browser features without dropping support from older browsers, Modernizr is a perfect addition to your website. How Modernizr Works Modernizr is a small JavaScript file that you can add to your website. It makes a Modernizr object available that you can call to query for browser support. For instance, calling the method Modernizr.flash() returns true if Flash is supported in the visitor’s web browser. If Flash ...

Using browser cookies properly in web-projects

Tuesday, December 16th, 2014 by Servage
downloadAs your web projects grow larger and more complicated, you will find an increasing need to keep track of your users. Even if you aren’t offering logins and passwords, you will still often need to store details about a user’s current session and possibly also recognize users when they return to your site. Several technologies support this kind of interaction, ranging from simple browser cookies to session handling and HTTP authentication. Between them, they offer the opportunity for you to configure your site to your users’ preferences and ensure a smooth and enjoyable transition through it. Using Cookies in PHP A cookie is an item of data that a web server saves to your ...