I have page on site with iframe.
iframe domain and my site domain are different.
In iframe on $(document).ready
executes ajax request. Response of this ajax request inserted into div.
Ajax response looks like:
<ul>
<li><a href="example.com/page-1">5 currency</a></li>
<li><a href="example.com/page-2">10 currency</a></li>
<li><a href="example.com/page-3">some other text</a></li>
<li><a href="example.com/page-4">5 currency</a></li>
<li><a href="example.com/page-3">some other text 2</a></li>
....
<li><a href="example.com/page-n">54 currency</a></li>
</ul>
I need to replace word currency
with currency2
.
I know that Same Origin Policy doesn't allow to change content using javascript.
Any way to do this using css? or any other way?
Thanks.