Android Police

Articles Tagged:

javascript

76

Google working to bring JavaScript app support to Fuchsia

Google's in-development Fuchsia operating system has been slowly taking shape over the past three years. It appears to be designed for both mobile and desktop devices, with a real-time kernel and a unique interface. We already know languages like Google Dart and Apple's Swift will be supported by Fuchsia, but now it seems JavaScript might be joining the party.

Read More
26

Chrome for Android may start disabling JavaScript on 2G connections

Google has added countless features to Chrome, especially the Android version, that are designed to improve functionality on slow connections. It can automatically download articles for later reading, and the data saver feature continues to get better. Now it appears Google is taking more drastic steps - like disabling JavaScript entirely on slow connections.

Read More
11

Dart, Google's home-grown programming language, reaches version 2.0

Google Dart has evolved a great deal over the past few years. It was originally designed as a JavaScript replacement, with Google planning to add native support for it in Chrome. The company later dropped those plans, instead focusing on Dart's ability to compile to JavaScript (thus allowing Dart code to work in every web browser). Dart is heavily used in the cross-platform Flutter SDK, and it's a supported language in Fuchsia.

Read More
26

Chrome might begin testing a built-in Lazy Loading mechanism for images and iframes

The Chrome team seems to always be working on many ways to quicken page loading times and speed up our access to information. The latest proposed test, which hasn't been implemented yet, is a built-in Lazy Loading mechanism for images and iframes. According to the Google Chromium group, work is underway to test and implement this new feature in Chrome for Android.

What Lazy Loading really means is that the page you open will only load images and iframes above the fold (what you can see), thus speeding up the process so you're not stuck waiting for something at the bottom of the page to load.

Read More
52

Google Chrome loads pages 10-20% faster on average than it did a year ago

Web browsers have several major components, including the rendering engine (the part that displays web pages) and JavaScript engine (the part that runs scripts in pages). V8 was created alongside Chrome, and is used in many other browsers and runtimes based on the Chrome codebase.

Read More
30

Google introduces background tab throttling in Chrome 57

Chrome on Android already heavily throttles (or outright kills) background tabs, but Chrome on the desktop has mostly allowed inactive tabs to do whatever they want. Unfortunately, having several tabs open using performance-intensive JavaScript code, like timers, can cause Chrome performance and battery life (if you're on a laptop or other portable device) to suffer.

Google originally planned to start throttling background tabs in Chrome 56, but due to some concerns it would break a large amount of web pages, it was put off. Now the feature has finally arrived, as part of Chrome 57.

Read More
49

Gmail won't allow JavaScript file attachments starting February 13

Malicious emails often attach various forms of executable programs and trick users into running them. These include standard Windows executables (.exe), batch files (.bat), and even JavaScript files (.js). Starting February 13, 2017, Google will not allow JS files to be sent as an attachment, including JS files detected within archives.

Read More
40

Chrome Beta v44 Comes With Improvements To 'Native App' And 'Add To Homescreen' Banners, New Push API Features, And More [APK Download]

This month's update to Chrome is a little more developer-centric than usual. We're accustomed to seeing small visual tweaks and a couple of other new capabilities here and there –and there is a fix of that nature– but this time, it's all about the APIs. Chrome Beta v44 adds a few new features for notifications and install banners, adds a new way to define names for object literals in Javascript, and makes a few breaking changes to the Push API.

What's New

Fix for multi-column layouts

From a user-facing standpoint, the only directly relatable change came to multi-column layouts in Chrome.

Read More
31

[Cool] This Nexus 4 Is Not An Image, It Was Created Entirely Using CSS And JavaScript

The Nexus 4 below was created without using any external images. Okay, the one below is actually just a screenshot of a Nexus 4 designed entirely using CSS and JavaScript, but the real deal is hosted over at CodePen. The smartphone is somewhat interactive - you don't have access to the home screen or the Play Store, but you can play around with the dialer. The tabs can be switched, even though they don't lead to anything for the time being. All of the code is visible for anyone who wants to see how the sauce is made.

CodePen2 CodePen1

The vast majority of the code consists of CSS.

Read More
65

Google No Longer Cares For WebKit Either, Apparently, Forking The Engine Into New Project Called 'Blink'

Man, WebKit cannot catch a break today, can it? After Samsung announced that it would be teaming up with Mozilla to build their own mobile browser engine called Servo, Google says its planning to fork WebKit to create a new project called Blink. Unlike Servo, this one will still be based on WebKit, but this new fork actually seems to be aimed not at competing with whatever Samsung is putting out, but rather at gaining freedom from another browser: Safari.

You see, Chrome doesn't actually use the entirety of WebKit. It mainly uses what's called WebCore, which handles HTML and CSS rendering.

Read More