To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!Close
Welcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.Close
Host Permissions 11.01.11.02.1-signed
by Nag. MATSUI
About this Add-on
To setup new tab's default permissions for non-specified hosts, it is recommended to use "Tab Permissions" with this.
Open setup window from tab context menu "Host Permissions" od add-on menu, input web site and set permissions, then click "Set".
"Host Permissions" is not a URL base access controller. It is host base, tab permissions controller. For example,
now you are visiting 2 URL, "http://abc.example.com/index.html" and "http://def.example.com/index.html", both index.html page contain png image "http://img.example.com/image.png".
If you ban the image host "img.example.com" by Firefox basic function, you will never see the image.
If you disable "Image" permission of "img.example.com" on this add-on, nothing will happen. Because you are visiting "abc.example.com" or "def.example.com".
If you enable image permissions of "abc.example.com", and disable of "def.example.com", you will see the image on "abc.example.com" tab, but not on "def.example.com" tab.
If both "Tab Permissions" and "Bookmark Permissions" are installed, priority is confusing a bit. In general, "Bookmark Permissions" has highest priority, next "Host Permissions", then "Tab Permissions".
But it will be decided by whether Tab Permission's "Inheritance" is enabled or not, the tab is new or current, location transition occurs in the same host or not, and so on.
When you open link in new window, some function may not work.
"Tab Permissions" "Bookmark Permissions" : 11.01.11.01 or later
if you want to migrate, please follow below steps:
1) install sqlite-manager https://addons.mozilla.org/firefox/addon/sqlite-manager/
2) open sqlite-manager window, Database -> Connect Database, choose "permissions.sqlite" in your Firefox profile directory.
3) go "Execute SQL" tab, enter below line:
UPDATE "main"."moz_hosts" SET "type" = "hostperm" WHERE "type" = "tab"
4) click "Run SQL". close sqlite-manager and restart Firefox.
5) uninstall sqlite-namager
This add-on is not compatible with your version of Firefox because of the following: