Log in

All Site Activity

    • Westwood
      Westwood commented on Get absolute URL
      邮件营销怎么做有曾听过?知道这名字?听过这名字名声如雷贯耳呢。世上没有简单得来的名气。人们都明白,出类拔萃,是代价的付出。 邮箱数据
      • Darling
        Darling commented on Get absolute URL
        I do not know whether it's just me or if perhaps everybody else experiencing issues with your blog. It appears as though some of the text within your posts are running off the screen. Can someone else please comment and let me know if this is...
        • Ortega
          Ortega commented on Get absolute URL
          Helpful information. Fortunate me I discovered your web site by chance, and I am stunned why this twist of fate didn't happened in advance! I bookmarked it.
          • Deuchar
            Deuchar commented on Get absolute URL
            Unquestionably consider that that you said. Your favourite justification seemed to be on the net the easiest thing to understand of. I say to you, I certainly get annoyed whilst people consider concerns that they plainly don't understand about. You...
            • Kyle
              Kyle is now a friend with Armando
                Kyle
                  Armando
                  • Kyle
                    Kyle created the group New Group Requests
                    Due to a large amount of spam, I have decided to stop users from creating their own groups. If you would like a new group to be created, either message Kyle, or post a request in this group. When asking for a new group, please provide the...
                    • Kyle
                      Kyle created the group Introductions
                      Hello, and welcome to OneLib!  New users, feel free to say hi here, and tell us a little bit about yourselves :) Kyle
                      • Kyle
                        Kyle added a new snippet: Get absolute URL

                        Taken from https://davidwalsh.name/essential-javascript-functions

                        "Getting an absolute URL from a variable string isn't as easy as you think. There's the URL constructor but it can act up if you don't provide the required arguments (which sometimes you can't). Here's a suave trick for getting an absolute URL from any string input... The "burn" element href handles any URL nonsense for you, providing a reliable absolute URL in return."

                          • Ortega
                            Ortega
                            Helpful information. Fortunate me I discovered your web site by chance, and I am stunned why this twist of fate didn't happened in advance! I bookmarked it.
                            • Darling
                              Darling
                              I do not know whether it's just me or if perhaps everybody else experiencing issues with your blog. It appears as though some of the text within your posts are running off the screen. Can someone else please comment and let me know if this is...
                              • Westwood
                                Westwood
                                邮件营销怎么做有曾听过?知道这名字?听过这名字名声如雷贯耳呢。世上没有简单得来的名气。人们都明白,出类拔萃,是代价的付出。 邮箱数据
                              • Kyle
                                Kyle updated a snippet: Run once

                                Taken from https://davidwalsh.name/essential-javascript-functions

                                "There are times when you prefer a given functionality only happen once, similar to the way you'd use an onload event... ...The once function ensures a given function can only be called once, thus preventing duplicate initialization!"

                                • Kyle
                                  Kyle added a new snippet: Run once

                                  Taken from https://davidwalsh.name/essential-javascript-functions

                                  "There are times when you prefer a given functionality only happen once, similar to the way you'd use an onload event... ...The once function ensures a given function can only be called once, thus preventing duplicate initialization!"

                                  • Kyle
                                    Kyle updated a snippet: Cookies

                                    Taken from https://www.webhostingsecretrevealed.net/blog/featured-articles/15-cool-javascript-sample-snippets/

                                    "This snippet is a little long but very useful, it will allow your site to store information on the viewer’s computer then read it at another point in time. This snippet can be used in many different ways to accomplish different tasks."

                                    • Kyle
                                      Kyle updated a snippet: $id() - Shortened document.getElementById()

                                      Taken from https://websemantics.uk/archived/useful-javascript-functions/

                                      "Saves repeatedly writing out document.getElementById('id'). Results are cached which speeds up repeat requests by 50%."

                                      I really like this one, credit to Mike Foskett @ websemantics.uk

                                      • Kyle
                                        Kyle updated a snippet: Polling

                                        Taken from https://davidwalsh.name/essential-javascript-functions

                                        "...sometimes you don't get to plug into an event to signify a desired state -- if the event doesn't exist, you need to check for your desired state at intervals. Polling has long been useful on the web and will continue to be in the future!"

                                        • Kyle
                                          Kyle updated a snippet: Debounce

                                          Taken from https://davidwalsh.name/essential-javascript-functions

                                          "The debounce function can be a game-changer when it comes to event-fueled performance. If you aren't using a debouncing function with a scroll, resize, key* event, you're probably doing it wrong. Here's a debounce function to keep your code efficient. The debounce function will not allow a callback to be used more than once per given time frame. This is especially important when assigning a callback function to frequently-firing events."

                                          • Kyle
                                            Kyle updated a snippet: Cookies

                                            Taken from https://www.webhostingsecretrevealed.net/blog/featured-articles/15-cool-javascript-sample-snippets/

                                            "This snippet is a little long but very useful, it will allow your site to store information on the viewer’s computer then read it at another point in time. This snippet can be used in many different ways to accomplish different tasks."

                                            • Kyle
                                              Kyle updated a snippet: $id() - Shortened document.getElementById()

                                              Taken from https://websemantics.uk/archived/useful-javascript-functions/

                                              "Saves repeatedly writing out document.getElementById('id'). Results are cached which speeds up repeat requests by 50%."

                                              I really like this one, credit to Mike Foskett @ websemantics.uk

                                              • Kyle
                                                Kyle updated a snippet: Polling

                                                Taken from https://davidwalsh.name/essential-javascript-functions

                                                "...sometimes you don't get to plug into an event to signify a desired state -- if the event doesn't exist, you need to check for your desired state at intervals. Polling has long been useful on the web and will continue to be in the future!"

                                                • Kyle
                                                  Kyle updated a snippet: Debounce

                                                  Taken from https://davidwalsh.name/essential-javascript-functions

                                                  "The debounce function can be a game-changer when it comes to event-fueled performance. If you aren't using a debouncing function with a scroll, resize, key* event, you're probably doing it wrong. Here's a debounce function to keep your code efficient. The debounce function will not allow a callback to be used more than once per given time frame. This is especially important when assigning a callback function to frequently-firing events."

                                                  • Kyle
                                                    Kyle has a new avatar
                                                    Kyle
                                                    • Kyle
                                                      Kyle updated a snippet: Cookies

                                                      Taken from https://www.webhostingsecretrevealed.net/blog/featured-articles/15-cool-javascript-sample-snippets/

                                                      "This snippet is a little long but very useful, it will allow your site to store information on the viewer’s computer then read it at another point in time. This snippet can be used in many different ways to accomplish different tasks."