Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: here is a script to log what you do during the day...

by wazoox (Prior)
on Feb 07, 2011 at 18:07 UTC ( #886773=note: print w/ replies, xml ) Need Help??


in reply to here is a script to log what you do during the day...

If you use firefox, you need to install the "nightly tester tools" adddon to change the title of the window to "firefox", otherwise the script will keep track of each url visited.

It seems to me that all Firefox windows are named "page title - Mozilla Firefox"; so it would be quite easy to create a matching rule and simply keep the two last words:

if ( $titolo =~ m#.*\s\-\s(Mozilla Firefox)$# ) {$titolo = $1 };

beware, untested code example!


Comment on Re: here is a script to log what you do during the day...
Download Code
Re^2: here is a script to log what you do during the day...
by gianni (Novice) on Feb 07, 2011 at 21:22 UTC
    I think that it depends on the firefox build, I had to install that addon. Anyway maybe that checking the about:config file after you've installed the addon you can find the variable that changes the title, and the uninstall the addon.
      You could pull your firefox history and merge it with the log of all your other windows. Wouldn't miss as much.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886773]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-11-26 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (164 votes), past polls