|
|
@ -245,7 +245,7 @@ class Driver {
|
|
|
|
browser.links, (results, link) => {
|
|
|
|
browser.links, (results, link) => {
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
results
|
|
|
|
results
|
|
|
|
&& Object.prototype.hasOwnProperty.call(results, 'push')
|
|
|
|
&& Object.prototype.hasOwnProperty.call(Object.getPrototypeOf(results), 'push')
|
|
|
|
&& link.protocol
|
|
|
|
&& link.protocol
|
|
|
|
&& link.protocol.match(/https?:/)
|
|
|
|
&& link.protocol.match(/https?:/)
|
|
|
|
&& link.rel !== 'nofollow'
|
|
|
|
&& link.rel !== 'nofollow'
|
|
|
|