Page 1 of 3 123 LastLast
Results 1 to 15 of 32

Thread: Pulling URLs

  1. #1
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Pulling URLs

    Thanks Alan, that will be quite useful and a time saver. It also works as a Firefox bookmark.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Pulling URLs

    Cool! The best thing I got for Christmas. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    The add this, I did:
    1. <LI>Bookmarks > Bookmark This Page, Change Title to "Magic URL Puller" and click OK to add it to the main list.
      <LI>Copy the javascript "URL" from Alan's post.
      <LI>Bookmarks, right-click "Magic URL Puller" and choose Properties.
      <LI>Tab once to select the URL and paste to replace it. (Edit as desired.)
      <LI>Test using Bookmarks > Magic URL Puller
      <LI>Celebrate!
    Here's how a slightly modified version -- I changed the first parameter -- displays for this thread in Firefox.
    Attached Images Attached Images

  3. #3
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Pulling URLs

    Looks great here, Alan. I still use Mozilla 1.7.x and I put both bookmark versions on my Mozilla "Personal Toolbar" as shown in the attached. Thanks!
    Attached Images Attached Images

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Pulling URLs

    Wow! That's very neat, thanks!

  5. #5
    5 Star Lounger
    Join Date
    May 2002
    Location
    43.8N 81.0W, Ontario
    Posts
    815
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs - FF Extension?

    Hi All

    Does anybody following this thread know how to write a FireFox Extension to put these "URL Pullers" into the 'Right Click Menu'?
    I've been trying for a few hours, following a tutorial, but I really haven't a clue what I'm doing and can't get it to work.

    Best wishes to all for a safe and joyful holiday season!!

    Have a Great day!!!
    Ken
    <IMG SRC=http://www.wopr.com/w3tuserpics/KenK_sig.gif>

  6. #6
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs - FF Extension?

    My short answer is no. I'm not familiar with writing such extensions for Firefox, but I did try to do this initially for IE, using a context menu extension. I had numerous attempts at trying to get the information sent to the clipboard direct, using a "standalone" javascript, but nothing ever worked.

    I just tried adding the one I posted as a menu extension in the registry, and that doesn't work either. This is why I came up with the solution above - it's the only one that I can get to work.

    Alan

    Edited - My longer answer is that I've now finally managed to do this, but only for IE (see attachment). However, a cursory look at the javascript involved suggests nothing that would be "IE-specific". If you like, I could clean it up and post it (with instructions) so you can test it out for Firefox. I presume you know how/ where to add a Firefox menu extension to the registry... coz I'm sure as <img src=/w3timages/censored.gif alt=censored border=0> I don't! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    I will also post this as an alternative for IE users, if it's of interest.
    Attached Images Attached Images

  7. #7
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Further Developments

    My original intention here was to be able to send a "Woody-style" URL direct to the clipboard, ready to paste directly into a lounge post. I was unable to get this working from a context menu entry, so settled on the original solution of <post#=438749>post 438749</post#> using a favorite/ bookmark entry. After a lot more digging though, I was able to adapt a rather clever method by Bill James to achieve my initial aim. This is the topic of this post.

    The method here is appropriate to creating context menu items in IE. I'm sure it's possible in Mozilla/ Firefox, but (as seems to always be the case for these browsers) it's become too arduous wading through all the disjoint documentation to drill down to the "how to" details. I'll leave that task to the affectionados. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    The attachment contains all the files and information required. The end result is the creation of two new right-click context menu items:

    o Woody URL+Title
    o Woody Hot_URL

    as shown in <post#=439008>post 439008</post#>. These will, respectively, send URLs of the page in the browser window, in the form:

    o <!t>[<!/t> ...Web page title... <!t>.<!/t>
    o <!t><!/t> ...URL address... <!t><!/t>

    straight to the clipboard, ready for direct pasting into a lounge post.

    In essence, all that is needed is to place the two .HTM files into the
    C:windowsweb
    folder, then to make the appropriate additions in the registry. If you don't want to use this folder, then the paths in the registry entries should be modified appropriately. Full instructions are contained in the .HLP file within the attached archive.

    Alan
    Attached Files Attached Files

  8. #8
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Pulling URLs

    Alan

    I have managed to replicate this using an extension in Firefox

    I installed the copyurlplus extension and then customised it based on the method shown in copyurlplus: customize

    The customisation involved adding 4 lines to the user.js file in my profile directory, the 4 lines are shown in the attached text file. I have only conducted limited testing but appears to work ok.
    Attached Files Attached Files

  9. #9
    5 Star Lounger
    Join Date
    May 2002
    Location
    43.8N 81.0W, Ontario
    Posts
    815
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Hi Tony

    Thank you!
    This link brings you here.
    Yup, it works (of course it does!). <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    Have a Great day!!!
    Ken
    <IMG SRC=http://www.wopr.com/w3tuserpics/KenK_sig.gif>

  10. #10
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Well done Tony! This is exactly the kind of code I was searching for without success. I had only vague memories of the user prefs .js file from the days of Netscape. Looks like this one hits the nail on the head for Moz users.

    Alan

  11. #11
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Leuven, Vlaanderen, Belgium
    Posts
    322
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Great great great... <img src=/S/joy.gif border=0 alt=joy width=23 height=23> And guess what... this isn't just fun for Loungers alone, as these link inclusion tags can be used in other (or at least in one) fora as well!

  12. #12
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Following a request from Hans Vanmechelen I've adapted another script (attached) for IE to enable the easy generation of "Woody-style" image references for lounge posts. When implemented as an IE context menu extension, the user can right-click an image, select Woody Image_URL from the popup menu, then be ready to directly paste text like:
    <!t>[image]<!/t>http://www.wopr.com/w3timages/display.gif<!t>[/image]<!/t>
    directly into a lounge post.

    To install this, you'll need to follow the same steps described in <post#=439198>post 439198</post#> and its associated attachment. The important difference is that you'll need to set the DWORD "contexts" value in your newly created registry key to a value of <big>2</big> Hexadecimal. This will make the menu item visible when an "image" is the focus of the right-click event in the browser window.

    Please report any problems here... this has been subjected to extensive and thorough testing for only about 5 minutes! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Alan
    Attached Files Attached Files

  13. #13
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Pulling URLs

    Now, that is cute. Well done <IMG SRC=http://www.wopr.com/w3tuserpics/AlanMiller.jpg>

    StuartR

  14. #14
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Thank you kind sir. Alas, they don't all turn out as suave as they did in your post, <IMG SRC=http://www.wopr.com/w3tuserpics/StuartR.gif>. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    Alan

  15. #15
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Leuven, Vlaanderen, Belgium
    Posts
    322
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Re: Pulling URLs

    Thanks, Alan!

    FWIW: those who still prefer a 'Woody Image URL' Favourite/Bookmark instead of the more user friendly context menu item can use Alan's guidelines in <post#=438749>post 438749</post#>, with the URL set to something like this:
    java script: void(prompt('Woody Image URL ','<!t>[image]<!/t>' + location.href + '<!t>[/image]<!/t>' ));
    p.s. The animal <IMG SRC=http://www.wopr.com/w3tfiles/24-427055-untitled2.png> (credits to Rudi's <!post=Star Pets,427055>Star Pets<!/post>) used in the tests during research wasn't done any harm.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •