![]() ![]() I found and used this free service - with its easy to use JS code - to provide IP data. Taking "bookmarklets" a step further, I decided to create a JS shortcut that would open a popup window and display my IP address. Incidentally, I've found that the Escaping special characters page provides a quick easy way of encoding JavaScript snippets. The string is escaped and prefixed with "javascript:" producing the following line, which is then pasted into the URL of a new Chrome shortcut. Similarly, the image below shows a new Scroll to bottom shortcut created for placement in Chrome's Bookmarks bar.Īgain, starting with a normal line of JS code: window.scrollTo(0,) ![]() This can be expanded to include many of the mobile browsers found on iOS, Android, and Windows tablets. This is because most JavaScript bookmark code works across most - if not all - major desktop browsers. The first advantage of using a JS bookmark relates to security: Unlike a random browser extension or plugin, you are always assured you will be able to read any JavaScript snippet to ascertain if a security risk is present. There are a few key advantages in using bookmark "applets" or bookmarklets instead of browser plugins or extensions. However, few users realize they can use a bookmark with JavaScript (JS) code snippets to enhance, expand or customize their web browsing experience. Virtually everyone knows how to bookmark a webpage, unexciting and as commonplace as using a search engine: Firefox and Chrome users know how to "Bookmark this page", fans of Internet Explorer use "Add to favorites", and Safari surfers click "Add bookmark" from a menu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |