-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Windows CE browsers #156
Conversation
@karpour this looks good to me - happy to add support for those browsers. Prior to merging this in could you remove the |
Should be good now, package-lock.json is gone. |
@DamonOehlman I merged with master and resolved conflicts. |
@karpour - awesome - merging it in. |
And published as |
['pie',/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/], | ||
['pie',/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/], | ||
['netfront',/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing spaces here
Windows CE remains used to this day on legacy systems, so adding support for these browsers still makes sense. This PR adds support for all versions of Pocket Internet Explorer, which is included in the ROM of pretty much every Windows CE device, as well as the Japanese NetFront browser, which was also popular on Windows CE, among other portable devices and game consoles.
User Agents used for testing:
Microsoft Pocket Internet Explorer/0.6
Mozilla/1.1 (compatible; MSPIE 1.1; Windows CE)
Mozilla/1.1 (compatible; MSPIE 2.0; Windows CE)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE)
Mozilla/4.0 (compatible; MSIE 4.01; Windows NT Windows CE)
Mozilla/4.0 (compatible; MSIE 4.01; Windows NT Windows CE; 800x480)
Mozilla/4.0 (compatible; MSIE 5.5; Windows CE)
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE)
Mozilla/2.0 (compatible; MSInternet Explorer 3.02; Windows CE; 240x320)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; javascript; 240x320)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; 240x320)
Mozilla/4.0 (PDA; Windows CE;1.0.0) NetFront/3.0
Mozilla/4.08 (PDA; Windows CE;1.0.0) NetFront/3.1
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; Smartphone; javascript; *)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; Smartphone; 176x220)
Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; Smartphone; *)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone; 176x220; SPV C500; OpVer 4.1.1.0)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone; 176x220; SPV C500; OpVer 4.1.3.0)
Mozilla/4.0 (PDA; Windows CE;0.9.3) NetFront/3.0
Mozilla/4.0 (PDA; Windows CE;1.0.1) NetFront/3.0