<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ajax e firefox]]></title><description><![CDATA[<p dir="auto">in questa pagina<br />
<a href="http://www.dueruoteitalia.com/add.php" rel="nofollow ugc">http://www.dueruoteitalia.com/add.php</a><br />
c'e' una funzione che dovrebbe estrarre in automatico i metatag da un sito.<br />
Con IE tutto funziona a regola d'arte mentre con Firefox non ne vuole sapere, oltre tutto anche altre cosette tipo alcuni menu' con firefox hanno problemi.<br />
In una pagina praticamente identica la stessa funzione (con gli stessi precisi .js) invece funziona:<br />
<a href="http://www.armchair.ie/add.php?cat=2" rel="nofollow ugc">http://www.armchair.ie/add.php?cat=2</a><br />
mentre quest'altra NO:<br />
<a href="http://www.zubba.de/add.php?cat=58" rel="nofollow ugc">http://www.zubba.de/add.php?cat=58</a></p>
<p dir="auto">Puo' dipendere dal server su cui sono residenti i siti? Ed eventualmente cosa puo' essere?</p>
<p dir="auto">Ho anche installato su firefox il debbugger javascript e mi ritorna questo errore...</p>
<p dir="auto">Exception ``ReferenceError: ActiveXObject is not defined'' thrown from function AjaxRequest(url=string:"ajax.php?cmd=fetch_meta&amp;url=<a href="http://www.mywebsite.com" rel="nofollow ugc">http://www.mywebsite.com</a>", callback_function=string:"UpdateForm") in &lt;<a href="http://www.dueruoteitalia.com/themes/frezz/ajax.js" rel="nofollow ugc">http://www.dueruoteitalia.com/themes/frezz/ajax.js</a>&gt; line 11.</p>
<p dir="auto">Qualche idea?</p>
<p dir="auto">Grazie mille <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/54a3bffb-5e4a-4eb8-81dc-99b2072e5d05-175.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--ciauz" style="height:1.4em;width:auto;vertical-align:middle" title=":ciauz:" alt="" /></p>
]]></description><link>https://dev.connect.gt/topic/35821/ajax-e-firefox</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 07:44:55 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/35821.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 May 2007 10:05:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ajax e firefox on Tue, 22 May 2007 17:31:12 GMT]]></title><description><![CDATA[<p dir="auto">Grazie a te per averci postato la soluzione al problema, che potrebbe essere d'aiuto per altri.</p>
<p dir="auto">Purtroppo non so spiegarti bene il motivo ma penso dipenda dai caratteri di escape presenti nei parametri passati tramite ajax</p>
]]></description><link>https://dev.connect.gt/post/511336</link><guid isPermaLink="true">https://dev.connect.gt/post/511336</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Tue, 22 May 2007 17:31:12 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Tue, 22 May 2007 06:09:56 GMT]]></title><description><![CDATA[<p dir="auto">Ho risolto!!!! <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /><br />
Aggiungendo nel file .htaccess il valore SecFilterEngine Off il problema è sparito.<br />
Mi piacerebbe capire come mai ma l'importante e' che ora funziona.<br />
Grazie della disponibilita'!</p>
]]></description><link>https://dev.connect.gt/post/511345</link><guid isPermaLink="true">https://dev.connect.gt/post/511345</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Tue, 22 May 2007 06:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Mon, 21 May 2007 15:27:07 GMT]]></title><description><![CDATA[<p dir="auto">Grazie, sono stato sino ad ora al telefono con il tecnico del server su cui e' hostato il mio sito e, nonostante abbia verificato direttamente che mentre eseguivo lo script con IE e Firefox uno funzionava e l'altro no, lui insiste che non puo' essere un problema di server.<br />
L'errore 403 esce ma i files sono tutti settati 777.... mi chiedeva il tecnico se per caso lo script fa chiamate diverse in funzione del browser utilizzato, ma veramente non mi pare (per quel poco che conosco il javascript).<br />
Lo script completo e' questo e la funzione incriminata e' la FetchMeta() funzione e' la seguente... altre idee? <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/f71a0c43-865f-4388-9868-8b387eebeeb1-mmmm.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--mmm" style="height:1.4em;width:auto;vertical-align:middle" title=":?" alt="" /></p>
<pre><code class="language-php">function AjaxRequest(url, callback_function) {
  var req = null;
  var msxmlhttp = new Array(
    'Msxml2.XMLHTTP.5.0',
    'Msxml2.XMLHTTP.4.0',
    'Msxml2.XMLHTTP.3.0',
    'Msxml2.XMLHTTP',
    'Microsoft.XMLHTTP');
  for (var i = 0; i &lt; msxmlhttp.length; i++) {
    try {
      req = new ActiveXObject(msxmlhttp[i]);
    } catch (e) {
      req = null;
    }
  }

  if(!req &amp;&amp; typeof XMLHttpRequest != "undefined") {
    req = new XMLHttpRequest();
  }
  if (req != null) {
    req.open("POST", url, true);
    req.onreadystatechange = function() {
      if ((req.readyState == 4) &amp;&amp; (req.status == 200)) {
        var json = req.responseText.parseJSON();
        var callback = callback_function + '(json)';
        eval(callback);
      }
    }
    req.send(null);
    delete req;
  }
  return true;
}

function UpdateForm(objects) {
  document.forms['add_frm']['fetch_meta'].disabled = false;
  for (var i in objects) {
    if (i != "toJSONString") {
      if (document.forms['add_frm'][i]) {
        document.forms['add_frm'][i].value = objects[i];
      }
    }
  }
}

function FetchMeta() {
  var url = document.forms['add_frm']['url'].value;
  document.forms['add_frm']['fetch_meta'].disabled = true;
  AjaxRequest('ajax.php?cmd=fetch_meta&amp;url=' + url, 'UpdateForm');
}

function UpdateSubCategory(objects) {
  document.getElementById(objects['div_tag']).innerHTML = objects['select_box'];
}

function FetchSubCategory(cat, selected_cat, div_tag) {
  document.getElementById(div_tag).innerHTML = "loading...";
  AjaxRequest('ajax.php?cmd=fetch_sub_category&amp;cat=' + cat + "&amp;selected_cat=" + selected_cat+ "&amp;div_tag=" + div_tag, 'UpdateSubCategory');
}

function UpdatePricing(objects) {
  document.getElementById("listing_type_div").innerHTML = objects;
}

function FetchPricing() {
  var cat = document.forms['add_frm']['cat'].options[document.forms['add_frm']['cat'].selectedIndex].value;
  var cat1 = document.forms['add_frm']['add_cat1'].options[document.forms['add_frm']['add_cat1'].selectedIndex].value;
  var cat2 = document.forms['add_frm']['add_cat2'].options[document.forms['add_frm']['add_cat2'].selectedIndex].value;
  if (document.forms['add_frm']['periodprice']) {
    var periodprice = document.forms['add_frm']['periodprice'].options[document.forms['add_frm']['periodprice'].selectedIndex].value;
  }
  document.getElementById("listing_type_div").innerHTML = "loading...";
  AjaxRequest('ajax.php?cmd=fetch_pricing&amp;cat=' + cat + "&amp;cat1=" + cat1 + "&amp;cat2=" + cat2 + "&amp;periodprice=" + periodprice, 'UpdatePricing');
}
</code></pre>
]]></description><link>https://dev.connect.gt/post/511344</link><guid isPermaLink="true">https://dev.connect.gt/post/511344</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Mon, 21 May 2007 15:27:07 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Mon, 21 May 2007 14:15:37 GMT]]></title><description><![CDATA[<p dir="auto">POST ajax.php?cmd=fetch_meta&amp;url=<a href="http://www.giorgiotave.it" rel="nofollow ugc">http://www.giorgiotave.it</a></p>
<p dir="auto">null</p>
<p dir="auto">403 (Forbidden)</p>
<p dir="auto">Date: Mon, 21 May 2007 13:13:25 GMT<br />
Server: Apache<br />
Content-Length: 282<br />
Connection: close<br />
Content-Type: text/html; charset=iso-8859-1</p>
<p dir="auto">&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;<br />
&lt;html&gt;&lt;head&gt;<br />
&lt;title&gt;403 Forbidden&lt;/title&gt;<br />
&lt;/head&gt;&lt;body&gt;<br />
&lt;h1&gt;Forbidden&lt;/h1&gt;<br />
&lt;p&gt;You don't have permission to access /ajax.php<br />
on this server.&lt;/p&gt;<br />
&lt;hr&gt;<br />
&lt;address&gt;Apache Server at <a href="http://www.dueruoteitalia.com" rel="nofollow ugc">www.dueruoteitalia.com</a> Port 80&lt;/address&gt;<br />
&lt;/body&gt;&lt;/html&gt;</p>
]]></description><link>https://dev.connect.gt/post/511334</link><guid isPermaLink="true">https://dev.connect.gt/post/511334</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Mon, 21 May 2007 14:15:37 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Mon, 21 May 2007 12:05:38 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Gorka</strong></p>
<p dir="auto">Ho fatto un debug con greasemonkey e xmlhttprequest debug, ecco il risultato:</p>
<p dir="auto">POST ajax.php?cmd=fetch_meta&amp;url=<a href="http://www.giorgiotave.it" rel="nofollow ugc">http://www.giorgiotave.it</a></p>
<p dir="auto">null</p>
<p dir="auto">505 (HTTP Version Not Supported)</p>
<p dir="auto">Date: Mon, 21 May 2007 10:25:24 GMT<br />
Server: NOYB<br />
Keep-Alive: timeout=15, max=93<br />
Connection: Keep-Alive<br />
Transfer-Encoding: chunked<br />
Content-Type: text/html; charset=iso-8859-1</p>
<p dir="auto">&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;<br />
&lt;HTML&gt;&lt;HEAD&gt;<br />
&lt;TITLE&gt;505 HTTP Version Not Supported&lt;/TITLE&gt;<br />
&lt;/HEAD&gt;&lt;BODY&gt;<br />
&lt;H1&gt;HTTP Version Not Supported&lt;/H1&gt;<br />
The server encountered an internal error or<br />
misconfiguration and was unable to complete<br />
your request.&lt;P&gt;<br />
Please contact the server administrator,<br />
<a href="mailto:root@ml11.de" rel="nofollow ugc">root@ml11.de</a> and inform them of the time the error occurred,<br />
and anything you might have done that may have<br />
caused the error.&lt;P&gt;<br />
More information about this error may be available<br />
in the server error log.&lt;P&gt;<br />
&lt;HR&gt;<br />
&lt;ADDRESS&gt;Apache/1.3.33 Server at <a href="http://www.zubba.de" rel="nofollow ugc">www.zubba.de</a> Port 80&lt;/ADDRESS&gt;<br />
&lt;/BODY&gt;&lt;/HTML&gt;</p>
</blockquote>
<p dir="auto">Gentilissimo! <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /><br />
Poiche' conosco i miei polli mi farebbe piacere che l'errore fosse quello che viene originato proprio dal server del mio provider e quindi quello che viene fuori da <a href="http://www.dueruoteitalia.com/add.php" rel="nofollow ugc">http://www.dueruoteitalia.com/add.php</a> .<br />
Non e' che saresti cosi' gentile da fare il debug su quell'indirizzo?<br />
Grazie ancora</p>
]]></description><link>https://dev.connect.gt/post/511343</link><guid isPermaLink="true">https://dev.connect.gt/post/511343</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Mon, 21 May 2007 12:05:38 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Mon, 21 May 2007 11:28:53 GMT]]></title><description><![CDATA[<p dir="auto">Ho fatto un debug con greasemonkey e xmlhttprequest debug, ecco il risultato:</p>
<p dir="auto">POST ajax.php?cmd=fetch_meta&amp;url=<a href="http://www.giorgiotave.it" rel="nofollow ugc">http://www.giorgiotave.it</a></p>
<p dir="auto">null</p>
<p dir="auto">505 (HTTP Version Not Supported)</p>
<p dir="auto">Date: Mon, 21 May 2007 10:25:24 GMT<br />
Server: NOYB<br />
Keep-Alive: timeout=15, max=93<br />
Connection: Keep-Alive<br />
Transfer-Encoding: chunked<br />
Content-Type: text/html; charset=iso-8859-1</p>
<p dir="auto">&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;<br />
&lt;HTML&gt;&lt;HEAD&gt;<br />
&lt;TITLE&gt;505 HTTP Version Not Supported&lt;/TITLE&gt;<br />
&lt;/HEAD&gt;&lt;BODY&gt;<br />
&lt;H1&gt;HTTP Version Not Supported&lt;/H1&gt;<br />
The server encountered an internal error or<br />
misconfiguration and was unable to complete<br />
your request.&lt;P&gt;<br />
Please contact the server administrator,<br />
<a href="mailto:root@ml11.de" rel="nofollow ugc">root@ml11.de</a> and inform them of the time the error occurred,<br />
and anything you might have done that may have<br />
caused the error.&lt;P&gt;<br />
More information about this error may be available<br />
in the server error log.&lt;P&gt;<br />
&lt;HR&gt;<br />
&lt;ADDRESS&gt;Apache/1.3.33 Server at <a href="http://www.zubba.de" rel="nofollow ugc">www.zubba.de</a> Port 80&lt;/ADDRESS&gt;<br />
&lt;/BODY&gt;&lt;/HTML&gt;</p>
]]></description><link>https://dev.connect.gt/post/511335</link><guid isPermaLink="true">https://dev.connect.gt/post/511335</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Mon, 21 May 2007 11:28:53 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Fri, 18 May 2007 12:12:38 GMT]]></title><description><![CDATA[<p dir="auto">Mi correggo ulteriormente, questo errore viene fuori anche con il sito in cui la funzione lavora correttamente, quindi pur non funzionando non credo che questi errori influiscano.<br />
Io non so che pesci prendere.... <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":-(" alt="😞" /></p>
]]></description><link>https://dev.connect.gt/post/511342</link><guid isPermaLink="true">https://dev.connect.gt/post/511342</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Fri, 18 May 2007 12:12:38 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Fri, 18 May 2007 11:31:50 GMT]]></title><description><![CDATA[<p dir="auto">Ho guardato quel post anche se le mie competenze non mi aiutano a capire granche' :bho:</p>
<p dir="auto">Ho anche rifatto il debug e l'errore preciso e' questo:</p>
<p dir="auto">Stopped for error handler.<br />
#0: function AjaxRequest(url=string:"ajax.php?cmd=fetch_meta&amp;url=<a href="http://www.dueruoteitalia.com/" rel="nofollow ugc">http://www.dueruoteitalia.com</a>", callback_function=string:"UpdateForm") in &lt;<a href="http://www.dueruoteitalia.com/themes/frezz/ajax.js" rel="nofollow ugc">http://www.dueruoteitalia.com/themes/frezz/ajax.js</a>&gt; line 11<br />
009:   for (var i = 0; i &lt; msxmlhttp.length; i++) {<br />
010:     try {<br />
<strong>011:       req = new</strong> **ActiveXObject(msxmlhttp[**<strong>i]);</strong><br />
012:     } catch (e) {<br />
013:       req = null;</p>
]]></description><link>https://dev.connect.gt/post/511341</link><guid isPermaLink="true">https://dev.connect.gt/post/511341</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Fri, 18 May 2007 11:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Fri, 18 May 2007 10:41:53 GMT]]></title><description><![CDATA[<p dir="auto">Dai un'occhiata a <a href="http://www.giorgiotave.it/forum/altri-linguaggi-per-il-web/38150-ajax-su-aruba.html" rel="nofollow ugc">questo topic</a>, sembra essere lo stesso problema</p>
]]></description><link>https://dev.connect.gt/post/511337</link><guid isPermaLink="true">https://dev.connect.gt/post/511337</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Fri, 18 May 2007 10:41:53 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Fri, 18 May 2007 10:36:44 GMT]]></title><description><![CDATA[<p dir="auto">Per tagliare la testa al toro ho provato a inserire come sito da cui estrarre i metatag lo stesso da cui inserisco il form e... stesso problema!</p>
]]></description><link>https://dev.connect.gt/post/511340</link><guid isPermaLink="true">https://dev.connect.gt/post/511340</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Fri, 18 May 2007 10:36:44 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Fri, 18 May 2007 10:34:55 GMT]]></title><description><![CDATA[<p dir="auto">L'ho ipotizzato anche io, ma perche' allora a parita' di condizioni uno dei link funziona?<br />
L'unica cosa diversa e' il server su cui e' fisicamente hostato il sito... <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/f71a0c43-865f-4388-9868-8b387eebeeb1-mmmm.gif?v=12b9555a9a1" class="not-responsive emoji emoji-customizations emoji--mmm" style="height:1.4em;width:auto;vertical-align:middle" title=":?" alt="" /></p>
<p dir="auto">grazie</p>
]]></description><link>https://dev.connect.gt/post/511339</link><guid isPermaLink="true">https://dev.connect.gt/post/511339</guid><dc:creator><![CDATA[horusbird]]></dc:creator><pubDate>Fri, 18 May 2007 10:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to ajax e firefox on Fri, 18 May 2007 10:30:33 GMT]]></title><description><![CDATA[<p dir="auto">Firefox blocca i js che tentano di accedere ad altri domini, potrebbe essere il tuo caso?</p>
]]></description><link>https://dev.connect.gt/post/511338</link><guid isPermaLink="true">https://dev.connect.gt/post/511338</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Fri, 18 May 2007 10:30:33 GMT</pubDate></item></channel></rss>