Showing posts with label greasemonkey. Show all posts
Showing posts with label greasemonkey. Show all posts

Thursday, October 28, 2010

Better Y! Mail Beta - Less ads, More mail (Oct-2010)

Yahoo! just released a new beta of their Mail web application. Overall, it looks a bit more modern and promises much faster performance (I have not seen any improvement yet...in fact sometimes it is slower than before).

However, it needed a bit of spit and polish. I decided to write a user script (works on chrome and firefox with greasemonkey or scriptish) that tightens up the wasted space in the header and removes the main ads that take up space on the mail home page as well as in the inbox.

Available for Firefox* & Google Chrome
Download the user script directly or from the Userscripts.org script page

* Firefox (You need Greasemonkey or Scriptish already installed)
 
Yahoo Mail Beta Oct 2010 Homepage Before:


Yahoo Mail Beta Oct 2010 Homepage After:


Yahoo Mail Beta Oct 2010 Inbox Before:

Yahoo Mail Beta Oct 2010 Homepage After:
More mail for YOU

Available for Firefox* & Google Chrome
Download the user script directly or from the Userscripts.org script page

* Firefox (You need Greasemonkey or Scriptish already installed)

Friday, July 16, 2010

Goal Funnel Exit Values in Percentages - New Userscript

In the Goal Funnel Visualization report of GA, it paints very nicely all of the users who flow in and out of the typical conversion path. One thing that I thought it was missing, however, was to show the exit numbers in percentage terms.

It has always shown the top 5 locations to where a user "abandons" a certain step of the conversion funnel, but I am someone who really likes looking at data in % values, not only in absolute values.

So, here is a simple little script that calculates the % value for each of those top 5 exit pages for each step. The % is the number of exits to a specific location divided by the total # of visits to that specific goal funnel step. Enjoy.
I like % values
Instructions for installing the script in Firefox

Friday, April 30, 2010

Suggest 4 Google Insights - Firefox Script & Chrome Extension

I have written a little greasemonkey script & Google Chrome extension that integrates Google Suggest with Google Insights for Search.

Why do this?
I wanted to speed up some keyword research that I was doing in Google Insights.

There are various research sources I use when doing KW research (such as Google Analytics data, competitor keywords, anchor text keywords, etc...), but sometimes I find that Google itself is a helpful resource for identifying other keyword candidates through its suggest feature. Its suggestions sometimes are terrible but on other occasions it provides insight (no pun intended) into similar phrases that users are using to search Google. After all, suggestions from Google Suggest are based on actual queries from users.












Highlights

  • Suggest results vary by language and country, so I took advantage of the existing country SELECT value from Google Insights to use that as the basis for the country parameter in Google Suggest
  • Since Insights has no language field other than for the whole interface, I decided to add my own SELECT with the available languages (I use the same list as is available for the UI, so it may not be complete for all suggest possibilities)
  • Suggest results are cached for improved performance in the browser
  • Arrow keys on the keyboard work the same as the mouse

Available for Firefox & Google Chrome
Enjoy. As always, please leave feedback in the comments and link to this post instead of directly to the extension and/or userscript. Thanks!

Monday, September 28, 2009

Gmail Dropbox Gadget Script Available

Updated with instructions to install gadget

Step 1: Go to GMail Labs and enable Add Gadget by URL feature

Step 2: Go to the Gadgets Settings Tab in Gmail Settings and Add the Gadget


Step 3: Add the Greasemonkey script for Dropbox mobile:



After receiving a request from a user for creating a dropbox gadget for Gmail, I went ahead and made a User Script that modifies the Dropbox Gadget UI for use in Gmail. I could not rework the UI remotely, so the script was the only practical choice.



I have tested it and it works both in Firefox and Google Chrome.

Enjoy.

Monday, January 26, 2009

Export Google Trends to Google Docs Script

Feeling inspired from the success of the script that I wrote to export from Google Analytics to Google Docs , I decided to see if I could reuse most of the code for other Google CSV exports.  My first sub-project was to tackle Google Trends.

I made the necessary front end changes to put in the new links and collect the correct export URLs.  Generally everything worked on the backend as well after only a few minor tweaks.  However, I kept receiving a lot of junk in the export and the content was not legible.

There seems to be some issue with the format of the CSV file being delivered by Google Trends.  It opens fine is a pure text editor like Notepad++ , but the browser recognized thousands of "invalid" characters in the export.  Basically, the CSV contains a null value in between every other valid character and it included rare form feed characters at the beginning and end of the file.  These invisible characters were blowing up the import to Google Docs so that while I would receive a "success" message for the upload, everything came out as gobbledegoop .

After multiple attempts to try to request a different file format, I finally decided to work a little string magic using RegEx.  I stripped out all of the junk characters before sending it up to Google Docs and voila! Everything works fine now.

Unfortunately, Google Trends only allows exports for keyword comparisons at the moment, but not for website data.  In the meantime though, for anyone doing SEO Keyword research, this could be of some valuable use to you.

Here are the links:
Download GM script directly
Greasemonkey Script Page

Enjoy.

Friday, October 17, 2008

Pimp My iGoogle – Greasemonkey Script

Update May 2011: Complete rewrite to handle new internal structure of iGoogle.



Update: I ported the script to Chrome:
Pimp My iGoogle - Chrome Version  use the main userscript on userscripts.org

Pimp My iGoogle – Userscripts.org
I am not a big fan of many of the changes to the new iGoogle. I tried it back many months ago when it first was launched. I sent them a lot of feedback. Unfortunately, a lot of that feedback seemed to fall on deaf ears at Google (what a surprise - sarcastic emphasis added).

Anyway, there are 3 main things that Pimp My iGoogle does:
  1. Simplify and reduce the space needed by the header - I also unbury the link to Google Reader
  2. There is a button to hide/show the annoying left-hand nav bar (they really should allow users to customize the order and styling of those links in the nav bar).
  3. Brought back the max/min button to load and unload modules. Google decided to move this funtion from its original home to the options drop down layer...forcing users to make 1 more click to move open and close the modules. This script puts the function back where it belongs (on the header of the module)
Sadly, I have not yet fixed my last main gripe with the new iGoogle.
Individual feed items used to have the same max/min functionality as modules. That was great if I wanted to read a post then and there without really changing the screen. Well, that is gone now and you only get a snippet of each post. That makes each feed module take up too much space by default and it forces users into the expanded mode.
UPDATE: Google has since brought back the old functionality

My suspicion is that these moves are mostly aimed at forcing more people into canvas mode where Google will have more ability to show ads targeted to the active module's content. If they try that, I'll just update Pimp My iGoogle to block d'em ads.

Thursday, September 25, 2008

Updated Google Analytics Export to Google Docs

Google Analytics has updated the layout for the graphs and export links in their reports...breaking the script. Now it is updated to v2.6 and works smoothly.

New links:
Greasemonkey Script Page
Download GM script directly

Cheers.

Wednesday, September 17, 2008

Yahoo Mail in iGoogle

iGoogle is my homepage and although I have a Gmail account, I still prefer the Yahoo! Mail experience.

Here is a link to the Google Gadget using the mobile interface of Y! Mail

However, the mobile interface has a lot of fluff and does not fit perfectly in the gadget frame. Therefore I created some gm scripts to make it more useful and provide a better fit.

Greasemonkey Scripts
Main Script: http://userscripts.org/scripts/show/33874
Detail Page Script: http://userscripts.org/scripts/show/33875

Monday, July 28, 2008

Wednesday, July 2, 2008

My Dropbox Gadget

Update 01/12/2009: Dropbox changed their primary domain and iGoogle does not handle the redirect correctly, nor have I found a way to update the link via iGoogle.  Here are the new links to add a new module that works. Sorry for the delay.





UPDATE #2: I have just released v2 of the dropbox gadget. I have changed the gadget type to URL instead of HTML and I am hosting the gadget files directly using Dropbox. This allows the gadget to test if 3rd Party Cookies have been allowed for the getdropbox.com domain.

It seems that Dropbox has updated their privacy settings on their site so that IE now will let users access the gadget using the default privacy settings. In Firefox, however, if you have deselected "Accept 3rd Party cookies" you need to add getdropbox.com to the exceptions list.

The V2 version of the gadget is available:
Download V2 My Dropbox Gadget

Thanks for all of your support and the for the mention from Lifehacker.



UPDATE: After the initial release of the gadget I did some more testing based on feedback that I received. In the end, there appears to have been two separate issues:
  • The new iGoogle gadget.* API does not appear to be available for all users and browsers just yet. I switched back to the legacy API for all of the code.
  • The cookies set by Dropbox are considered 3rd Party cookies and so they are blocked by the default cookie security rules in IE 7. These are usually blocked because of advertising servers, but there are "white hat" uses as well...such as the case with dropbox.
I will add a test to the gadget to see if 3rd party cookies are enabled. Separately, there might be a way for Dropbox to change their cookies so that they will be accepted as a 3rd Party cookie.


If you have not heard of it, Dropbox is a fantistic service for syncing files between computers and a central web repository. They are in beta but you can signup here. Here is a screencast they have that shows the tool in action:



Although you can sync multiple boxes, I only sync the service with 1 PC currently, but I use the web interface frequently and a common file backup and anywhere access solution.

The idea occurred to me to build a Google Gadget where I could have even easier access to my dropbox whereever I go, especially on the computers that I frequently use but do not want to install the client software. So, I created the My Dropbox Gadget.



I submitted it to the Google Gadget Directory and will update the link soon. In the meantime, you can download the Dropbox Gadget here.

Once I got that working, I found that the natural width of the dropbox table did not fit well with the standard module width for iGoogle, so I created a greasemonkey script that adjusts the table style so it alwasys fits the gadget with in iGoogle. you can download the Fix Dropbox Width script here.

Monday, June 2, 2008

Integrate Google Analytics with Google Docs using Greasemonkey

UPDATED 07/31/09: Not sure if the problem was upgrading to firefox 3.5 or if the GDocs API folks changed how they handle uploads, but the script started returning 415 errors from GDocs.  I worked with Google and now we have the problem fixed.  Should work for all again.

Any suggestions? Please add them in the comments.


UPDATED 05/04/09: All fixed now. However, I am starting to notice some odd 404 errors coming from the Google Docs API. The file uploads nonetheless, but every once in a while the confirmation message comes back as a 404. Any suggestions? Please add them in the comments.

UPDATED 04/30/09: Google just made another change to their code which broke the script. I will work on fixing it starting next week. When it is fixed, I'll make another post. Thanks for your patience.

UPDATED: I updated the script with many improvements to reliability and functionality.

UPDATED: I updated the script to handle security changes made by Google to Google Analytics

Recently I was inspired to start tinkering with Google Analytics using Greasemonkey after listening to a presentation by Avinash Kaushik.

One problem that we have at work is that our version of Excel for some reason does not like the CSV files that GA exports. Our copies of Excel XP (I know its 6+ years old, but we just moved to it last year) only see the graphing data, but they do not recognize the tabular data further down in the CSV files.

After seeing the Juice Analytics integration for seeing new reports in GA, I realized that I probably could solve my export problem too using Greasemonkey. I decided to integrate GA with Google Docs, so I can do a one-click export to create a Google spreadsheet for analyzing the GA data.

Now, on any report that offers a CSV download, the user sees a new option for Google Docs:







Clicking the link will log the user into the Google Docs service and upload the report. Currently I have the # of records limited to 10000 rows of data, but I may make that a configurable option. After the report is successfully uploaded, the user received a confirmation message with a choice to open up Google Docs in a new tab or just to remain in GA:











Greasemonkey handles your data securely and only limits access to values stored by the user script to the user script itself. There is an additional measure of security I added that fully encrypts user passwords. Finally, the export service can only upload to Google Docs using the exact same account that you are currently using in GA. If you want to share, I suggest you share the spreadsheet after it has been created.

Installation Instructions
  • You need Greasemonkey & Firefox 2+ installed
  • If you have Greasemonkey working you will see a little monkey icon in your status bar:
  • Now, download and install the user script (click OK/Accept on any message boxes. The file used to be called exporttogoogledocs.user.js, but apparently Userscipts.org renamed the file!)
  • After opening choosing to open up Google Docs, the pop-up blocker may stop the new tab from launching...if so, you will need to allow pop-ups from the domain www.google.com because of the way Google handles the redirect.

Happy Analysis!