I am using a service, breezy.hr for hiring, and they don't give me access to the HTML, they only let me add js to a script in their GUI and it shows up in the website code as below, towards the end of the body.
<script>
document.title = 'Hiring - Eastern Union';
document.getElementsByTagName("a")[7].innerHTML = "<a href='/p/2066e45ed47a-commercial-real-estate-mortgage-broker/apply'><button class='button apply polygot button-right bzyButtonColor'>Apply</button><h2>Commercial Real Estate Mortgage Broker</h2><ul class='meta'><li class='location'><i class='fa fa-wifi'></i><span class='polygot'>Remote OK</span></li><li class='type'><i class='fa fa-building'></i><span class='polygot'>Full-Time</span></li><li class='department'><i class='fa fa-building'></i><span>Multi-Family Group</span></li></ul><button class='button apply polygot button-full bzyButtonColor'>Apply</button><\a>";
</script>
The problem is that when I use the inner.html command to edit the HTML, it applies to subpages, which have different elements, and it therefor ruins the subpage. Is there a way to limit the edits to the parent page, as well as apply things just to the subpage? (excuse my terminology, I'm not trained in HTML or js, I've just been using it for this one project)