Page 1 of 1

History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 05:48
by access2godzilla
Browsing Reddit in my free time has made me a fan of certain sections of the SFWPornNetwork. (It is a collection of high quality images, and it is NOT porn, contrary to what the name suggests). Unfortunately, the unusual nomenclature of these subreddits would wrongly suggest that I'm interested in obscenities, so is there some method to blacklist certain terms from being suggested in the URL bar? I'm envisioning the possibility that I launch PM, and type "a" in the URL bar, r/animalporn pops up and my boss/coworker draws assumptions from that.

Of course, I'm also open to other approaches to this problem.

Re: History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 07:34
by SvenG
Simple solution to the problem should be Private Browsing in a tab (via addon) or window. I use that pretty often when I have to follow obscure links.

Quick search on AMO led to
https://addons.mozilla.org/de/firefox/a ... toryblock/

Re: History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 08:02
by access2godzilla
The content on the pages are not a problem. For example, r/animalporn is NOT about animal porn but about awesome animal pictures. I don't need to block history, which, anyway are links to imgur/500px/minus etc. and do not contain anything questionable.

The problem is the title of the subreddits. Since I've bookmarked them (can't really remember so many of those r/*porn URLs), they may appear at any time while typing in the URL bar. Disabling bookmark suggestions is really not an option since I have a lot of other sites bookmarked as well.

Re: History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 10:49
by Moonchild
The problem is a combination of things:
  • The titles of the subreddits, as you said, but also
  • Bosses assuming that anything with "porn" in them is not work safe or undesired at the work place
  • Remembering history in the browser and/or using the awesomebar suggestions
Since you have them in your bookmarks AND in your history, and Pale Moon is doing its job suggesting from either by default, you'll get the suggestions.

I don't think there's a way at all to selectively filter those results; possibly something an add-on programmer might find a challenge to do.
As a workaround you can disable the suggestions. You could also set browser.urlbar.matchBehavior to 3, so whatever you type can't occur in the middle of something, filtering out searches. (e.g. "a" would no longer match r/animalporn because that begins with "r").

Re: History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 11:20
by access2godzilla
I do write my own scripts/programs from time to time, but programming an extension... *sigh*

I'm unfamiliar with extension programming, so I'd like to know if there are any methods to control the querying of history and bookmarks. (A very odd requirement being that I just need to do it for the awesomebar).

Re: History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 12:49
by Moonchild
You can restrict your searches to just specific different types of data sources by prefixing what you type.
# to match title, @ to match url, * to match bookmarks, ^ to match history, % to match open pages, + to match tags and ~ to match things you typed yourself.

But, there's no way to filter within those sources without an extension.

Re: History/bookmarks URLbar suggestion blacklisting

Posted: 2014-06-12, 15:24
by SvenG
Hmm, maybe I am not getting the problem, but wouldn't it work if you remove the respective entries from you history first, then use the addon linked above to block reddit from appearing in your history. That way you wont get suggestions from reddit anymore that are not bookmarks. Then take the respective bookmarks and rename the into something harmless "animalporn" into "fluffy little <place name of favorite animal here>". Okay, there are still the URLs but it should be possible to remove them with a bit of CSS.

Far from perfect but at least a workaround.