Showing posts with label script. Show all posts
Showing posts with label script. Show all posts

Tuesday, October 8, 2013

Hack new Yahoo Mail!


Yahoo Mail is back with a Bang! 

By now you must have heard that Yahoo have launched much cooler Mail

However, to make it much usable, I'm trying with few Hacks.

* Increase the Message Read Pane Area (stretch)
In Mailbox vertical split, Inbox area is hardly using 65% of my screen width, and right most ~20% of the area is unused (Ads, Banners!). Moreover, my content viewable area is quite small.
  1. Check if you have Greasemonkey or Tempermonkey installed in your browser.
  2. Install the following script there:
    1. // ==UserScript==
      // @name       Ymail stretch
      // @namespace  http://vishnu-agarwal.blogspot.com/
      // @version    0.1
      // @include    https://in-mg0.mail.yahoo.com/neo*
      // @description  stretches the new YMail Inbox area
      // @match      https://in-mg0.mail.yahoo.com/neo/*
      // @copyright  2012+, You
      // ==/UserScript==
      
      if(ele = document.getElementById('shellcontent')) ele.style.width='1300px';
      

Done!

Will update the post with more tweaks!


References:
1. https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
2. http://vishnu-agarwal.blogspot.com/2010/03/introduction-to-greasemonkey.html
3. http://yahoo.tumblr.com/post/63462971435/yahoo-mails-sweet-16-is-sweet-a-brand-new-view




Monday, March 8, 2010

Introduction to Greasemonkey

What is the need?
Sometimes it is needed that you want to execute some scripts automatically at your page using some client side language (e.g. Javascript). Some good examples are like Mob Wars, Mafia wars or FarmVille where attacks etc are automatically done with certain defined rules . Another example may be automatically retrieving data from other sites to make two sites more interconnected.

What is Greasemonkey?
"Greasemonkey is a Firefox extension that allows you to write scripts that alter the web pages you visit." Using Greasemonkey extension many script can be executed as a hack to the Firefox to make your work smoother.

How to install?
Download from http://www.greasespot.net/, install and restart the browser (Firefox). Scripts can be installed then after. It name must end in .user.js
http://dunck.us/collab/GreaseMonkeyUserScripts is the script repository containing hundreds of scripts

Example please!
// ==UserScript==
// @name Hello World (helloworld.user.js)
// @namespace http://vishnu-agarwal.blogspot.com
// @description example script to alert "Hello world!" on every page
// @include *
// @exclude http://timir126.blogspot.com/*
// ==/UserScript==


Further help?

LinkWithin

Related Posts with Thumbnails