It's great that macrolanguage gets actively developed and extended again, now generation3
A bunch of those
newly added macro functions is listed for KM75 here:
http://kmeleonbrowser.org/changelog.txt
and here
http://kmeleonbrowser.org/wiki/index.php?id=MacroLanguage2
But am a bit lost how they work exactly... learning slowly, bit by bit as needed...
Yesterday finally got around to try out and play with "addperm", the most exciting for me! After finally having some understanding that it's all about those gecko settings "permissions.default.xxx", which ones exist and how they work, and how site exceptions are stored (permissions.sqlite in profile), how those can be edited (extension ExExPermission or Editor-tool), the whole system got a lot clearer to me.
Now the wiki-description for this new macro command is:
Quote
km-wiki
$SUCCESS = addperm( URL, TYPE, PERMISSION, [, SESSION_ONLY] );
Add a new permission for the specified site and return true when successful.
TYPE = "cookie", "image", ...
PERMISSION = "allow", "deny", "promp"
SESSION_ONLY = If true, permission will be deleted when k-meleon is exited
Now played around with it and slowly starting to get it...
But Mozilla has 3 permission types: 1=allow / 2=block /
3=same-site
addperm has 3 too, but: 1=allow / 2=block /
??=promp (ask each time?)
Prompting sounds interesting but cannot test it on my offline Vista.
Still, could the function be extended with the "same-site" type too?
Session_only sounds like another interesting unique feature...
The element TYPES, are those restricted by "addperm" itself or is it a free VAR that can use all possible mozilla types? script, stylesheet, object, media, subdocument, refresh...
Of course, after editing sites, there should also be a way to
manage those permissions later.
Only for cookies and images there is the ancient xul-editor, which is okay but so basic it's even lacking the same-site option (INT=3)
For all other types there is only ExExPermission (old version works great in KM1.6, but no idea how to get KM75-version working, download broken, and copying ExEx-files from 74+1 doesn't seem enough), or a free sqlite-editor.
Not sure which way would be best now for a (hopefully native) editor, little editors for single types like images+cookies? Or the complete ExEx-Editor, showing all permissions for 1 site together? But that thing is fascinating, and love its ultra tiny file size
Just the layout could use some improvements to save height... and an info-button... and refresh-type is missing...
Slightly Offtopic:
does "permissions.default.
refresh" work for anyone, and which KM version??
In KM1.6 it has zero effect... a little test page can be found with "schach"+"browsertest"
(sig)
New unofficial K-Meleon 76.4 (KMG76.4) available, in own subforum.
Based on Goanna engine, called 'test' builds forever but more stable as 75.1 acc. forum members. It's 1-2 generations ahead of predecessor KM76RC-2016
K-Meleon FAQ (link missing in forum sidebar)
Tips&Tricks -
Learning new stuff every day
New to K-Meleon?
What do you like? What not?