Googleは、ChromeブラウザでのUser-Agent文字列のサポートを終了することを決定した。代わりに、Chromeは、Client Hintsと呼ばれる新しいAPIを提供する。これにより、ユーザはWebサイトと共有する情報をより詳細に制御できる。
Googleは、ChromeブラウザでのUser-Agent文字列のサポートを終了することを決定した。代わりに、Chromeは、Client Hintsと呼ばれる新しいAPIを提供します。これにより、ユーザはWebサイトと共有する情報をより詳細に制御できる。
User-Agent文字列は、ブラウザがブラウザ名とそのバージョンを含む単純な文字列を単に送信した90年代初頭の人気のブラウザであるMosaicまで遡ることができる。文字列は_Mosaic/0.9_のように見え、ほとんど使用されていなかった。
数年後、Netscapeが登場したとき、User-Agent文字列を採用し、オペレーティングシステム、言語などの追加の詳細を追加した。これらの詳細は、Webサイトがユーザに適切なコンテンツを配信するのに役立った。User-Agent文字列によってブラウザを嗅ぎ分けられた。
MosaicとNetscapeは異なる機能セットをサポートしていたため、WebサイトはUser-Agent文字列を使用してブラウザ種別を決定し、サポートされていない機能(Netscapeでのみサポートされていたフレームなど)の使用を回避する必要があった。
List of some useful JavaScript Frameworks and libraries for website, web apps, and mobile apps development, that developers should know about to make selection easier.
JavaScript values are allocated when things are created (objects, Strings, etc.) and freed automatically when they are no longer used. This process is called Garbage collection.
JavaScript spread operator is one of the more popular features that were introduced in ES6. This tutorial will help you understand it. You will learn what spread operator is and how it works. You will also learn how to use it to copy and merge arrays and object literals, insert data and more.
JavaScript private class fields and methods are new features for classes. In this tutorial, you will learn all you need to know about them.
WeakMap allows you to add additional data into an Object that belongs to another or third-party code. With the special “weak” link feature of WeakMaps, we can make sure the data associated with this alien object, would only exist as long as the object is alive.