Two-factor authentication using the time-based one-time password algorithm can be easily implemented with PHP on any web server. This standardized method is widely used as an additional security measure for logins and uses smartphone apps, e.g. the Google or Microsoft Authenticator, as a second factor.
With Chrome 81 Beta for Android, it’s now possible to use immersive Augmented Reality in the browser. I have again created two variations of the original demo source code to show what is easily possible. You can now walk around the earth, having a closer look, and (hopefully) spread joy by placing flowers wherever you like.
Web push notifications allow users to opt-in to asynchronous messages from a server to a web application. The message can be sent at any time, even when the web application or the web browser is inactive. This W3C standard, based on the HTTP/2 protocol, is now supported by Chrome, Firefox, Edge, Opera, and Safari – but not by iOS.
Chrome 79 Beta is out and with it the public support of the WebXR Device API. This API is about accessing virtual and augmented reality devices. One usable device is in your pocket or lying next to you on the desk or you are even reading this blog post with it: your mobile phone. So let’s play around a bit and see what can be done.
Yesterday I tried to create a Progressive Web App displaying an artificial horizon over a live camera view and was wondering if this would be possible with a modern mobile web browser. During the research, I stumbled over several websites which you can use to test the hardware capabilities and their software support in web browsers and I wanted to share some links.
Today I stumbled over an interesting blog post by Gajus Kuizinas. The idea is to inject a CSS style snippet into a web page to show the layout of all web page elements. This can be achieved by setting a different translucent background color for every depth of nodes. This way you can see the size, the margin and the padding of each element on the page.
The Windows May 2019 update brought the new Sandbox feature. It can be used as a safe browsing environment without the risk of affecting the base Windows installation with malware of any kind. We will create a host installation of a Web browser with a persistent configuration, which is mirrored into the virtualized environment of the Sandbox whenever needed.
This is a 3D visualization of real-time earthquake data gathered from the U.S. Geological Survey website. The data used in this example covers all earthquakes with a magnitude of at least 1 within the last 30 days. They are drawn into a template texture image file of the Earth’s surface according to the geographical position and the magnitude of the quake.
An easy way to change labels and strings in WordPress is to use a gettext filter. This post shows the different filter functions, their purpose, and how to implement a filter callback in the file functions.php to change labels and strings in themes, plugins, and widgets using a table of string replacements, even for different languages.