
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
early.js is a bunch of third-party JS libraries is meant to be included first in your HTML markup
A JS bundle to be included first.
This bunch of third‒party JS libraries is meant to be included first in your HTML markup and helps to:
When using CDN version, external links will be opened in new tabs, and user OS and browser info gets added to document title.
You can safely remove lines of code, that are responsible for this behaviour, and load modified script locally.
npm install early.js
bower install early.js
This should be included before loading jQuery, its pluguins, or any other JS library.
<script src="early.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/yepnope/1.5.4/yepnope.min.js"></script>
<script>
yepnope.injectJs("//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js", function () {
("undefined" !== typeof earlyIsMobileBrowser && earlyIsMobileBrowser) || yepnope.injectJs("//cdn.jsdelivr.net/parallax/1.1.1/jquery.parallax.min.js", function () {
(function (b, a) {
b && a && a.parallax()
})($.fn.parallax || "", $("#scene1") || "");
}, {
charset : "utf-8"
}, 5E3);
}, {
charset : "utf-8"
}, 5E3);
</script>
The following third-party libraries are included in the bundle:
The bundle initializes the following variables:
var earlyDeviceType String ["tv", "tablet", "mobile", "desktop"]
var earlyDeviceModel String ["smartTv", "gameConsole", "ipad", "android", "kindle", "blackberry", "crawler"]
var earlyDeviceOrientation String ["portrait", "landscape"]
var earlyBrowser String ["chrome", "firefox", "ie", "iron", "konqueror", "opera", "safari"]
var earlyBrowserVersion String
var earlyBrowserEngine String ["gecko", "presto", "trident", "webkit"]
var earlyOs String ["ios", "android", "blackberry", "windows", "mac", "webtv", "linux", "sun", "irix", "freebsd", "bsd"]
var earlyOsVersion String ["ios", "8", "8.1", "8", "7", "vista", "xp", "2k", "nt", "98", "95", "68k", "ppc", "os x"]
var earlyFnGetYyyymmdd String "YYYY-MM-DD"
var earlyIsMobileBrowser Integer [1:!1]
var earlyDocumentReferrer String
var earlyWindowLocation String
var earlySelfLocationHost String
var earlyDevicePixelRatio Number
var earlyDeviceWidth Number
var earlyIsRetina Integer [1:""]
var earlyHasCssgradients Integer [1:""]
var earlyHasTouch Integer [1:""]
var earlyDeviceHeight Number
var earlyDocumentTitle String
Icon made by Stephen Hutchings is licensed under CC BY 3.0
© englishextra.github.com, 2015
FAQs
early.js is a bunch of third-party JS libraries is meant to be included first in your HTML markup
The npm package early.js receives a total of 2 weekly downloads. As such, early.js popularity was classified as not popular.
We found that early.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.