Sunday, September 28, 2014
10.8: Open a specific browser based on the URL
10.8: Open a specific browser based on the URLAug 27, '14 07:00:00AM • Contributed by: tom_sep Usually I want to open Gmail in Chrome and URLs pointing to my development server in Firefox. For everything else I use Safari.
There is this nifty free app called LinCastor that enables you to register your own handler for an URL. Although it had beed designed to register your own non-standard URL schemes, it can intercept standard http and https as well.
In LinCastor (which you need to double-click twice to fully open for editing): Add a new URL schemeChoose AppleScript handlerPaste the following code in, (replacing the stub code at the bottom): on handle_url(args) if (|URL| of args starts with "https://mail.google.") then tell application "Google Chrome" open location |URL| of args end tell else if (|URL| of args starts with "http://") then tell application "Firefox" open location |URL| of args end tell else tell application "Safari" open location |URL| of args end tell end return 1endObviously you should customize the code to suite your own specific needs. You can validate the script right in LinCastor before saving/activating it. I use the same mechanism to launch 'site specific browsers apps' created by Fluid. For example I have a JIRA app wrapper which looks for anything staring with http://issues.
[crarko adds: I tested this, and it works as described. LinCastor requires OS X 10.8 or later. I tried it in 10.10 beta 2, and it also worked there. There's not much documentation for it, so tinker around a bit to get the result you want.]
•You rated: 2 / 5 (72 votes cast)
No new hints No new comments No recent new links
Read more »
Saturday, September 27, 2014
Older browser behavior changes in Google search
Older browser behavior changes in Google searchSep 04, '14 07:00:00AM • Contributed by: Anonymous As of August 29, 2014, Google has decided to intentionally break old browsers. They say it's not a bug, it's by design here, even though Google's support page says it accepts Safari 4 as a fully supported browser.
If you want Google searches to go back to the modern style, you need to change your User-Agent string. For Safari, enable the Develop Window and use an option in there that works. Internet Explorer 9 (Windows) works, for example.
[crarko adds: I don't have an older system active at the moment to try this. It's inevitable that older software becomes obsolete, the same way older hardware does. I think the actual hint here is a reminder that if a site misbehaves, changing the user agent can be an effective troubleshooting tool.]
•You rated: 5 / 5 (5 votes cast)
No new hints No new comments No recent new links
Read more »