Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Toggle "permissions.default.xxx" (permdefs)
Posted by: siria
Date: August 19, 2015 01:05AM

A simple pref-toggle macro to TEST some blocker prefs for EXTERNAL script files, stylesheets, embedded objects, iframes etc.
Am not sure how many of those prefs really work or just do nothing, and in which KM version.
Feel free to test....

Guess this is mainly interesting for people who want to save as much bandwith as possible or who want to reduce possibly problematic 3rd-party stuff, even if the page functions and layout can get quite crippled if you block too much.

===> Old version, new one see next post! <===

This menu appears in Tools > Privacy:



Please check also the XUL addon with better GUI in this thread:
http://kmeleonbrowser.org/forum/read.php?1,134935

Attention, these are native Mozilla prefs, if you toggle them they stay stored in your profile that way. That means they will keep working even after uninstalling this toggle-macro! Simple solution: to handle those prefs manually, go to page "about:config" and filter for "permissions.default....", then right-click and reset.

PS: Toolbar Buttons with 3x Toggle (All / Site only / None) for those prefs are available with related macro Priv3Buttons: http://kmeleonbrowser.org/forum/read.php?9,135558

(Installation as usual, drop the attached kmm-file into your macros folder and restart)



Edited 5 time(s). Last edit at 09/28/2015 06:46AM by siria.

Attachments: permdefs_screen1.png (3.2 KB)   permdefs.kmm (4.2 KB)  
Options: ReplyQuote
Re: Toggle "permissions.default.xxx" (permdefs)
Posted by: siria
Date: August 19, 2015 09:08AM

New version v2, tried to improve the 1-2-3 toggle and display:



v2 attached HERE:



Edited 1 time(s). Last edit at 08/19/2015 09:09AM by siria.

Attachments: permdefs.kmm (5.6 KB)   permdefs_menu2.png (7.2 KB)  
Options: ReplyQuote
Re: Toggle "permissions.default.xxx" (permdefs)
Posted by: JohnHell
Date: August 19, 2015 02:59PM

Quote
siria
New version v2, tried to improve the 1-2-3 toggle and display

That is what I was going to suggest (I read the first post before go to bed this night).

Cycle through all prefs could seem tedious in the first macro.

Now, check which one it is and what value it has and change accordingly is better.

I'd only separate the menus in 3:

  • Allow content
    • Scripts
    • Objects
    • ...
    • All
  • Block content
    • Scripts
    • Objects
    • ...
    • All
  • Block thirk party content
    • Scripts
    • Objects
    • ...
    • All


But, anyway is a great job you did

Options: ReplyQuote
Re: Toggle "permissions.default.xxx" (permdefs)
Posted by: siria
Date: August 19, 2015 09:44PM

Thank you John! grinning smiley

Yes that 1-2-3 cycling was pure horror, but now am quite happy with the additional choice-menu smiling smiley

But still unhappy with the way too long and awkward main menu, but see no better way, sigh.
Have considered your suggestion, but guess will stay with v2 for the moment, otherwise the menu would get even longer. But who knows, feel free to play with the menu yourself, it's easy enough :-)

Options: ReplyQuote
Re: Toggle "permissions.default.xxx" (permdefs)
Posted by: Mello
Date: August 20, 2015 05:44PM

Great! Thanks for your work siria I am using in km 1.60
now

Options: ReplyQuote
Re: Toggle "permissions.default.xxx" (permdefs)
Posted by: siria
Date: September 08, 2015 09:34PM

Thank you smiling smiley
Am still working on version 3, but if anyone wants to get SITE exceptions, strongly recommend to check out this GREAT and tiny extension:

http://kmeleonbrowser.org/forum/read.php?9,124407

Basically it allows to create a black-white-list for special domains, while the job of the permdefs macro is togging the GLOBAL default settings. So both macros are related, and I'd throw in Blockeria too, whose purpose is to mass-toggle user defined pref groups with one click, by menu or toolbar buttons.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.