mirror of
https://github.com/NohamR/safari-internal-js.git
synced 2026-10-10 18:39:42 +00:00
prettify
This commit is contained in:
@@ -3847,14 +3847,12 @@ class FormMetadata {
|
|||||||
(!U.ControlLooksLikeCreditCardCardholderField &&
|
(!U.ControlLooksLikeCreditCardCardholderField &&
|
||||||
!U.ControlLooksLikeCreditCardNumberField))
|
!U.ControlLooksLikeCreditCardNumberField))
|
||||||
) {
|
) {
|
||||||
if (
|
if (!(
|
||||||
!(
|
|
||||||
U.ControlLooksLikeDayField ||
|
U.ControlLooksLikeDayField ||
|
||||||
U.ControlLooksLikeMonthField ||
|
U.ControlLooksLikeMonthField ||
|
||||||
U.ControlLooksLikeYearField ||
|
U.ControlLooksLikeYearField ||
|
||||||
U.ControlLooksLikeCreditCardCompositeExpirationDateField
|
U.ControlLooksLikeCreditCardCompositeExpirationDateField
|
||||||
)
|
)) {
|
||||||
) {
|
|
||||||
if (U.ControlLooksLikePasswordCredentialField) {
|
if (U.ControlLooksLikePasswordCredentialField) {
|
||||||
if (
|
if (
|
||||||
U.ControlLooksLikeCreditCardSecurityCodeField ||
|
U.ControlLooksLikeCreditCardSecurityCodeField ||
|
||||||
@@ -3871,12 +3869,10 @@ class FormMetadata {
|
|||||||
p = !1;
|
p = !1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (
|
if (!(
|
||||||
!(
|
|
||||||
x + 1 < M &&
|
x + 1 < M &&
|
||||||
this._matchesConfirmEmailFieldLabelPattern(u[x + 1])
|
this._matchesConfirmEmailFieldLabelPattern(u[x + 1])
|
||||||
)
|
))
|
||||||
)
|
|
||||||
continue;
|
continue;
|
||||||
p = !0;
|
p = !0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1079,12 +1079,9 @@ const TweetURLRegex =
|
|||||||
c = null;
|
c = null;
|
||||||
for (a = 0; a < s; ++a) {
|
for (a = 0; a < s; ++a) {
|
||||||
var u = l[a];
|
var u = l[a];
|
||||||
if (
|
if (!(
|
||||||
!(
|
c && c.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_CONTAINED_BY
|
||||||
c &&
|
)) {
|
||||||
c.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_CONTAINED_BY
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
var m = u.getElementsByTagName("li"),
|
var m = u.getElementsByTagName("li"),
|
||||||
d = m.length,
|
d = m.length,
|
||||||
h = cachedElementBoundingRect(u);
|
h = cachedElementBoundingRect(u);
|
||||||
@@ -4631,13 +4628,11 @@ const TweetURLRegex =
|
|||||||
var d = cachedElementBoundingRect(s);
|
var d = cachedElementBoundingRect(s);
|
||||||
((c = d.width), (m = d.height));
|
((c = d.width), (m = d.height));
|
||||||
}
|
}
|
||||||
if (
|
if (!(
|
||||||
!(
|
|
||||||
c < r.minimumWidth ||
|
c < r.minimumWidth ||
|
||||||
m < r.minimumHeight ||
|
m < r.minimumHeight ||
|
||||||
c * m < r.minimumArea
|
c * m < r.minimumArea
|
||||||
)
|
)) {
|
||||||
) {
|
|
||||||
var h = this.elementContainsEnoughTextOfSameStyle(s, e, i);
|
var h = this.elementContainsEnoughTextOfSameStyle(s, e, i);
|
||||||
if (
|
if (
|
||||||
(e.add(s),
|
(e.add(s),
|
||||||
|
|||||||
Reference in New Issue
Block a user