Created
October 2, 2019 14:36
-
-
Save erikpantzar/d634e413b8805ba9281f97099d13ac19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doIt() { | |
var url = window.location.href | |
var findURL = '/bestill-fly' | |
if (url.indexOf(findURL)) { | |
var newCopyFlightOnly = document.querySelector("#search-tabs > ul > li:nth-child(3) > a > span") | |
newCopyFlightOnly.innerText = 'Fly' | |
} else { | |
console.log('FEL') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment