Promptservice
Mozilla::PromptService is a Perl interface to the Mozilla nsIPromptService. SYNOPSIS use Mozilla::PromptService; Mozilla::PromptService::Register({ Alert => sub { my ($parent, $title, $dialog_text) = @_; # do something smart on alert ... }, # Prompt callback should return result...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (93): Mozilla::PromptService Download |
Mozilla::ObserverService is a Perl interface to the Mozilla nsIObserverService. SYNOPSIS use Mozilla::ObserverService; my $cookie = Mozilla::PromptService::Register({ http-on-examine-response => sub { my $http_channel = shift; print $http_channel->responseStatus; }, }); # We dont...
Platforms: *nix
License: Freeware | Size: 33.79 KB | Download (97): Mozilla::ObserverService Download |
Mozilla::ConsoleService is a Perl interface to Mozilla nsIConsoleService. SYNOPSIS use Mozilla::ConsoleService; Mozilla::PromptService::Register(sub { print $_[0]; }); Mozilla::ConsoleService uses Mozilla nsIConsoleService to pass log messages to perl code, similar to JavaScript Console...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (91): Mozilla::ConsoleService Download |