Clickable smrtPhone Links

Make Google Maps and Zillow links clickable

07.11.2021 itibariyledir. En son verisyonu görün.

// ==UserScript==
// @name Clickable smrtPhone Links
// @description Make Google Maps and Zillow links clickable
// @include https://phone.smrt.studio/*
// @include https://cdn.smrtphone.io/*
// @include https://*
// @grant none
// @version 0.0.1.20211107015411
// @namespace https://greasyfork.org/users/832223
// ==/UserScript==
var extraFields = document.querySelectorAll("tr.extra-fields-row")
extraFields.forEach(function(extraField) {
    console.log("Before If");
    if ( extraField.innerHTML.includes("https:") ) {
        console.log("Inside If");
        var xInnerHTML = ""
        xInnerHTML = extraField.innerHTML
        xInnerHTML = xInnerHTML.replace( "<span.*<\/span>", "")
        //extraField.innerHTML = xInnerHTML
        extraField.innerHTML = "found https"
    }
});