Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #372986

Re: Copy all URLs

Newsgroups comp.os.linux.advocacy
Date 2016-09-27 11:00 -0700
References <D40DD728.7E7B8%usenet@gallopinginsanity.com> <b67af9c2-5cd7-4eba-8195-97538254fc54@googlegroups.com> <fhjadu03.gi@perch.invalid> <2f0ca551-7804-4687-812f-0366030fdf81@googlegroups.com>
Message-ID <c14db800-e346-4c4f-84d0-3166aa73fd72@googlegroups.com> (permalink)
Subject Re: Copy all URLs
From tmelmosfire <tmelmosfire@gmail.com>

Show all headers | View raw


On Tuesday, 27 September 2016 08:55:06 UTC-7, Steve Carroll  wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> On Tuesday, September 27, 2016 at 12:24:40 AM UTC-6, Octavian W. Lagrange wrote:
> > Steve Carroll <fretwizzer@gmail.com> wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA512
> > > 
> > > On Sunday, September 25, 2016 at 8:34:08 PM UTC-6, Snit wrote:
> > >> If I wanted to copy all URLs from all tabs of, say, Chrome on Linux what
> > >> would be the best way? Clearly I could go tab by tab and copy and paste...
> > >> but curious for better solutions.
> > >> 
> > >> That is assuming anyone in COLA knows.
> > >> 
> > >> Full disclosure: I am asking because I had an extension for Safari on OS X
> > >> which used to do this for me... but with Sierra it is no longer supported.
> > >> So I wrote my own... as a non-programmer who is not even exactly great with
> > >> scripting.
> > >> 
> > >> I am assuming it can be done with Linux... Owl or Marek likely know. But
> > >> maybe not. I have done ZERO research on this. Might later.
> > > 
> > > 
> > > Sniff... sniff... no one wants to play with you anymore :(
> > > 
> > > I don't run Linux and, apparently, it can't be done within a browser 
> > > (at least, from the little research I did, that's what I found)
> > 
> > There is a "Copy all URLs" extension for chromium.  You can also parse
> > ~/.config/chromium/Default/"Current Session" for them.  "Current Tabs"
> > has old ones, oddly.
> 
> I didn't write what I meant,

Fucking shocking.

> I should have said that I couldn't
> find a way with javascript. 

Your new hammer?

> In any event, given how he worded
> the challenge, I expected to see an extension, not a script that
> was turned into a service, like his shows. 

Snit noted that there was no extension so he was trying to find a way to script it. Your assumption is this means he was not trying to find a way to script it.

Can you be any more lost with the English language, Steven Petruzzellis?

> As I said, I've never 
> used Appescript before but it definitely can be useful if you're
> doing these sorts of things.

What the hell do you mean by these sorts of things? Things you could not even understand?

> But I don't see any money in it so 
> I'll leave it at that.

Steven Petruzzellis just admitted he is paid to harass and troll Snit.

> Being that he didn't specify formatting or 
> the getting of feedback (notifications) I didn't bother with any 
> of that; it looks like adding notifications would be easy enough.

Yet you did not do it. 

> While I fulfilled his challenge as worded, I give kudos to him 
> for the addition of the helper method (which eliminates the 
> loop altogether):
> 
> - --
> tell application "Safari"
>   set urlObj to (URL of every tab of window 1)
> end tell
> set the clipboard to urlObj as text
> set AppleScript's text item delimiters to "\n"
> - --

Are you calling a bunch of URLs a URL object? That seems stupid.
 
> I think he's crazy for not learning javascript, there are reasons 
> Apple is including it.

Apple is not in charge of javascript.

> With javascript he could actually add to 
> his web development capabilities and even earn a living with
> it. You really can't do much front end work if you don't have 
> a solid grasp of the basics. On the back end there is node.js,
> which isn't going anywhere any time soon.
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - https://gpgtools.org
> 
> iQIcBAEBCgAGBQJX6pYBAAoJELnOYK54exUC7K4QAJMeD76M/emK2uEOGMzXDUh6
> hQZRMlJEizMYab0d0qVB7Vl96A5uNLiWp14tzWfgI1Hq31etb4GIXYBPlqAhrx8K
> /Unj7vlOTkIixwmlyizpbR1+8uQmlWUnyxV6dP9LSQQa2MLCQfAYiwZl+lyEqAP3
> 3ULd2DgMuVTpKcCGMlle10yI6+2vf4ZbkwZk/99SrPgGYXESntTOtArAYPD1yWm1
> mg563N5OxM2Ekp1Q5I6r7XXn1iYLmeR9dBNBiW4O+d9AK0nVZW3BkhsAjAkDMmYb
> UK+/7rInrdmTunAw+aNiM48zwVXy2HyEXNOlfalR5zqPus45OJGZ4NaH2jO3Omsp
> 6GsKbYf+1kiBVhSkgI8etkqEM5vE9n23FivFuMsVNPQk0DB8SOE+wYmpTUbYQTJy
> Ik2FCQApWskAN/j9JsnGgUe3BqX6y9fdneYv0I4F9WKIZV/CzPFqUZ1bVDPZ8a5X
> b1+wUD6lSeovB1+xav51wEKp3dhI/CWqFPrqdkn3OQehmKSQfHcCY78MnsC0TSOt
> XpofWJu0v/8HQb9bMnS3DFN078ZbNIzjzL6ReprZNvXEY6BRUZgNPGcFJ2Ib71sk
> 3+Zn+L0MgHy2ILgJBfazeMoJiGzCX17edsXAXOpFJuwH/Fo0BONfApso/uMOO9Sg
> HDatQORdcFeUlegGLL7G
> =YKIi
> -----END PGP SIGNATURE-----

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-26 14:18 -0700
  Re: Copy all URLs Silver Slimer <.m@nsn.s> - 2016-09-26 17:21 -0400
    Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-26 14:28 -0700
      Re: Copy all URLs Silver Slimer <.m@nsn.s> - 2016-09-26 17:31 -0400
    Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-26 14:28 -0700
  Re: Copy all URLs tmelmosfire <tmelmosfire@gmail.com> - 2016-09-26 14:33 -0700
  Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 06:24 +0000
    Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 08:31 -0700
      Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 18:07 +0000
        Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 11:38 -0700
          Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 19:56 +0000
            Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 13:23 -0700
    Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-27 08:54 -0700
      Re: Copy all URLs tmelmosfire <tmelmosfire@gmail.com> - 2016-09-27 11:00 -0700
        Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 11:13 -0700
          Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-27 12:14 -0700
            Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 19:28 +0000
              Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-27 12:44 -0700
              Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 12:46 -0700
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 20:21 +0000
                Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 13:27 -0700
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 21:58 +0000
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 23:43 +0000
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-28 01:16 +0000
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-28 01:51 +0000
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-28 02:33 +0000
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-28 04:06 +0000
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-28 06:19 +0000
                Re: Copy all URLs Marek Novotny <marek.novotny@marspolar.com> - 2016-09-28 14:03 +0000
                Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-28 09:09 -0700
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-28 04:13 +0000
                Re: Copy all URLs Jim Polaski <jpolaski@linuxmail.org> - 2016-09-28 13:30 +0000
                Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-28 08:35 -0700
                Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-28 10:03 -0700
                Re: Copy all URLs "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-27 21:59 +0000
            Re: Copy all URLs tmelmosfire <tmelmosfire@gmail.com> - 2016-09-27 12:38 -0700
              Re: Copy all URLs Snit <usenet@gallopinginsanity.com> - 2016-09-27 13:13 -0700
                Re: Copy all URLs Steve Carroll <fretwizzer@gmail.com> - 2016-09-27 14:27 -0700

csiph-web