Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Firefox codeproject toolbar

Firefox codeproject toolbar

Scheduled Pinned Locked Moved The Lounge
htmldata-structureshelp
18 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R roel_

    Hi all, I got annoyed that I had to type links & html code by hand when posting to CP with firefox, so I wrote a small toolbar that will duplicate some of the functionality that IE users have when composing a message. It has a small webpage here. For all you firefox-using CP-posters: feel free to download it, play with it a little and if you find any bugs (besides those that are already listed on the webpage) let me know. I might even fix them. Also, this is a quick hack so don't expect any polish.

    D Offline
    D Offline
    DavidNohejl
    wrote on last edited by
    #2

    cool :) Never forget: "Stay kul and happy" (I.A.)

    1 Reply Last reply
    0
    • R roel_

      Hi all, I got annoyed that I had to type links & html code by hand when posting to CP with firefox, so I wrote a small toolbar that will duplicate some of the functionality that IE users have when composing a message. It has a small webpage here. For all you firefox-using CP-posters: feel free to download it, play with it a little and if you find any bugs (besides those that are already listed on the webpage) let me know. I might even fix them. Also, this is a quick hack so don't expect any polish.

      T Offline
      T Offline
      Tom Archer
      wrote on last edited by
      #3

      From Roel_s site: The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE, so I decided to write a small toolbar myself. Just a bit harsh, eh? You ever stop and think that the "maintainers" of this site are just a bit busy running the largest and best developer site on the planet and can't make every desired feature a reality in your timeframe? Don't get me wrong, I'll be the first to admonish Dave and Chris when I think they've really screwed something up or acted inappropriately. However, insuating that they're intentionally not "fixing" their code in out of line when they've done so much for the developer community. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework

      L C 2 Replies Last reply
      0
      • R roel_

        Hi all, I got annoyed that I had to type links & html code by hand when posting to CP with firefox, so I wrote a small toolbar that will duplicate some of the functionality that IE users have when composing a message. It has a small webpage here. For all you firefox-using CP-posters: feel free to download it, play with it a little and if you find any bugs (besides those that are already listed on the webpage) let me know. I might even fix them. Also, this is a quick hack so don't expect any polish.

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #4

        Handy tool, thanks. Though as Tom says, maybe word your frustration a bit more respectfully? You obviously like CP or you wouldn't have spent your time making a tool for it :) regards, Paul Watson Bluegrass South Africa Michael Dunn wrote: "except the sod who voted this a 1, NO SOUP FOR YOU" Crikey! ain't life grand?

        1 Reply Last reply
        0
        • T Tom Archer

          From Roel_s site: The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE, so I decided to write a small toolbar myself. Just a bit harsh, eh? You ever stop and think that the "maintainers" of this site are just a bit busy running the largest and best developer site on the planet and can't make every desired feature a reality in your timeframe? Don't get me wrong, I'll be the first to admonish Dave and Chris when I think they've really screwed something up or acted inappropriately. However, insuating that they're intentionally not "fixing" their code in out of line when they've done so much for the developer community. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #5

          Tom Archer wrote: You ever stop and think that the "maintainers" of this site are just a bit busy running the largest and best developer site on the planet and can't make every desired feature a reality in your timeframe? Not to mention that Firefox is a moving target. It's not even an official v1.0 release yet. "Reality is what refuses to go away when I stop believing in it." Philip K. Dick

          1 Reply Last reply
          0
          • R roel_

            Hi all, I got annoyed that I had to type links & html code by hand when posting to CP with firefox, so I wrote a small toolbar that will duplicate some of the functionality that IE users have when composing a message. It has a small webpage here. For all you firefox-using CP-posters: feel free to download it, play with it a little and if you find any bugs (besides those that are already listed on the webpage) let me know. I might even fix them. Also, this is a quick hack so don't expect any polish.

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #6

            The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE Um, your bashing is directed at the wrong place. Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. If that object works now, or if there's an alternate way to do it, why not share your script with the site to improve it. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Ford, what's this fish doing in my ear?

            W A 2 Replies Last reply
            0
            • T Tom Archer

              From Roel_s site: The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE, so I decided to write a small toolbar myself. Just a bit harsh, eh? You ever stop and think that the "maintainers" of this site are just a bit busy running the largest and best developer site on the planet and can't make every desired feature a reality in your timeframe? Don't get me wrong, I'll be the first to admonish Dave and Chris when I think they've really screwed something up or acted inappropriately. However, insuating that they're intentionally not "fixing" their code in out of line when they've done so much for the developer community. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #7

              Well said!


              Do you want to know more? Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!

              1 Reply Last reply
              0
              • M Michael Dunn

                The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE Um, your bashing is directed at the wrong place. Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. If that object works now, or if there's an alternate way to do it, why not share your script with the site to improve it. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Ford, what's this fish doing in my ear?

                W Offline
                W Offline
                wrykyn
                wrote on last edited by
                #8

                Michael Dunn wrote: Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. I'm glad you said that. That needed mentioning :) "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                R 1 Reply Last reply
                0
                • W wrykyn

                  Michael Dunn wrote: Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. I'm glad you said that. That needed mentioning :) "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                  R Offline
                  R Offline
                  Rocky Moore
                  wrote on last edited by
                  #9

                  That is one of the problems with the Mozilla/Geko team is that they are so closed minded to "standards only or die", that they make it hard on everyone else. Reminds me of Apple who claims to be the usability expert while they cannot see the benefit of a right mouse button or scroll wheel, they just stick in their old rut, even if it is wrong. Standards are fine, but who cares if the usabilty is not there. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                  W A 2 Replies Last reply
                  0
                  • R Rocky Moore

                    That is one of the problems with the Mozilla/Geko team is that they are so closed minded to "standards only or die", that they make it hard on everyone else. Reminds me of Apple who claims to be the usability expert while they cannot see the benefit of a right mouse button or scroll wheel, they just stick in their old rut, even if it is wrong. Standards are fine, but who cares if the usabilty is not there. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                    W Offline
                    W Offline
                    wrykyn
                    wrote on last edited by
                    #10

                    Yeah. Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. In all fairness its not like they are breaking applications left and right but a little more help from them would be welcome. "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                    M 1 Reply Last reply
                    0
                    • W wrykyn

                      Yeah. Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. In all fairness its not like they are breaking applications left and right but a little more help from them would be welcome. "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                      M Offline
                      M Offline
                      Michael P Butler
                      wrote on last edited by
                      #11

                      Ramanan Sivan wrote: Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. Isn't that what all programmers do. :-D Our customer requirements are moving targets, our development tools keep changing, not to mention all the API's that are created and forgotten about. Michael CP Blog [^]

                      W 1 Reply Last reply
                      0
                      • R Rocky Moore

                        That is one of the problems with the Mozilla/Geko team is that they are so closed minded to "standards only or die", that they make it hard on everyone else. Reminds me of Apple who claims to be the usability expert while they cannot see the benefit of a right mouse button or scroll wheel, they just stick in their old rut, even if it is wrong. Standards are fine, but who cares if the usabilty is not there. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                        A Offline
                        A Offline
                        Andrew Peace
                        wrote on last edited by
                        #12

                        To be fair on Apple, both the scroll wheel and right mouse button function correctly when a mouse with either of the functions is connected. -- Andrew.

                        R 1 Reply Last reply
                        0
                        • M Michael Dunn

                          The maintainers of that website appear to be unwilling to fix their message composing javascript to work with other browsers than IE Um, your bashing is directed at the wrong place. Chris has said numerous times that Mozilla doesn't implement the one object he needs (the one that returns the currently-selected text) to do text formatting. If that object works now, or if there's an alternate way to do it, why not share your script with the site to improve it. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Ford, what's this fish doing in my ear?

                          A Offline
                          A Offline
                          Andy Brummer
                          wrote on last edited by
                          #13

                          There is an alternate way to do it. Mozilla supports textbox.selectionStart and textbox.selectionEnd. These give you the zero based begin and end positions of the selection. The following script would make a smiley appear at the carret.

                          if (objTextArea.selectionEnd || objTextArea.selectionEnd == '0')
                          {
                             objTextArea.focus();
                             var endPos = objTextArea.selectionEnd;
                             var strEnd = objTextArea.value.length;
                             objTextArea.value = objTextArea.value.substring(0, endPos) + ' ' + strInsertText + ' ' + objTextArea.value.substring(endPos, strEnd);
                          }

                          The other functions have similar implementations. The "trick" is that you have to do a textbox.focus(); before they return valid results.


                          I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                          1 Reply Last reply
                          0
                          • A Andrew Peace

                            To be fair on Apple, both the scroll wheel and right mouse button function correctly when a mouse with either of the functions is connected. -- Andrew.

                            R Offline
                            R Offline
                            Rocky Moore
                            wrote on last edited by
                            #14

                            "To be fair", you buy an MAC from Apple, do you get a mouse with a scroll wheel and righ mouse button? No, it is an add-on because they think they know better. One button is all anyone will need. One day maybe they will come out into the real world and see that they have been wrong and correct it just like they did with the Mac OS when they dumped it for a Unix OS. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                            A S 2 Replies Last reply
                            0
                            • R Rocky Moore

                              "To be fair", you buy an MAC from Apple, do you get a mouse with a scroll wheel and righ mouse button? No, it is an add-on because they think they know better. One button is all anyone will need. One day maybe they will come out into the real world and see that they have been wrong and correct it just like they did with the Mac OS when they dumped it for a Unix OS. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                              A Offline
                              A Offline
                              Andrew Peace
                              wrote on last edited by
                              #15

                              I agree, one mouse button doesn't cut it. I was only pointing out that should someone choose to use a two button mouse, the facility is there, they're given the choice. I guess it's worst on the laptops where the touchpads have only one button, can't really just get a new touchpad :-). -- Andrew.

                              1 Reply Last reply
                              0
                              • M Michael P Butler

                                Ramanan Sivan wrote: Plus as someone mentioned its a moving target. I mean who the hell wants to develop targeting something that's not even fixed. Isn't that what all programmers do. :-D Our customer requirements are moving targets, our development tools keep changing, not to mention all the API's that are created and forgotten about. Michael CP Blog [^]

                                W Offline
                                W Offline
                                wrykyn
                                wrote on last edited by
                                #16

                                :sigh: Unfortunately for me that's so true. I write medical applications and ever so often the guys I write for change the camera, the camera box yada yada yada. And then blame me when the apps I wrote break. "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."

                                1 Reply Last reply
                                0
                                • R Rocky Moore

                                  "To be fair", you buy an MAC from Apple, do you get a mouse with a scroll wheel and righ mouse button? No, it is an add-on because they think they know better. One button is all anyone will need. One day maybe they will come out into the real world and see that they have been wrong and correct it just like they did with the Mac OS when they dumped it for a Unix OS. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                                  S Offline
                                  S Offline
                                  Shog9 0
                                  wrote on last edited by
                                  #17

                                  You've never sat a new computer user down and tried to get them comfortable using a mouse, have you? Trust me, it's easier to start with as few buttons as possible...
                                  You**'re one microscopic cog** in his catastrophic plan...

                                  R 1 Reply Last reply
                                  0
                                  • S Shog9 0

                                    You've never sat a new computer user down and tried to get them comfortable using a mouse, have you? Trust me, it's easier to start with as few buttons as possible...
                                    You**'re one microscopic cog** in his catastrophic plan...

                                    R Offline
                                    R Offline
                                    Rocky Moore
                                    wrote on last edited by
                                    #18

                                    Well, just because there is more than one does not mean they have to use them. That would be like saying you want cars to only have a steering wheel and we will leave out the break and gas pedals to make it easier for them. Actually, with the MAC, that would be like putting buttons under their seat that they have to use to go forward and backwards since the MAC you have to learn to hold down the command key to get the functionality you would have with a right mouse button. Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups