搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Request aborted for some reason

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 the-edmeister

more options

Hey

I recently noticed very strange behavior of specific code. It seems to be Firefox specific, and hard to debug. I prepared set of demo pages. All of these demos work properly in Chrome and there are some issues in Firefox.

Example 1 loads the ads after clicking on the button, instead of loading them immediately. Only one of those two method works in Firefox.

Example 2 loads the ad immediately using postscribe, what works fine in all browsers, even Firefox.

The same code works fine if called immediately, doesn't work if called after some delay (even if 100ms).


The ad loading implementation has two steps: 1. Loading main script with all ad slots definitions and with googletag main script 2. Loading single ad slots scripts, they are rather simply - googletag.display() call mainly

See the example: http://jsfiddle.net/5xunxpmL/

This one calls postscribe immediately (exactly the same method like previously, but without any timeout): http://jsfiddle.net/5xunxpmL/1/

Could you please check if you can observe the same issue in Firefox? The actual ad request is getting aborted in Firefox for some reason, and the creative is never fetched. GET ads?gdfp_req=1&correlato...588686&ga_hid=772171976 Aborted

I can't see anything wrong with the code. I would appreciate any help.

Hey I recently noticed very strange behavior of specific code. It seems to be Firefox specific, and hard to debug. I prepared set of demo pages. All of these demos work properly in Chrome and there are some issues in Firefox. Example 1 loads the ads after clicking on the button, instead of loading them immediately. Only one of those two method works in Firefox. Example 2 loads the ad immediately using postscribe, what works fine in all browsers, even Firefox. The same code works fine if called immediately, doesn't work if called after some delay (even if 100ms). The ad loading implementation has two steps: 1. Loading main script with all ad slots definitions and with googletag main script 2. Loading single ad slots scripts, they are rather simply - googletag.display() call mainly See the example: http://jsfiddle.net/5xunxpmL/ This one calls postscribe immediately (exactly the same method like previously, but without any timeout): http://jsfiddle.net/5xunxpmL/1/ Could you please check if you can observe the same issue in Firefox? The actual ad request is getting aborted in Firefox for some reason, and the creative is never fetched. GET ads?gdfp_req=1&correlato...588686&ga_hid=772171976 Aborted I can't see anything wrong with the code. I would appreciate any help.

所有回复 (1)

more options

This forum is intended for end-user support, not for web development issues. Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The contributors over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.