@shopngv – If you’re still looking for info about this script.
It’s the Diverse Solutions IDX mobile browser redirect script (info –
https://wiki.dsidxpress.com/mobile:redirecting-from-site )
Diverse say the script is supposed to be added to your theme manually in the HEADER or PAGE template used for your MLS listings.
I assume now you can’t find it in the template files so there’s something else going on.
I see the script you mention is just after this line in page source
<div id="dsidx" class="dsidx-details">
which is in the body section of the rendered page
This part of the IDX results detail is served from Diverse, not directly from your WordPress site. You’ll need to discuss this with Diverse Sol support if you still want to remove the script.
I’ve got the same thing with a client using this IDX, and also don’t have the script in the theme files at this time – if I do include it, then there’s duplicate scripts. So the only conclusion is the script is now being served from Diverse
Diverse provides a great IDX (in my opinion, one of the best) – but their code when used with a WordPress integration is awful. As an example, if you look at your page source for a listing, there’s meta tag stuff (unused in your case so only the “commented” placeholders for meta title <!– seo_title: “” –> and meta description <!– description: “” –> are added) just above the div id=”dsidx” which should be in the <head> not the <body> section of the rendered HTML
There’s errors in the placement of their Open Graph meta tags as well – also in the body section.
The rendered HTML errors are probably because the results served are nor specifically intended for WordPress only – more of a general fit-all for most CMS