• 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
alright i right clicked and went to properties, i don't have an icon tab...why? and how do i change the icon?

To change the icon, make a shortcut to the .hta file. Then, right click the shortcut and choose "Properties."

In the properties, click the "Shortcut" tab and then click "Change icon." You should know what to do from there.

  • 0

hmm I tried to add both:

http://gmail.google.com/

https://gmail.google.com/

to the privacy "per site privacy actions" list as Always Allow and only "google.com" shows up in the list as "always allow"

added these two to both IE and Firefox lists just in case and the "keep password for 2 weeks" feature still doesnt work

  • 0
everything is ok the very first time i tried it... i got it to load and access my gmail...

i was done so i close it...

when i opened it again... this is what came up...

5 minutes past already and still the same message appears...

post-12-1088405974.jpg

did anyone get this message too? the funny thing is "Ooops" at the beginning of the error message

how can i stop this from happening

  • 0

hey everyone. this stuff is GREAT!! well done amigos. a quick, simple and brilliant solution.

now a question. the adding of www.google.com etc to the allowed sites bit, has anyone figured out how to do it using a reg file, a vb script or something else. i want to incorporate this into my unattend windows instalation? any ideas?

danish

  • 0
https://www.neowin.net/forum/uploads/post-12-1088405974.jpg

did anyone get this message too? the funny thing is "Ooops" at the beginning of the error message

how can i stop this from happening

I started getting this error too. It says "Loading..." in the top right screen for a long time, and then that same error comes up. Restarting the program doesn't seem to help. I'm going to delete all cookies and the cache to see if that works. If anyone else has a work-around or solution, please post. :D

  • 0

Anyone figure out how to add the login and passwords to the app, so that if you have more than 1 gmail account, you can create more than 1 of these on your desktop, customized with the logins and passwords for each account? That way you can click on whichever one, without be prompted to enter it the login info.

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

    • No registered users viewing this page.
  • Recent Achievements

    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      416
    2. 2
      +Edouard
      171
    3. 3
      PsYcHoKiLLa
      125
    4. 4
      Michael Scrip
      77
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!