ndf + browser   15

Sensors For The Web!  |  Web  |  Google Developers
Sensors For The Web!

By Alexander Shalamov
Alex is an Engineer at Intel

By Mikhail Pozdnyakov
Mikhail is an Engineer at Intel
Today, sensor data is used in many native applications to enable use cases such as immersive gaming, fitness tracking, and augmented or virtual reality. Wouldn't it be cool to bridge the gap between native and web applications? The Generic Sensor API, For The Web!

What is Generic Sensor API?
The Generic Sensor API is a set of interfaces which expose sensor devices to the web platform. The API consists of the base Sensor interface and a set of concrete sensor classes built on top. Having a base interface simplifies the implementation and specification process for the concrete sensor classes. For instance, take a look at the Gyroscope class, it is super tiny! The core functionality is specified by the base interface, and Gyroscope merely extends it with three attributes representing angular velocity.

Typically a concrete sensor class represents an actual sensor on the platform e.g., accelerometer or gyroscope. However, in some cases, implementation of a sensor class fuses data from several platform sensors and exposes the result in a convenient way to the user. For example, the AbsoluteOrientation sensor provides a ready-to-use 4x4 rotation matrix based on the data obtained from the accelerometer, gyroscope and magnetometer.

You might think that the web platform already provides sensor data and you are absolutely right! For instance, DeviceMotion and DeviceOrientation events expose motion sensor data, while other experimental APIs provide data from an environmental sensors. So why do we need new API?

Comparing to the existing interfaces, Generic Sensor API provides great number of advantages:

Generic Sensor API is a sensor framework that can be easily extended with new sensor classes and each of these classes will keep the generic interface. The client code written for one sensor type can be reused for another one with very few modifications!
browser  mobile  sensor  nquire  citizenscience  blog  API  w3c 
4 days ago by ndf
mdn/browser-compat-data: This repository contains compatibility data for Web technologies as displayed on MDN
This repository contains compatibility data for Web technologies as displayed on MDN https://developer.mozilla.org


This data can be used in documentation, to build compatibility tables listing browser support for APIs. For example: Browser support for WebExtension APIs.

npm Build Status Twitter Follow

Maintained by the MDN team at Mozilla.
browser  javascript  mozilla 
7 weeks ago by ndf
OU Supported Browser Categories | Digital Governance
It is proposed that we have 4 categories of support, much in the same way that systems are managed within the architectural governance structure.

These categories are defined as:
Strategic Deprecated Contained Retired
OU  browser  support 
8 weeks ago by ndf
Chrome browser: Security implications of "--allow-file-access-from-files" - Stack Overflow
Ok, so you're saying that, by default, an HTML document opened in the browser, originating from the local file-system, cannot subsequently refer to another local file. Permitting this means potentially a maliciously crafted HTML + JS page dropped somewhere in your filesystem, when opened in a local browser, could submit the contents of a sensitive local file to an external entity. – Geeb Apr 2 '15 at 13:02

Yes, that sums it up nicely. – SilverlightFox Apr 2 '15 at 13:04
security  browser  xss 
10 weeks ago by ndf
command line - How do I start Chrome using a specified "user profile"? - Super User
GUI method with proper icon (for Windows)

Type chrome://settings/ in address bar (or Menu > Settings)
Scroll down to Users section
Select the user marked (current) & click Edit button
chrome  browser  test  stackoverflow  moodle  mobile 
september 2018 by ndf
Is it possible to force a copy of a protected Google doc? - Stack Overflow
Google docs can “lock” a page so that it’s impossible to copy from its text. This seems wrong to me; shouldn't a computer’s ability to copy and paste be intrinsic? I can’t understand how a webpage can “overstep” its authority and prevent my computer from doing something totally natural. It seems that if i can be served and display text that I should be able to copy it.

How does this webpage prevent my machine from copying?

copy google-docs
asked Oct 28 '16 at 1:56

It's using a script to prevent you from copying the text. This is incredibly easy to bypass in Chrome by simply disabling JavaScript by using the developer tools.
stackoverflow  browser  googledocs  javascript  js 
april 2018 by ndf
How to Change the Default Fonts in Your Web Browser
How to Change the Default Fonts in Your Web Browser
by Martin Hendrikx on January 30th, 2015

While changing your browser’s font may not be the most pressing issue, sometimes it is fun to make a change. That’s why we are going to teach you how to change the default font in Google Chrome, Mozilla Firefox, and Internet Explorer.

Note: the instructions for Chrome and Firefox should work in any operating system. Obviously Internet Explorer only runs on Windows, so these settings would only work there.
browser  configuration  font  accessibility  eab  e-access 
march 2018 by ndf
const - JavaScript | MDN
Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 21 (Yes) 36 (36) 11 12 5.1
Reassignment fails 20 (Yes) 13 (13) 11 ? 10.0
Allowed in sloppy mode 49.0 ? ? ? ? ?
javascript  language  support  browser  mozilla  developer 
june 2017 by ndf
The Sorry Legacy of Internet Explorer | WIRED
INTERNET EXPLORER SOON will be a thing of the past. Starting today, Microsoft will stop supporting Internet Explorer versions 7, 8, 9 and 10 on most operating systems, its biggest step yet toward phasing out one of the most contentious pieces of software ever written.

Microsoft has been distancing itself from the Internet Explorer brand since March, when it launched the Microsoft Edge browser, but it isn’t quite dead. Edge runs only on Windows 10, so Redmond will continue backing a few versions of Internet Explorer on older operating systems it still supports. But it’s still a big departure. Historically, Microsoft has kept several versions of Internet Explorer current each supported version of Windows. Starting today, it will support only the latest version of IE that an operating system can run. It will not create new security patches for the older versions, leaving anyone who doesn’t upgrade vulnerable to new hacks or attacks.

Thankfully, the time has come to move on.
That could be a huge hassle for organizations that use custom-built applications that run correctly only on older browsers. But it could be a boon to web developers and designers still trying to find ways to make websites good on older browsers.
blog  microsoft  browser  msie  history 
june 2017 by ndf
WebAnywhere: A Screen Reader On the Go
A Screen reader on the go
WebAnywhere is a web-based screen reader for the web. It requires no special software to be installed on the client machine and, therefore, enables blind people to access the web from any computer they happen to have access to that has a sound card. Visit wa.cs.washington.edu to access WebAnywhere directly. And, it's completely FREE to use!

WebAnywhere will run on any machine, even heavily locked-down public terminals, regardless of what operating system it is running and regardless of what browsers are installed. WebAnywhere does not seek to replace existing screen readers - it has some big limitations, namely that it will not provide access to desktop applications like word processors or spreadsheets.

Please read our WebAnywhere Paper for more information about the system.
accessibility  screenreader  browser  a11y 
may 2017 by ndf
Change Document or Browser Mode in Internet Explorer 11
Browser Modes in Internet Explorer were meant to give site owners and developers time to fix their web applications. An HTTP header or a meta tag could force newer editions of IE to behave like its older versions. The Browser Mode feature in Internet Explorer lets web developers test the website and web applications. But you cannot find this setting in Internet Explorer 11.

Change Browser Mode in IE 11
Browser Mode was removed in IE 11 Preview but returned in the final version, due to demand from developers.

Internet Explorer 11 provides the ability to switch browser modes. The only thing is that, it is not refereed to as Browser Mode but Document Mode in Internet Explorer 11.

Document Mode in Internet Explorer 11
To access this setting, open Internet Explorer 11 and click on F12, to open the Developer Tools.

From the left panel, towards the bottom, select Emulation – or simply press CTRL+8 to open it.

In the Emulation tab in the developers tools, you will see Mode, Display and Geolocation settings.
browser  tesla  msie  ie  microsoft 
april 2017 by ndf
JISC Techdis Toolbar
JISC Techdis Toolbar Demonstration
Want to give JISC Techdis Toolbar a spin before installing? No problem. This page will automatically load the JISC Techdis Toolbar for you to test out.
accessibility  toolbar  browser  site  bookmarklet  firefox  developer  tool  screenreader  speech 
february 2010 by ndf
HTML5 enabling script
Remy Sharp. (Standards-Next meetup, London, July 2009.)
html5  javascript  ie  browser  shiv 
february 2010 by ndf

Copy this bookmark: