Use one bookmark to load different versions of a site
I have several sites that I access on both my iPhone and desktop, so I like to have quick access to them via the Bookmarks Bar. However, these sites have different versions for the desktop, for mobiles, and, in some cases, yet another version for the iPhone. Usually, the full version doesn’t work so well on the iPhone, and the iPhone version is undesirable on the desktop. Instead of creating a plain bookmark, a little Javascript can make a bookmark context-sensitive, and allow you to have one bookmark that opens the right version of a page, depending on which platform you’re browsing from. The basic idea is to use some client-side Javascript to check the browser’s platform (a.k.a. operating system), and then tell the browser to …

Related Posts
Apple’s WebKit engineers released a new version of the WebKit framework they called WebKit2. The new version of the rendering engine used by Safari and other browsers introduces a split processing model that keeps Web content in its own process. What this means in more practical language is that a Web page run amok in its own window or tab can’t...
Section: Web , Web Browsers Amidst the fury of WWDC 2010 Apple news , there is one thing Apple did do quietly today and that was the release of Safari 5. The latest version touts improved performance, more powerful developer tools and greater HTML5 support—more specifically a new full screen playback mode enabled video captions. A few more...
Google recognized the 30th anniversary of the classic arcade game Pac-Man on Friday by converting its online search home page into a playable version of the game. The game was built using tools such as HTML, CSS and JavaScript, so it’s playable on the iPad, iPod touch and iPhone as well as desktop and laptop computers.
Read More →
On many occasions one might want to open an item from Safari’s Bookmarks or History menus in a new tab. Like Firefox, Safari 5 offers an easy way to do so, which I have not seen listed anywhere. As is commonly known, in Safari 4 and later, if you click on a History or Bookmark Menu item while holding the Command key pressed, the bookmark...
Macworld reports that Apple has added listings of showtimes to its movie trailer site, offering a slick HTML5 interface that utilizes geo-location to find theaters in your area. When you visit the page, your Web browser will a…
Read More →
If you are using multiple browsers, and are annoyed by Safari (or your designated preferred browser) popping up while using a different browser, this hint can remove that annoyance. I’m a web developer, and while my main browser is WebKit , I also have Opera, Chrome and Firefox installed. If I’m using Opera and click a link in Mail,...
Apple has revamped the antenna performance page on its website, removing references to and videos of the performance of competitors’ smartphones in comparison to the iPhone 4. Apple launched the page after its iPhone 4 press conference to de…
Read More →
A new framework for the WebKit open source Web browser layout engine was revealed Thursday, bringing with it a built-in “split process model” that will keep Web content such as JavaScript, HTML and layout in a separate process in browsers such as Apple’s Safari and Mobile Safari.
Read More →
I had always thought that Chrome’s method of private browsing, which allows you to intermingle private and normal browsing in separate windows/tabs, was better than Safari or Firefox, which are an all-or-nothing proposition. Now Firefox, at least, can emulate Chrome’s behavior. With the Firefox add-on Private Browsing Window , the user...
Google Chrome for Mac (in beta) doesn’t yet give you a way to mass edit bookmarks in your Other Bookmarks folder. (You can click the yellow star next to a bookmarked page once it’s loaded to edit each bookmark one at a time, but that’s tedious.) As a workaround, you can do mass edits in TextEdit (or most any other text editor)....
Related Tweets from Twitter
|
brianpeiris (Brian Peiris) : Life with a high-DPI monitor (part 2): My favorite browsers don't support custom DPIs?! What happened to the "web on every screen" ideal?.. Updated : 2010-09-08T03:34:41Z | Reply | View Tweet |
|
britubes (Brian O'Hagan) : RT @mrenoch: Welcomes the class of '14 (!)... incoming students were born into a world with web browsers #eternalyouth.. Updated : 2010-09-08T03:31:13Z | Reply | View Tweet |
|
Web2N (Web 2.0 News) : #Web2 #News | Mozilla Hopes Web Games Will Remind Us That Browsers Are Still Awesome http://w2ne.ws/5zz.. Updated : 2010-09-08T03:00:14Z | Reply | View Tweet |
Related News from Digg