GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BaseMax/BrowserFeaturesJs: Tiny Library for browser features detection.

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
BrowserFeatures.js
BrowserFeatures.js
 
 
BrowserFeatures.min.js
BrowserFeatures.min.js
 
 
Example.html
Example.html
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

BrowserFeatures

Tiny Library for browser features detection.

ChangeNumbers.min.js File Size ChangeNumbers.min.js Validation Code

Features

  • Easy
  • Compact
  • No dependencies

How to Use?

you can access to result of detect and check from variable.

type of all variable is bool.

list of variables :

Variables Goal
browser.function_generator
browser.function_async
browser.function_generator_async
browser.event_target
browser.data_transfer_item
browser.data_transfer_item_list
browser.broad_cast_channel
browser.viewport
browser.font
browser.custom_element
browser.animate
browser.svg
browser.touch
browser.webgl

Samples

To view the full details, run the Example.html file.

Example :

<script type="text/javascript" src="BrowserFeatures.min.js"></script>
<script type="text/javascript">
window.addEventListener("load",function()
{
    document.write("<b>" + "FunctionGenerator" + "</b> : " + browser.function_generator + "<br>");
    document.write("<b>" + "FunctionAsync" + "</b> : " + browser.function_async + "<br>");
    document.write("<b>" + "FunctionGeneratorAsync" + "</b> : " + browser.function_generator_async + "<br>");
    document.write("<b>" + "EventTarget" + "</b> : " + browser.event_target + "<br>");
    document.write("<b>" + "DataTransferItem" + "</b> : " + browser.data_transfer_item + "<br>");
    document.write("<b>" + "DataTransferItemList" + "</b> : " + browser.data_transfer_item_list + "<br>");
    document.write("<b>" + "BroadCastChannel" + "</b> : " + browser.broad_cast_channel + "<br>");
    document.write("<b>" + "ViewPort" + "</b> : " + browser.viewport + "<br>");
    document.write("<b>" + "Font" + "</b> : " + browser.font + "<br>");
    document.write("<b>" + "CustomElement" + "</b> : " + browser.custom_element + "<br>");
    document.write("<b>" + "Animate" + "</b> : " + browser.animate + "<br>");
    document.write("<b>" + "SVG" + "</b> : " + browser.svg + "<br>");
    document.write("<b>" + "Touch" + "</b> : " + browser.touch + "<br>");
    document.write("<b>" + "WebGL" + "</b> : " + browser.webgl + "<br>");
});
</script>

Output of Example :

FunctionGenerator : true
FunctionAsync : true
FunctionGeneratorAsync : false
EventTarget : true
DataTransferItem : true
DataTransferItemList : true
BroadCastChannel : true
ViewPort : false
Font : true
CustomElement : true
Animate : false
SVG : true
Touch : false
WebGL : true

The output may be specific to different browsers and systems.

License

BrowserFeatures is licensed under the GNU General Public License.

About

Tiny Library for browser features detection.

Topics

browserbrowser-automationbrowser-detectionhtmljavascriptjavascript-libjavascript-libraryjsjs-libraryjs-libspurejs

Resources

Readme
GPL-3.0 license
Activity

Stars

17 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.