A pedant that hangs out in the dark corner-cases of the web.

Wednesday, February 04, 2009

Show your Google Calendar in your sidebar (without a separate file)

Update: I guess it would just be easier to simply bookmark the URL in the src attribute after step 2, and mark that to load in the sidebar.

Inspired by the Lifehacker article Step By Step: Display Your GCal Agenda in Firefox's Sidebar, I've improved the process by using a data: URL instead of an external file.

  1. In Google Calendar, go to Settings for your calendar, then click the "Customize the color, size, and other options" link to enter the calendar customization tool.
  2. Choose "Agenda" View, and otherwise configure the calendar however you wish. Just leave the height and width at the default values.
    Configure the embedded calendar
  3. Copy the HTML code.
  4. Head over to The data: URI kitchen and paste in the HTML code.
  5. Make the following changes:
    • Check the "base 64" checkbox.
    • Change src="// to src="http://
    • Paste the following just after scrolling="no" and just before ></iframe>:
      onload="var c=this;c.style.height=window.innerHeight-16;c.style.width=window.innerWidth-16;c.onload=null;window.onresize=function(){c.style.height=window.innerHeight-16;c.style.width=window.innerWidth-16;}"
  6. Click the Generate button.
  7. Your calendar should appear, filling the page. Bookmark it.
  8. In the Properties for this bookmark, check the "Load this bookmark in the sidebar" checkbox.

Now, you can just click the bookmark to open the Google Calendar in your sidebar!

4 comments:

Lonny said...

Thank you. This worked very well.

Anonymous said...

A copy of the most recent bank statement is needed, and a check will need to be written in an amount
of the loan payable to the company. Drop by drop saving can help a person to repay the payday loan quickly and lead a tension free life.
The lenders count the paycheck as security and they advance small
cash to the borrowers in unsecured form.

Review my webpage - Payday Loans

Anonymous said...

Fees on payday loans are high can be astronomically high,
sometimes half of the loan and if the loan isn't paid, then that is another fee to add to it. DTI is an important factor in how a person can run their finances. The Pew Charitable Trusts' Small-Dollar Loans Project conducted
a study about how consumers borrow and pay back payday loans.


My page ... UK Payday Loans

Anonymous said...

Taking pleasure in Movies Accustomed to A Home entertainment

Here is my web page; video to mp3 converter online