• 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

harder than i thought gets stuck on checking cookies :(

https://www.google.com/accounts/ServiceLogi...gle.com%2Fgmail

hehe it dont set the cookie unless tis from google.com so guess we are out of luck unless the dude that did the pop goes the gmail app does it :p

[Edit] Anyone way to make like JavaScript remote to use js to fill in the fields mayb? not automatic but damn close[/Edit]

Edited by Aasum
  • 0
alright the icon problem still stays, how do i change it cuz when i right click and go to properties, there is no icon option and it opens with Microsoft html application host, someone help me change the icon, thank you!

place the actual file in a folder somewhere out of the way, make a shortcut to it, right-click and you should have the 'change icon' button. as to the latter part of your question, I'd love to know as well, that's how mine opens instead of with Firefox

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

    • No registered users viewing this page.
  • Posts

    • I'm so conflicted with the Google Search AI summaries. On one hand I don't like how it's harming smaller websites by greatly reducing traffic which will harm us all in the long run but on the other hand those AI summaries often give me the information I'm after. I have never once clicked on 'show me more' though and never will.
    • Not a single company as small or large it may be is obligated to subsidize its products and sell them at a loss. Your way of thinking is socialist and as a West German with a German brother state but impoverished by state dictatorship and a socialist command economy situated to the East i can tell you - this kind of thinking very quickly leads to products not being produced anymore at all.
    • Apple reportedly has a second-generation iPhone Fold planned for 2027 by Hamid Ganji The iPhone Fold is one of the most anticipated tech products expected to debut this fall. It will be Apple’s first foldable iPhone, ushering in a new product category for the company. While the first generation has yet to hit the shelves, a new leak suggests Apple has already begun work on its successor. Chinese leaker Digital Chat Station claims that the second-generation iPhone Fold has already been confirmed, meaning Apple could launch a successor in fall 2027. The foldable iPhone is also reportedly referred to as the “iPhone Ultra,” though it remains unclear whether Apple will ultimately choose that branding, especially as Samsung is rumored to rename the Galaxy Z Fold 8 as the Galaxy Z Fold Ultra this year. The leaker also claims that the second-generation foldable will feature a wider folding display while reusing the same screen found in the first generation. Apple’s first foldable iPhone is expected to feature a 7.8-inch inner display and a 5.3-inch outer screen in a passport-style form factor. It has already been reported that Apple plans to change its iPhone release cycle in 2026 to spread launches throughout the year. Under this strategy, the iPhone Fold is expected to debut this fall alongside the iPhone 18 Pro and iPhone 18 Pro Max. The standard iPhone 18 and iPhone Air 2 are expected to arrive later in 2026 or in early 2027. Speaking of the iPhone Air, Digital Chat Station says Apple remains undecided about a third-generation model. The company is reportedly waiting to see how the iPhone Air 2 performs in the market, and if sales disappoint, a successor may never materialize. As we reported this week, the iPhone Air has not been scrapped from Apple’s plans. The second-generation model is reportedly scheduled for spring 2027 and could introduce upgrades such as an additional rear camera for ultrawide photography and improved battery life.
    • ahh yes the good old your opinion differs from mine so you are therefore insane lol destiny 1 had no agenda pushing and was a massive success of a game, if you clearly look online the team for some reason thought they had too many men on the team and went on a woman and dei recruitment drive and we all know how destiny 2 performed from then on in
    • The limited imaginations and business acumen of non-dominant players is simply that: the abject lack of creative business acumen. Businesses often want to operate in a financially-rewarding marketplace (free market economics) and/or exit/cash-out at maximal financial recompense. Money is their incentive; regulations are both their obstacles and their tools; politics is their means of influencing the marketplace. Google, in this story's example, is crying that AWS and Azure are "too dominant" -- cuz Google Cloud is not printing as much money as Alphabet wants (although it is still dramatically more than they actually need). The EU DMA should truly follow-the-money and treat the EU as its own sovereign nation in order to protect European market players: Domestic entities are exempt from market-influence regulations until absolute monopoly is achieved; Foreign (non-EU/non-Euro) entities are all regulated via stricter DMA measures whereby regulated partnership with independent domestic entity becomes the only way for foreign entities to 'tip the scale' for favorable financial remunerations. Basically create a dual-track aligning with China's foreign investment models. In my eyes, this is the only way to properly protect the European marketplace beyond the current dot-com/ai-bubble/social-media crazes.
  • Recent Achievements

    • One Year In
      Vistor earned a badge
      One Year In
    • First Post
      kinowa earned a badge
      First Post
    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      406
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      131
    4. 4
      Xenon
      72
    5. 5
      Michael Scrip
      69
  • Tell a friend

    Love Neowin? Tell a friend!