Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

2010/06/18

http://ajax.googleapis.com is down

Many sites are hosting their javascript libraries on googleapis.com, such as jquery, which is supposed to be faster because googleapis is CDN (Content Distribution Network), however, what happen if googleapis.com is down.

Today, I see this problem, I went to nettus, slickdeals, they are extremely slow, I see this at the Firefox process bar,

connecting to ajax.googleapis.com...

Initially, I thought it is my ISP problem, I could not open “ajax.googleapis.com” at all. Then I tried http://downforeveryoneorjustme.com/, which told me, the site looks down for everyone not just for me.

I also went to Twitter to see if people are talking about this, unfortunately, their site also uses googleapis, and the search seems broken.

Anyone have the same problem?

By the time (1:55pmEST, 06-18-2010) I am writing this, the googleapis.com looks down for me for about 30 mins.

Updated: 2:00pm EST 06-18-2010, looks like the server is back. Not sure it is just my ISP problem, because ajax.googleapis.com’s home page is a not found page (BTW, I got timeout error when there was a problem), downforeveryoneorjustme.com may always say that it looks down.

2009/03/15

Error: Permission denied to call method Location.toString

I got this error in both Firebug and Firefox add-on Web Developer . "Error: Permission denied to call method Location.toString", when visiting my own website.

I checked carefully of the webpage, but did not find any problem of my code. Finally, I found the problem was from a Flash Ad. from Google AdSense.

Anyway, I need to keep Ad.

2009/03/06

AdSense shows a blank space

I created an AdSense account a few days ago. But when I integrated it into my website, it only showed a blank space where I put the code without any contents. I googled the web and did not find a solution. Looks like not too many people have this problem, in case you get the same problem, here are some possible reason and solutions.

Reason 1: When you create an Ad unit, you choose to show a solid color when AdSense cannot find a match content on the page. And the solid color you picked is the same as the background color on the problem area.  
Solution 1: Most of time this is not a case. If it does, then try to used a different solid color.

Reason 2: You just created/updated an Ad unit, which usually take up to 10 minute to load
Solution 2: Wait 10 minutes to see it works or not

Reason 3: The AdSense code does not correctly paste. You cannot write the code in a single line.
Solution 3:

The is happen to me, see the code below,

//a sinlge line below causes a problem
<script type="text/javascript"><!-- google_ad_client = "pub-xxx"; /* 160x600, created 3/4/09 */ google_ad_slot = "9031182928"; google_ad_width = 160; google_ad_height = 600; //--> </script> 

After changed it like below, it fixed the problem.

<script type="text/javascript"><!-- 
google_ad_client = "pub-xxx";
 /* 160x600, created 3/4/09 */
 google_ad_slot = "9031182928";
 google_ad_width = 160; 
 google_ad_height = 600;
 //--> 
 </script>

2009/03/05

Mark all gmails as read

I use Outlook to revieve emails a lot. Sometimes, especially I'm at work, I also logon my Gmail thru Firefox. I installed the Google toolbar for firefox with Gmail notifier to let me know when a new email coming in.
Here is a problem, using Outlook to recieve emails, the received emails in you account are still shown as unread. So Gmail notifier keep on indicating there are new emails when I restart the firefox, but acutally, they are not really new. So I decided to mark those emails as read, however, it's painful if you have tons of emails unread. 
Google is always my best friend, I found a solution at http://www.woodwardweb.com/technology/marking_all_mai.html   
To mark all mail as read:-
   1. In the search box, type "is:unread"
   2. In the select area press "All"
   3. A link will appear that says "Select all conversations that match this search", press it
   4. From the drop down, select "Mark All as Read".