https://github.com/browserstack/flashblock-detector
Flash blocking plugin detector
https://github.com/browserstack/flashblock-detector
Last synced: 11 months ago
JSON representation
Flash blocking plugin detector
- Host: GitHub
- URL: https://github.com/browserstack/flashblock-detector
- Owner: browserstack
- Created: 2012-10-05T12:29:11.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-07-03T12:20:06.000Z (over 2 years ago)
- Last Synced: 2025-04-22T21:07:14.477Z (11 months ago)
- Language: JavaScript
- Size: 134 KB
- Stars: 17
- Watchers: 28
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flashblock Detector
Flash Block Detector is a lightweight JQuery file which detects if Flash is disabled on a browser. The function expects a callback function to execute. It calls function with an integer argument, where:
0 - all well
1 - flash is not installed
2 - some flashblocker plugin is enabled
### Usage
Just include the `flashblock-detector.js` file in the title of your page and call the flashBlockDetect() function on window.load().
### Flash blockers covered
#### Mac:
* Chrome
1. Flashblock
2. AdBlock Pro
* Firefox
1. Flashblock 1.5.15.1
* Safari
1. ClickToFlash
#### Windows:
* IE
1. Shockwave Player disabled on IE
2. AdBlock