DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How can I extract all the links from all tabs?  (Read 6,157 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
How can I extract all the links from all tabs?
« on: December 22, 2020, 12:33 PM »
Hello!

How can I extract all the links from all tabs?

I can use Chrome or Firefox or other browser but I need the solution to be robust and extract all the links accurately from all opened tabs.

Any idea?

Thanks!

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: How can I extract all the links from all tabs?
« Reply #1 on: December 31, 2020, 08:10 PM »
Hi! I'm taking this after my N.A.N.Y. 2021 submission :Thmbsup:

I can use Chrome or Firefox or other browser

Are you on Windows? If so, does Edge or IExplore suffice? (Easiest ones to target from C#).

Cheers!
Vic

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: How can I extract all the links from all tabs?
« Reply #2 on: January 02, 2021, 05:53 AM »
Are you on Windows? If so, does Edge or IExplore suffice? (Easiest ones to target from C#).

Forgive my ignorance, but now that Edge is Chrome-based, how is it any easier to target than any of the other multitude of Chrome-based browsers?

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: How can I extract all the links from all tabs?
« Reply #3 on: January 02, 2021, 12:15 PM »
Forgive my ignorance, but now that Edge is Chrome-based, how is it any easier to target than any of the other multitude of Chrome-based browsers?

Thanks for following your curiosity! The answer is: Legacy support.

A couple decades ago, you simply used SHDocVw to connect to a running instance of Internet Explorer and didn't really mind about the tiny portion of non-IE users (90's dial-up user here).

Now I do cross-platform and care very much about other browsers (currently on Linux myself}.

...Perhaps I should have said: easier to me, as I have oldie code to target IE & extract links :)

BTW I'm loving the challenge(s) and interaction guys, it means a lot to me. I'm truly grateful for this.

Cheers!
:Thmbsup:
Vic

Original address: https://www.donationcoder.com/forum/index.php?topic=50854.0