Firefox Translations: restrict to version number
This commit is contained in:
parent
be0e44293d
commit
e7e50951c9
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ class FirefoxTranslations extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/firefox-translations/'))
|
||||
return $this->parse('/"version":"([\d\.a-z]+)"/');
|
||||
return $this->parse('/"version":"([\d\.]+)(buildid.*)?"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue