Update support for several browsers and HTML viewer (#1121)

* Update accessibility support for Via browser

* Add Via browser (CN) & HTML viewer to AutofillHelpers

* Add Via browser (CN) & HTML viewer to autofillservice

* Add browsers to AccessibilityHelpers

* Add browsers to AutofillHelpers

* Add browsers to autofillservice
This commit is contained in:
stevenlele 2020-10-21 21:10:31 +08:00 committed by GitHub
parent b2eee8bde7
commit 97aa974443
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 4 deletions

View file

@ -50,6 +50,8 @@ namespace Bit.Droid.Accessibility
new Browser("com.google.android.apps.chrome_dev", "url_bar"), new Browser("com.google.android.apps.chrome_dev", "url_bar"),
new Browser("com.kiwibrowser.browser", "url_bar"), new Browser("com.kiwibrowser.browser", "url_bar"),
new Browser("com.microsoft.emmx", "url_bar"), new Browser("com.microsoft.emmx", "url_bar"),
new Browser("com.mmbox.browser", "search_box"),
new Browser("com.mmbox.xbrowser", "search_box"),
new Browser("com.naver.whale", "url_bar"), new Browser("com.naver.whale", "url_bar"),
new Browser("com.opera.browser", "url_field"), new Browser("com.opera.browser", "url_field"),
new Browser("com.opera.browser.beta", "url_field"), new Browser("com.opera.browser.beta", "url_field"),
@ -66,11 +68,13 @@ namespace Bit.Droid.Accessibility
new Browser("com.vivaldi.browser.sopranos", "url_bar"), new Browser("com.vivaldi.browser.sopranos", "url_bar"),
new Browser("com.yandex.browser", "bro_omnibar_address_title_text,bro_omnibox_collapsed_title", new Browser("com.yandex.browser", "bro_omnibar_address_title_text,bro_omnibox_collapsed_title",
(s) => s.Split(new char[]{' ', ' '}).FirstOrDefault()), // 0 = Regular Space, 1 = No-break space (00A0) (s) => s.Split(new char[]{' ', ' '}).FirstOrDefault()), // 0 = Regular Space, 1 = No-break space (00A0)
new Browser("com.z28j.feel", "g2"), // "g2" for version 0.9.8.4 (984)
new Browser("idm.internet.download.manager", "search"), new Browser("idm.internet.download.manager", "search"),
new Browser("idm.internet.download.manager.adm.lite", "search"), new Browser("idm.internet.download.manager.adm.lite", "search"),
new Browser("idm.internet.download.manager.plus", "search"), new Browser("idm.internet.download.manager.plus", "search"),
new Browser("io.github.forkmaintainers.iceraven", "mozac_browser_toolbar_url_view"), new Browser("io.github.forkmaintainers.iceraven", "mozac_browser_toolbar_url_view"),
new Browser("mark.via.gp", "aw"), new Browser("mark.via", "o"), // "o" for version 4.0.7 (20200929)
new Browser("mark.via.gp", "o"), // "o" for version 4.0.7 (20200929)
new Browser("org.adblockplus.browser", "url_bar,url_bar_title"), // 2nd = Legacy (before v2) new Browser("org.adblockplus.browser", "url_bar,url_bar_title"), // 2nd = Legacy (before v2)
new Browser("org.adblockplus.browser.beta", "url_bar,url_bar_title"), // 2nd = Legacy (before v2) new Browser("org.adblockplus.browser.beta", "url_bar,url_bar_title"), // 2nd = Legacy (before v2)
new Browser("org.bromite.bromite", "url_bar"), new Browser("org.bromite.bromite", "url_bar"),

View file

@ -41,6 +41,7 @@ namespace Bit.Droid.Autofill
"com.amazon.cloud9", "com.amazon.cloud9",
"com.android.browser", "com.android.browser",
"com.android.chrome", "com.android.chrome",
"com.android.htmlviewer",
"com.avast.android.secure.browser", "com.avast.android.secure.browser",
"com.avg.android.secure.browser", "com.avg.android.secure.browser",
"com.brave.browser", "com.brave.browser",
@ -56,6 +57,8 @@ namespace Bit.Droid.Autofill
"com.google.android.apps.chrome_dev", "com.google.android.apps.chrome_dev",
"com.kiwibrowser.browser", "com.kiwibrowser.browser",
"com.microsoft.emmx", "com.microsoft.emmx",
"com.mmbox.browser",
"com.mmbox.xbrowser",
"com.naver.whale", "com.naver.whale",
"com.opera.browser", "com.opera.browser",
"com.opera.browser.beta", "com.opera.browser.beta",
@ -71,10 +74,12 @@ namespace Bit.Droid.Autofill
"com.vivaldi.browser.snapshot", "com.vivaldi.browser.snapshot",
"com.vivaldi.browser.sopranos", "com.vivaldi.browser.sopranos",
"com.yandex.browser", "com.yandex.browser",
"com.z28j.feel",
"idm.internet.download.manager", "idm.internet.download.manager",
"idm.internet.download.manager.adm.lite", "idm.internet.download.manager.adm.lite",
"idm.internet.download.manager.plus", "idm.internet.download.manager.plus",
"io.github.forkmaintainers.iceraven", "io.github.forkmaintainers.iceraven",
"mark.via",
"mark.via.gp", "mark.via.gp",
"org.adblockplus.browser", "org.adblockplus.browser",
"org.adblockplus.browser.beta", "org.adblockplus.browser.beta",

View file

@ -19,6 +19,9 @@
<compatibility-package <compatibility-package
android:name="com.android.chrome" android:name="com.android.chrome"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.android.htmlviewer"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="com.avast.android.secure.browser" android:name="com.avast.android.secure.browser"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
@ -64,6 +67,12 @@
<compatibility-package <compatibility-package
android:name="com.microsoft.emmx" android:name="com.microsoft.emmx"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.mmbox.browser"
android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.mmbox.xbrowser"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="com.naver.whale" android:name="com.naver.whale"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
@ -109,6 +118,9 @@
<compatibility-package <compatibility-package
android:name="com.yandex.browser" android:name="com.yandex.browser"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="com.z28j.feel"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="idm.internet.download.manager" android:name="idm.internet.download.manager"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
@ -121,6 +133,9 @@
<compatibility-package <compatibility-package
android:name="io.github.forkmaintainers.iceraven" android:name="io.github.forkmaintainers.iceraven"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>
<compatibility-package
android:name="mark.via"
android:maxLongVersionCode="10000000000"/>
<compatibility-package <compatibility-package
android:name="mark.via.gp" android:name="mark.via.gp"
android:maxLongVersionCode="10000000000"/> android:maxLongVersionCode="10000000000"/>