Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Outgoing rule that can handle more than one occurance in a tag

$
0
0

Hi

Is there a possibility to have an outgoing rule that can handle more than one occurance of a link in a tag and in javascript?

I have just installed ARR and have it up and running, which was quite straight forward for some small web applications running on the backend server.

But then there two old more complex applications with a lot of javascript and AJAX everywhere.

I'm trying to change all occurances for http://192.168.1.26 to https://mysite.com but right now I'm stuck with replacing one occurance on every tag that I define, except for the predefined.

I can't change anything in the applications and I don't now how many occurances there can be in one statement as the application is quite dynamic and I'm definitely not a master on regexp.

Here are a part of a webpage that havn't been affected:

<script language="Javascript" type="text/javascript">     

function uploadImage()

{

document.getElementById("SaveEng").action = http://192.168.1.26/MyApp?c=UpImg&amp;cls=Art&amp;fps=search;

document.getElementById("SaveEng").onsubmit = "";

doument.getElementById("SaveEng").submit();

}

function showHelp()

{

if (document.all)

window.showModalDialog("http://192.168.1.26/MyApp?n=nsh&amp;helpNumber=6","Help","dialogWidth=400px,dialogHeight=500px");

else

window.open("http://192.168.1.26/MyApp?n=nsh&amp;helpNumber=6","Help","width=400px,height=500px,location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes");

Performance is not an issue, as it's better to have it working than have good performance on an unused server.

/ Fredrik


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>