elm-detector elm-detector

Developer Tools
Version: 1.0
Last Update: 2016-06-08

Overview

elm-detector is a Chrome extension developed by ronn.ross. According to the data from Chrome web store, current version of elm-detector is 1.0, updated on 2016-06-08.
71 users have installed this extension. 2 users have rated this extension with an average rating of .

Detects Elm apps as you browse.

Chrome extension that detects Elm apps as you browse

Rating

2 ratings

Total Installs

71

Information

Last Update

2016-06-08

Current Version

1.0

Size

126KiB

Author

ronn.ross

Website

None

Category

Developer Tools

Latest Reviews

See More

avatar Gabriel Robertson
2016-09-07

Does not seem to catch sites that use Elm in embed mode, which is more common in my experience thus far.

EDIT: It only detects elm when it exists on `window.Elm`, which is not done when it is compiled in ES6+ mode, which most sites do now. A better way would be to check that, and if it fails then iterate through the module list to see if (in the general case) any of the modules in `window.require.list()` (if window.require exists and window.require.list exists) end in ".elm". That would not catch if it is not being loaded but only if elm was used in the build at all, but would be a good fallback.

avatar Matthew McFarland
2016-04-20

Works great!

avatar Gabriel Robertson
2016-09-07

Does not seem to catch sites that use Elm in embed mode, which is more common in my experience thus far.

EDIT: It only detects elm when it exists on `window.Elm`, which is not done when it is compiled in ES6+ mode, which most sites do now. A better way would be to check that, and if it fails then iterate through the module list to see if (in the general case) any of the modules in `window.require.list()` (if window.require exists and window.require.list exists) end in ".elm". That would not catch if it is not being loaded but only if elm was used in the build at all, but would be a good fallback.

avatar Matthew McFarland
2016-04-20

Works great!

avatar Gabriel Robertson
2016-09-07

Does not seem to catch sites that use Elm in embed mode, which is more common in my experience thus far.

EDIT: It only detects elm when it exists on `window.Elm`, which is not done when it is compiled in ES6+ mode, which most sites do now. A better way would be to check that, and if it fails then iterate through the module list to see if (in the general case) any of the modules in `window.require.list()` (if window.require exists and window.require.list exists) end in ".elm". That would not catch if it is not being loaded but only if elm was used in the build at all, but would be a good fallback.