seiflotfy / compatipede

Automating Compatibility
Mozilla Public License 2.0
5 stars 3 forks source link

Add plugin to detect WPTouch (and version). #22

Closed miketaylr closed 10 years ago

miketaylr commented 10 years ago

In the future, when WPTouch actually supports FxOS, we can tweak the regex to only match for versions lower than whatever the working version will be.

Some notes to explain the version tests here:

1.1, 1.2

1.3

1.4, 1.5, 1.6, 1.7, 1.8

1.9

(according to the change log, there were no 2.x releases?)

3.1.1

hallvors commented 10 years ago

correct with the double escaping! I'm not sure if injectionTime:start looks good though - this script digs through the DOM so I guess "load" is a better timing?

miketaylr commented 10 years ago

Ah, good point.