site permissions
Posted by: Merlin
Date: December 28, 2012 01:23AM

This Extension edit permissions.sqlite for site domain only.
You can specify which web sites are allowed or denied to load various types of document elements .

It Control in:

* Cookies .
* Image .
* Popup.
* Document (Block The domain site ).
* Object (Block All object for the domain like flash swf,flv...) .
* Script .
* stylesheet.
* Install .
* ObjectSubRequest .
* Refresh .
* Ping .
* Subdocument .
* XmlHttpRequest ( Sent & receive Data ).
* Xbl (xul).
* Dtd (xul,XML).

Also it support Import/Export , so you can create text with all permissions you want then Import it again .

screenshot: IMAGE1 , IMAGE2

Download Link : File.

Notes :
This Extension set permissions for ONLY THE SITE Domain , not for ALL sites or links or iframe embedded so may some elements not block correctly.


There is also global Pref Keys that block all this element WITH out determined site .
I will create update to the privacy Bar with this keys soon.

Merry Christmas and Happy New Year for every one .



Edited 1 time(s). Last edit at 12/28/2012 01:24AM by Merlin.

Attachments: ExExceptions.7z (12.2 KB)  
Re: site permissions
Posted by: rodocop
Date: December 28, 2012 01:48PM

cool stuff, Merlin!!


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Re: site permissions
Posted by: deadlock
Date: December 28, 2012 10:21PM

@Merlin
A very nice idea to use permissions.sqlite.

It is a simple and small solution for those who don't
want to install external filters and/or ABP.
I've disabled pictures, scripts and cookies for
kmeleon.sourceforge.net and it does no longer download
the pictures, set cookies or execute scripts.

Pictures with unknown extensions need different switches.

Adding 5000 sites may take a while, but import/export feature
allows the use of predefined settings.

What's up with the kmextensions folder?
I've seen it many times, but don't now who needs it.

Re: site permissions
Posted by: rodocop
Date: December 29, 2012 02:52AM

Quote
deadlock
What's up with the kmextensions folder?
I've seen it many times, but don't now who needs it.

KM Extension Manager when uninstalling complex extensions, not?


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Re: site permissions
Posted by: Merlin
Date: December 29, 2012 03:05AM

The ini files in kmextensions folder , store the extensions information that Extensions Manager need it for uninstall Extensions .
So if you use the extensions manager , you should keep this folder .



Edited 1 time(s). Last edit at 12/29/2012 03:25AM by Merlin.

Re: site permissions
Posted by: deadlock
Date: December 30, 2012 12:31AM

@rodocop
Thanks. I knew about KEM,
but never tried to use it.

I was always asking myself if it's the
only tool using the ini files.

@Merlin
If KEM uses the ini for uninstall,
the permissions.sqlite file in user profile
will continue blocking sites.

But now I understand, why all extensions
should contain kmextensions/*.ini.

ExExceptions.7z -> Extended-Exceptions_KEM.7z

I think this package is good enough to be added
to (F2) kmprefs.jar "Content Filter Options".
It only needs some translation.

Re: site permissions
Posted by: Wasi
Date: July 01, 2013 04:25PM

This is one of the best extension.
I am using it extensively.
Just to ask, will you write little guide? third-party etc
Great work, Thanks a lot

Re: site permissions
Posted by: siria
Date: September 09, 2015 04:18AM

Can't believe it... again! What a great little extension,exactly what I was missing for years, while it was here all the time!! *dropdead*
A full flegded sqlite-editor and the whole thingie just tiny 12kB, incredible. And working even on win98, and in KM1.6!! Had it even downloaded a year ago, that's where I stumbled upon it again now, but never got around to test and then forgot it again - as so much great stuff

screenshot borrowed from here:
http://kmeleonbrowser.org/forum/read.php?1,130161


On win98 the 3 special signs (checkmark, cross, etc) don't show right, but they do show in different colors and in clear text in the boxes above, and editing works perfectly fine too.

Yeah not all types may work, but the most missed ones work great:
stylesheet, object, subdocuments! (but could test only in KM1.6)

The matching GLOBAL prefs are called
permissions.default.image
permissions.default.script
permissions.default.stylesheet
permissions.default.object
permissions.default.subdocument
and some more

Some mozilla infos here (hostperm is obsolete, but the descriptions should still be valid for successor permissions.sqlite too)
http://kb.mozillazine.org/Hostperm.1

The macro "permdefs" creates a menu for those default settings.

Re: site permissions / addon ExExceptions / macro ExExPermission
Posted by: siria
Date: September 09, 2015 07:02AM

Couldn't resist and made Version-3 of the kmm-file, to create a button (not pretty, but a button) cool smiley
And moved the menu line from Tools into the PrivMenu.

If you want a toolbar button, install version-1 from first post, then
- copy the attached bmp-image from THIS post into the skins/default folder
- and the attached kmm-file into the macros folder (overwrites version-1)

Edit:
Aaargh... Forgot, in KM7X the folder structure and other stuff is different now, so the 7z in 1st post only works for KM1.x! sad smiley
KM7X will need an update first. Anyone have a newer version already...?

Edit-2:
Looks like it (2012 version) isn't meant to handle entries starting with a dot, like it's often used for cookies. Not sure what this means?

Edit-4:
new kmm-version v4 attached. Fixed a wrong path in KM7X, oops.
Renamed everything to original Addon name "ExExceptions", since it does all the work alone:
https://addons.mozilla.org/en-us/firefox/addon/exexceptions/



Edited 4 time(s). Last edit at 10/16/2015 04:58AM by siria.

Attachments: macro_ExExceptionsKM.bmp (774 bytes)   ExExceptions.kmm (3.3 KB)  
Re: site permissions / addon ExExceptions / macro ExExPermission
Posted by: rodocop
Date: September 09, 2015 03:56PM

Naruman has one ready (as xpi) in his '+1' addon pack.

Read his thread, siria!


Latest Release KM75.1 Latest dev KM76RC + u1 ||| Visit The K-Meleon Place and join me there!
Old good stuff: K-Meleon-1.6db+NS // KM-16-S2014 // 1.6beta2.6 // K-Meleon Twin+

RECOMMENDED! K-Meleon 75.1 Pro: Download portable =//= Discuss on forum

Re: site permissions / addon ExExceptions / macro ExExPermission
Posted by: siria
Date: October 16, 2015 05:10AM

Have updated the kmm+button above to version4, it mainly fixes a wrong path for KM7X. Note that the filenames are also changed (to ori ExExceptions), so the old ones must be deleted manually.
Must admit v4 today was done a bit in a hurry and not quite thoroughly tested yet, please post if something doesn't work cool smiley

For KM75 (74?) an xpi-addon instead of the jar is necessary.
Rodocop has included it in his attachment here:
http://kmeleonbrowser.org/forum/read.php?9,135677,135718#msg-135718
Works great, but I'd exchange the kmm with mine above, and include the button cool smiley

Currently that xpi has a minor bug, the URL-field is not filled automatically. But looks like we only have to copy over narumans fixed content-js-file from KM74.1... and perhaps also adjust the meta-inf?
Rodo...? ;-)

One big pity: The important "media" pref is missing yet in the manager sad smiley
And the xul-window could use a bit vertical compacting...

In KM75(.1? 7X?) there's some bug with maximizing xul-windows, and they do not fire $OnLoad, so have no workaround yet either. The window opens rather small.

If anyone prefers to open it in a TAB instead, just look inside the KMM-file and shorten "&OpenURL_InNewWindow" to "&OpenURL_InNew"


(sig) K-Meleon FAQ (link missing in forum sidebar)
New to K-Meleon? What do you like? What not?

K-Meleon forum is powered by Phorum.