I have a JS which works fine. I call it from my HTML page using the standard following metatag :
<script src="js/my_script.js"></script>
The fact is I would like my_script.js NOT to be called/load if the page is read from a Mozilla Firefox browser...
Is it possible to do that ? And if so, may I ask how ?
PS - I tried to condition the loading of my_script.js the following way, for example (it didn't work) :
<script>
if($.browser.mozilla) {
jQuery.getScript("js/blank_script.js");
} else {
jQuery.getScript("js/my_script.js");
}
</script>