• Stars
    star
    1,105
  • Rank 40,413 (Top 0.9 %)
  • Language
    JavaScript
  • License
    The Unlicense
  • Created over 13 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cross-browser element.classList

classList.js is a cross-browser JavaScript shim that fully implements element.classList. Refer to the MDN page on element.classList for more information.

This works in every browser except IE 7 or earlier.

classList.js is available on these public CDN URLs, allowing you to use this already small file at nearly zero size overhead.

If you would like other versions (such as the current one) hosted there, follow the instructions at https://github.com/jsdelivr/jsdelivr and https://github.com/cdnjs/cdnjs to prepare a pull request.

Tracking image

More Repositories

1

FileSaver.js

An HTML5 saveAs() FileSaver implementation
JavaScript
20,738
star
2

Blob.js

An HTML5 Blob implementation
JavaScript
1,141
star
3

canvas-toBlob.js

A canvas.toBlob() implementation
JavaScript
657
star
4

l10n.js

Passive localization JavaScript library
JavaScript
392
star
5

jsandbox

A JavaScript sandboxing library that uses web worker threads
JavaScript
190
star
6

color.js

Color management JavaScript libary
JavaScript
157
star
7

async-document-write

An asynchronous document.write implementation
JavaScript
65
star
8

pmxdr

Cross-domain XHR using postMessage
JavaScript
63
star
9

voice-search

Chrome extension for searching by speaking.
JavaScript
48
star
10

async.js

async/await before promises. async.js facilitates asynchronous actions ('promises') with synchronous-style syntax
JavaScript
41
star
11

timer.js

High-precision JavaScript timer
JavaScript
37
star
12

Xccessors

Xccessors (cross-browser accessors) is a JavaScript shim that implements the legacy or standard methods for defining and looking up accessors (getters and setters) of objects.
JavaScript
36
star
13

RetargetMouseScroll

A JavaScript library for retargetting mouse scroll events.
HTML
35
star
14

libxdr

A library that implements a cross-browser XDR constructor
JavaScript
27
star
15

hotlink.js

Hide image referrers
JavaScript
26
star
16

jData-host

jData host JavaScript library.
JavaScript
18
star
17

mumbl

A JavaScript library that abstracts audio-playing functionality of HTML5, Songbird, and SoundManager 2 for use in music playlists
JavaScript
17
star
18

tinylog

A minimalistic logging platform
JavaScript
17
star
19

reddit-bots

A collection of various reddit bots.
Python
17
star
20

emoji-favicon-toolkit

Emoji Favicon Toolkit - Set your favicon to emoji using canvas & cache as /favicon.ico with service workers
TypeScript
15
star
21

e4x.js

Implementation of all of the optional features in the ECMA-357 specification.
JavaScript
13
star
22

subscribe.js

An easy-to-use and highly extensible client-side notification-based feed reader Service Worker (coming soon!)
JavaScript
11
star
23

mutaprophylaxis

Methods for preventing unauthorized DOM mutations
JavaScript
10
star
24

code.eligrey.com-archive

Archive of code.eligrey.com
JavaScript
8
star
25

attrs

JavaScript 1.6+ library for setting DOM element attributes
JavaScript
7
star
26

chrome-enhanced-font-smoothing

Chrome extension that that improves font smoothing on Windows
CSS
6
star
27

CiteDrag

CiteDrag automatically cites data dragged from one website to a normal text input (ie. input type="text", textarea) or rich text input field (ie. Microsoft Word, contenteditable HTML elements, your blogging platform, etc.)
JavaScript
5
star
28

BlobBuilder.js

Moved to https://github.com/eligrey/Blob.js
4
star
29

js-iterators

A collection of iterator and generator-related JavaScript scripts.
JavaScript
4
star
30

http-index-format-automator

Generates application/http-index-format for directory listings
PHP
3
star
31

mixest-downloader

Adds download functionality to mixest.com.
JavaScript
3
star
32

jil

jData Interface Library (client JavaScript library)
JavaScript
3
star
33

myrandom.js

reddit's paywalled myrandom button, for everyone
JavaScript
2
star
34

e4x-array-methods.js

A JavaScript library that implements array methods for E4X XML. Intended for making XML easier to use with server-side JavaScript.
JavaScript
2
star
35

docswap

DOM document replacement tools
TypeScript
1
star
36

clipvertise

Use the clipboard for ads or something
1
star
37

speculative-request-control

Speculative Request Control explainer
Bikeshed
1
star