Skip to content
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

Merged
merged 9 commits into from Dec 4, 2021

Conversation

karpour
Copy link
Contributor

@karpour karpour commented Dec 11, 2020

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

@DamonOehlman
Copy link
Owner

@karpour this looks good to me - happy to add support for those browsers. Prior to merging this in could you remove the package-lock.json file from the PR please? I think if I'm going to add a lock file into the repo to properly support npm locks, then it should probably be done in a separate PR.

@DamonOehlman DamonOehlman mentioned this pull request Dec 14, 2020
@karpour
Copy link
Contributor Author

karpour commented Dec 17, 2020

Should be good now, package-lock.json is gone.

@karpour
Copy link
Contributor Author

karpour commented Dec 4, 2021

@DamonOehlman I merged with master and resolved conflicts.

@DamonOehlman
Copy link
Owner

@karpour - awesome - merging it in.

@DamonOehlman DamonOehlman merged commit 05a876c into DamonOehlman:master Dec 4, 2021
@DamonOehlman
Copy link
Owner

And published as 5.3.0

Comment on lines +157 to +159
['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)/],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing spaces here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants