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.ControlLooksLikeCreditCardNumberField))
|
||||
) {
|
||||
if (
|
||||
!(
|
||||
if (!(
|
||||
U.ControlLooksLikeDayField ||
|
||||
U.ControlLooksLikeMonthField ||
|
||||
U.ControlLooksLikeYearField ||
|
||||
U.ControlLooksLikeCreditCardCompositeExpirationDateField
|
||||
)
|
||||
) {
|
||||
)) {
|
||||
if (U.ControlLooksLikePasswordCredentialField) {
|
||||
if (
|
||||
U.ControlLooksLikeCreditCardSecurityCodeField ||
|
||||
@@ -3871,12 +3869,10 @@ class FormMetadata {
|
||||
p = !1;
|
||||
continue;
|
||||
}
|
||||
if (
|
||||
!(
|
||||
if (!(
|
||||
x + 1 < M &&
|
||||
this._matchesConfirmEmailFieldLabelPattern(u[x + 1])
|
||||
)
|
||||
)
|
||||
))
|
||||
continue;
|
||||
p = !0;
|
||||
}
|
||||
|
||||
@@ -1079,12 +1079,9 @@ const TweetURLRegex =
|
||||
c = null;
|
||||
for (a = 0; a < s; ++a) {
|
||||
var u = l[a];
|
||||
if (
|
||||
!(
|
||||
c &&
|
||||
c.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_CONTAINED_BY
|
||||
)
|
||||
) {
|
||||
if (!(
|
||||
c && c.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_CONTAINED_BY
|
||||
)) {
|
||||
var m = u.getElementsByTagName("li"),
|
||||
d = m.length,
|
||||
h = cachedElementBoundingRect(u);
|
||||
@@ -4631,13 +4628,11 @@ const TweetURLRegex =
|
||||
var d = cachedElementBoundingRect(s);
|
||||
((c = d.width), (m = d.height));
|
||||
}
|
||||
if (
|
||||
!(
|
||||
if (!(
|
||||
c < r.minimumWidth ||
|
||||
m < r.minimumHeight ||
|
||||
c * m < r.minimumArea
|
||||
)
|
||||
) {
|
||||
)) {
|
||||
var h = this.elementContainsEnoughTextOfSameStyle(s, e, i);
|
||||
if (
|
||||
(e.add(s),
|
||||
|
||||
Reference in New Issue
Block a user