List Info

Thread: get html source from web page blocked mouse right button.




get html source from web page blocked mouse right button.
user name
2007-09-04 21:34:06
hello,

i want to get html source from web page blocked mouse right
button.

how to do that ?

thanks in advance 
-- 
CashFlow
To be rich.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

Re: get html source from web page blocked mouse right button.
country flaguser name
United States
2007-09-04 22:42:19
Chang Min Jeon wrote:
> hello,
> 
> i want to get html source from web page blocked mouse
right button.
> 
> how to do that ?

What browser are we talking about ?

If you're using a decent browser there should be a hotkey.

On Thunderbird, use Ctrl-U or the View pulldown menu.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

RE: get html source from web page blocked mouse right button.
user name
2007-09-04 23:53:31
really, i'm trying to get html source from online webpage
blocked
mouse right button using perl modules.

and i will save this source to html format in my
filesystem.

so, i find perl module which get html source by using URL.

2007/9/5, Bill Luebkert <dbecollroadrunner.com>:
> Chang Min Jeon wrote:
> > hello,
> >
> > i want to get html source from web page blocked
mouse right button.
> >
> > how to do that ?
>
> What browser are we talking about ?
>
> If you're using a decent browser there should be a
hotkey.
>
> On Thunderbird, use Ctrl-U or the View pulldown menu.
>


-- 
CashFlow
To be rich.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

RE: get html source from web page blocked mouse right button.
country flaguser name
United States
2007-09-05 00:00:16
  As Bill already said the "View" pulldown will do
it, I have never 
seen it not work when the right mouse button was blocked. 
Also you 
can do a "Save AS"

At 09:53 PM 9/4/2007, Chang Min Jeon wrote:
>really, i'm trying to get html source from online
webpage blocked
>mouse right button using perl modules.
>
>and i will save this source to html format in my
filesystem.
>
>so, i find perl module which get html source by using
URL.
>
>2007/9/5, Bill Luebkert <dbecollroadrunner.com>:
> > Chang Min Jeon wrote:
> > > hello,
> > >
> > > i want to get html source from web page
blocked mouse right button.
> > >
> > > how to do that ?
> >
> > What browser are we talking about ?
> >
> > If you're using a decent browser there should be a
hotkey.
> >
> > On Thunderbird, use Ctrl-U or the View pulldown
menu.
> >
>
>
>--
>CashFlow
>To be rich.
>_______________________________________________
>Perl-Win32-Web mailing list
>Perl-Win32-Weblistserv.ActiveState.com
>To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs


_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

RE: get html source from web page blocked mouse right button.
country flaguser name
United States
2007-09-05 00:50:55
OLE can do this if you have Internet Explorer working. 
Granted..  It's
not perfect, but if you want to invest some time in getting
all the
"features" worked out, it would be worth it. 
(like the <SCRIPT> tags
not telling you what is in the SCRIPT....)..  So, this
script is
somewhat limited, but can be worked on to get you more if it
doesn't
give you enough.

Please be nice and don't abuse Google, or anyone else for
that matter,
with this script...  

use Win32::OLE;

$oIE =
Win32::OLE->new("InternetExplorer.Application")
;
$oIE-> = 1;
$oIE->Navigate("http://www.google.com&quo
t;);

my $rtn = check_ready_state($oIE);
if ($rtn != 1) {
  $oIE->Quit();
  exit $rtn;
}

print "Title:
".$oIE->Document->."n";

print
$oIE->Document->->."n";

$x = 0;
while ($x < $oIE->->-> -
1) {
  print $oIE->->All($x)->;
  $x++;
}
exit;
sub check_ready_state {
  my $oIE = $_[0];
  my $x;

  while ($oIE-> == 1) {
    $x++;
    if ($x > 90) {
      print "IE Is taking a really long time to
opennI've decided to
return a failuren";
      return 0;
    }
    if ($x == 1) { 
      print "  Ready State: ";
    }
    print $oIE->ReadyState;
    print "... ";
    if ($oIE-> == 1) {
      sleep(1);
    }
  }
  print "n";
  sleep 2;
  return 1;
} 

> -----Original Message-----
> From: perl-win32-web-bounceslistserv.ActiveState.com 
> [mailto:perl-win32-web-bounceslistserv.ActiveState.com]
On 
> Behalf Of Mike Rambour
> Sent: Tuesday, September 04, 2007 10:00 PM
> To: perl-win32-weblistserv.ActiveState.com
> Subject: RE: get html source from web page blocked
mouse right button.
> 
>   As Bill already said the "View" pulldown
will do it, I have 
> never seen it not work when the right mouse button was

> blocked.  Also you can do a "Save AS"
> 
> At 09:53 PM 9/4/2007, Chang Min Jeon wrote:
> >really, i'm trying to get html source from online
webpage 
> blocked mouse 
> >right button using perl modules.
> >
> >and i will save this source to html format in my
filesystem.
> >
> >so, i find perl module which get html source by
using URL.
> >
> >2007/9/5, Bill Luebkert <dbecollroadrunner.com>:
> > > Chang Min Jeon wrote:
> > > > hello,
> > > >
> > > > i want to get html source from web page
blocked mouse 
> right button.
> > > >
> > > > how to do that ?
> > >
> > > What browser are we talking about ?
> > >
> > > If you're using a decent browser there should
be a hotkey.
> > >
> > > On Thunderbird, use Ctrl-U or the View
pulldown menu.
> > >
> >
> >
> >--
> >CashFlow
> >To be rich.
> >_______________________________________________
> >Perl-Win32-Web mailing list
> >Perl-Win32-Weblistserv.ActiveState.com
> >To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
> 
> 
> _______________________________________________
> Perl-Win32-Web mailing list
> Perl-Win32-Weblistserv.ActiveState.com
> To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
> 
> 
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

Re: get html source from web page blocked mouse right button.
country flaguser name
United States
2007-09-05 01:08:18
>From hack #9 of the book, "Spidering Hacks"
http://www.oreilly.com/catalog/spiderhks/index.html

you can use a one-liner:
perl -MLWP::Simple -e "getprint 'http://www.tlviewer.org/rt3/fileset'"

this should work in Win32 & Linux.

--
Mark

Chang Min Jeon <jcm1981gmail.com&gt; wrote:
hello,

i want to get html source from web page blocked mouse right button.

how to do that ?

thanks in advance
--
CashFlow
To be rich.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

;


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
RE: get html source from web page blocked mouse right button.
user name
2007-09-05 02:02:08
Chang,

Actually a little off-topic this though of course a solution
can be, retrieving the page with something as simple als the
lwp module.

Right mouse button blocking is a really poor habit done
using javascript.  Turn off javascript in your browser and
it'll work.  You also can try to find the page in the cache
of your browser (in IE jargon, 'temporary internet files'),
using the File menu or, in some browsers, using a hot key.

Success,

-- 
Koen


> -----Oorspronkelijk bericht-----
> Van: perl-win32-web-bounceslistserv.ActiveState.com
> [mailto:perl-win32-web-bounceslistserv.ActiveState.com]Namens
>  Chang Min
> Jeon
> Verzonden: woensdag 5 september 2007 04:34
> Aan: perl-win32-weblistserv.ActiveState.com
> Onderwerp: get html source from web page blocked mouse
right button.
> 
> 
> hello,
> 
> i want to get html source from web page blocked mouse
right button.
> 
> how to do that ?
> 
> thanks in advance 
> -- 
> CashFlow
> To be rich.
> _______________________________________________
> Perl-Win32-Web mailing list
> Perl-Win32-Weblistserv.ActiveState.com
> To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
> 

Dit bericht kan informatie bevatten die niet voor u is
bestemd. Indien u niet de geadresseerde bent of dit bericht
abusievelijk aan u is gezonden, wordt u verzocht dat aan de
afzender te melden en het bericht te verwijderen. De Staat
aanvaardt geen aansprakelijkheid voor schade, van welke aard
ook, die verband houdt met risico's verbonden aan het
elektronisch verzenden van berichten. 

This message may contain information that is not intended
for you. If you are not the addressee or if this message was
sent to you by mistake, you are requested to inform the
sender and delete the message. The State accepts no
liability for damage of any kind resulting from the risks
inherent in the electronic transmission of messages.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

Re: get html source from web page blocked mouse right button.
country flaguser name
United States
2007-09-05 03:22:23
Chang Min Jeon wrote:
> really, i'm trying to get html source from online
webpage blocked
> mouse right button using perl modules.
> 
> and i will save this source to html format in my
filesystem.
> 
> so, i find perl module which get html source by using
URL.

Your English isn't good enough to figure out what you are
asking for.

Are you looking for a Perl replacement for your browser's
'view source'
option ?  Basically a Perl module to get the URL and save it
to a file ?
If so, I would look at LWP::UserAgent or LWP::Simple.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Weblistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )