• 0

[FINAL] Gmail: The App


Question

Gmail: The App

gmailhta.jpg

This is just a very simple HTA (HTML Application) I made. Put it in your QuickLaunch or desktop and you can launch Gmail at anytime. It's like launching a real app, like Outlook, only faster. You can download it here: gmail.hta or if you're want to play it safe and build one yourself, here's the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
 ?<head>
 ? ?<title>Gmail</title>
 ? ?<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 ? ?<object id="pFileObject" classid="clsid:0D43FE01-F093-11CF-8940-00A0C9054228"></object>

 ? ?<hta:application id="oGmail" 
 ? ? ?applicationname="Gmail" 
 ? ? ?minimizebutton="yes"
 ? ? ?maximizebutton="yes"
 ? ? ?icon="http://gmail.google.com/favicon.ico" ?
 ? ? ?windowstate="normal" />
 ? ? ?
 ? ?<base target="contentframe" />

<style type="text/css">
<!-- 
html {
	overflow: hidden;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

iframe {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	width:789px;
	height:551px;
	position:absolute;
	left:0px; 
	top:0px;

	overflow:hidden; 

	background-color: transparent;
}
-->
</style>
 ?</head>

 ?<body onload="window.resizeTo(800,580)" scroll="no">

<iframe style="z-index:0;" name="contentframe" id="contentframe" src="https://gmail.google.com/gmail" application="no" />

 ?</body>
</html>

Just copy and paste that code into Notepad, and save as gmail.hta, or whatever you'd like. As long as it has the .hta extension.

READ BEFORE USING: Because of IE's higher security in HTAs, you must set http://gmail.google.com/ as "Always Allow" in Internet Options Privacy tab (Sites button). Otherwise cookies won't work.

Edited by GodsHand
Link to comment
https://www.neowin.net/forum/topic/183337-final-gmail-the-app/
Share on other sites

Recommended Posts

  • 0

gr8 work godhand

oops

sorry , but i found a bug or is it me:-

when i click "invite a friend to join Gmail" link , a new window opens with the gmail login page instead of the gmail invite page.

could u fix it.

thanx.

edit - one more thing , i cant find the icon tab in the *.hta properties.

  • 0
If you want the HTA to have a Gmail icon like this: http://www3.telus.net/public/dallen33/gmailicon1.jpg

Right click, save as: http://www3.telus.net/public/dallen33/favicon.ico

http://www3.telus.net/public/dallen33/gmailicon2.jpg

Then right click the HTA, PROPERTIES > Icon Tab and choose that favicon.ico.

I don't get no Icon tab :cry:

  • 0

well i changed icon by following these steps -

open Windows

Explorer, View menu, Folder Options, File Types tab. Look for HTA

under Extensions. Click Advanced button, then click Change Icon. Now

simply choose a desired icon. Then OK all the way out.

btw , the icon will be same for all the *.hta files.

  • 0
READ BEFORE USING: For SP2 users, because of IE's higher security, you must set http://gmail.google.com/ as "Always Allow" in Internet Options Privacy tab (Sites button). Otherwise cookies won't work.

I'm getting the cookies not enabled error as well. Not using sp2 or IE....just firefox

  • 0

I made an icon for this application. I used the Gmail Image, so no credit goes to me except putting it together, resizing etc. Took me a lil while. Hope you all like it.

Right-click, Save Target As... (to download)

Sample Preview:

gmail_icon_sample.jpg

I made it using this image from Google:

logo.gif

Edited by dannymp3
  • 0
IE is still your default browser. Follow his directions for allowing cookies anyway. It will work.

I'll try it when I get home from work tomorrow....but IE is not my default browser

---

FOOOD also has a nice Gmail set:

gmail-snapshot.jpg

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.