• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

A Rep-Identifying Bookmarklet

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #51
    Originally posted by Spacecadet View Post
    I've found that the leading bit of the snippet gets cut off when copying and pasting.

    Edit just tried it again in IE and it worked fine!
    If FF, I get some security prevention measure, which IIRC when I turned it off got nothing (perhaps other software kicked in).

    In IE I get Yahoo come up (???) saying it can't find the page.

    Forget what Chrome did, nothing I think.

    Comment


      #52
      I'm using Chrome at the moment, it works ok for me.
      "I can put any old tat in my sig, put quotes around it and attribute to someone of whom I've heard, to make it sound true."
      - Voltaire/Benjamin Franklin/Anne Frank...

      Comment


        #53
        Originally posted by cojak View Post
        I'm using Chrome at the moment, it works ok for me.
        Just tried again in Chrome, and Google came up!

        So you:-

        - Copy the text from the first script on page one of this thread
        - Open Chrome and navigate to the Settings page of CUK
        - Paste the script (just copied) in to the location box (overwriting "http://forums.contractoruk.com/usercp.php")?

        All I get is Google saying can't find the page.

        Comment


          #54
          Originally posted by d000hg View Post
          I just tried this in Chrome and it thought I was doing a search for that long expression. I'm sure it worked before, is this a change to CUK or to Chrome?
          Hmm, WFM on Chrome 12.0.742.122; upgrade to 13.0.782.220 and when I paste it into the location bar, it strips the "javascript:" protocol identifier from the start of the pasted text, presumably because Google knows what's best for me more than I do. If I put the "javascript:" back manually before hitting Enter, it works.

          The best thing is to make it a bookmarklet. On Chrome:
          1. Copy the code;
          2. From the "Bookmarks" menu, select "Bookmark This Page";
          3. A dialog pops up saying "Bookmark added!" - ignore the over-exuberance of that exclamation mark and hit the "Edit..." button;
          4. Paste the code into the "URL" field, and change the "Name" field to something suitable like "CUK Rep";
          5. If you put it in the Bookmarks Bar, you can just click it when on your CUK Settings page to have it fill in the info, rather than having to hunt through menus for it


          You can take similar steps for other browsers; a Google search for "bookmarklet" and the browser's name should find some specific instructions.

          Comment


            #55
            Originally posted by NickFitz View Post
            If you put it in the Bookmarks Bar, you can just click it when on your CUK Settings page to have it fill in the info, rather than having to hunt through menus for it
            As I side above install Tampermoney then cut and paste the script I added above and it will run automatically every time you visit your rep page.
            merely at clientco for the entertainment

            Comment


              #56
              Originally posted by NickFitz View Post
              Hmm, WFM on Chrome 12.0.742.122; upgrade to 13.0.782.220 and when I paste it into the location bar, it strips the "javascript:" protocol identifier from the start of the pasted text, presumably because Google knows what's best for me more than I do. If I put the "javascript:" back manually before hitting Enter, it works.

              The best thing is to make it a bookmarklet. On Chrome:
              1. Copy the code;
              2. From the "Bookmarks" menu, select "Bookmark This Page";
              3. A dialog pops up saying "Bookmark added!" - ignore the over-exuberance of that exclamation mark and hit the "Edit..." button;
              4. Paste the code into the "URL" field, and change the "Name" field to something suitable like "CUK Rep";
              5. If you put it in the Bookmarks Bar, you can just click it when on your CUK Settings page to have it fill in the info, rather than having to hunt through menus for it


              You can take similar steps for other browsers; a Google search for "bookmarklet" and the browser's name should find some specific instructions.
              Ah, that's sorted it! Nice.

              Comment


                #57
                Originally posted by Spacecadet View Post
                I've found that the leading bit of the snippet gets cut off when copying and pasting.

                Edit just tried it again in IE and it worked fine!
                Oops, didn't notice on first read that you'd provided a solution already!

                Comment


                  #58
                  Originally posted by TimberWolf View Post
                  Oops, didn't notice on first read that you'd provided a solution already!
                  Nicks was better anyway
                  Coffee's for closers

                  Comment


                    #59
                    Originally posted by NickFitz View Post
                    ...presumably because Google knows what's best for me more than I do.
                    It is indeed the Chrome developers being an arrogant bunch of tossers who are oh-so-*******-clever that they have granted themselves the power to make decisions for we, the yammering gurning peasantry. Or should I say "This behaviour is by design"?

                    Comment


                      #60
                      Originally posted by NickFitz View Post
                      Hmm, WFM on Chrome 12.0.742.122; upgrade to 13.0.782.220 and when I paste it into the location bar, it strips the "javascript:" protocol identifier from the start of the pasted text, presumably because Google knows what's best for me more than I do. If I put the "javascript:" back manually before hitting Enter, it works.
                      Thanks Nick, that fixed it.
                      Originally posted by MaryPoppins
                      I'd still not breastfeed a nazi
                      Originally posted by vetran
                      Urine is quite nourishing

                      Comment

                      Working...
                      X