Making Firefox into a "Single-Site Browser"

Discussion in 'other software & services' started by vasa1, Feb 14, 2012.

Thread Status:
Not open for further replies.
  1. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,417
    Mention of a "Single-Site Browser" is here.

    m00nbl00d described how it's possible with Chrome or Chromium using the command line.

    Here's a way to do that with an existing installation of Firefox. I've used the SimpleBlock add-on for the purpose.

    It requires creating a text file called SimpleBlock.ini in the user's profile folder. The file will contain a regular expression such as this:
    Code:
    R: https?://(?!(My.bank.com|Second.site.com|Third.site.com))
    The presence of Second.site.com and Third.site.com (or more) depends on whether other sites are needed for the main site, My.bank.com, to function. If they aren't, the line would simply be:
    Code:
    R: https?://(?!(My.bank.com))
    Depending on the user, a separate profile with SimpleBlock installed can be made for the purpose. Or, the same profile (with SimpleBlock installed) can be used and SimpleBlock disabled when not required.

    This method works for me with Firefox 11 (beta).
     
  2. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    Nice to see it's possible to achieve it with Firefox. :thumb:

    I'm wondering if IE and Opera have something for them? IE would be a bit painful, though, as it doesn't allow profiles... unless one uses different user accounts. o_O
     
  3. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    Apparently, you can also use NoScript ABE function. But, it can only be done by web masters? :doubt:

    -http://noscript.net/abe/web-authors.html

    Internet Explorer 9 has Pinned Sites, by the way. I don't use IE9, so I didn't remember about it. :D I couldn't find anything about Opera, so far.

    -edit-

    Interesting. Mozilla had a dedicated site-specific browser. -https://en.wikipedia.org/wiki/Mozilla_Prism I suppose there wasn't much demand for it...

    It's still available for download -http://prism.mozillalabs.com/ It's also available as an extension. -https://addons.mozilla.org/en-US/firefox/addon/mozilla-labs-prism/

    Maybe they will still work with recent Firefox versions?
     
    Last edited: Feb 14, 2012
  4. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,417
    I don't know much about Opera and whether profiles are possible there. If the urlfilter.ini (?) allows for the type of regex used, it maybe possible?

    Frankly, I looked into this because of my interest in regex and because I already use something similar to exclude a couple of sites, askubuntu.com and youtube.com, from a general style sheet that I set up, thanks to banthaz and srazzano over at forum.userstyles.org.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.