General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: Previous12
Current Page: 2 of 2
Re: Would like a way to zoom... / javascript site exceptions
Posted by: JamesD
Date: November 10, 2017 02:19AM

siria

Are you sure I should be the one doing this? My mind is getting so that I miss the obvious too much.

Added these parts...

addpermB1_Viewer {
id($ARG);
}

and
setmenu($_menu,macro,"Images  >>  Viewer for:", "addpermB1_Viewer(openImagesPerm)");
setmenu($_menu,macro,"Cookies >>  Viewer for:", "addpermB1_Viewer(openCookiesPerm)");
setmenu($_menu,macro,"Popups  >>  Viewer for:", "addpermB1_Viewer(openPopupsPerm)");

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: JamesD
Date: November 10, 2017 02:30AM

Quote
anonymous

You want about:permissions with additional values for "image" and "script" on the right side?

I don't know. I just don't get the about system. Everything except script has been found by siria.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: JamesD
Date: November 10, 2017 03:09AM

Once pointed, I can sometimes go. All parts ready to test. Even scripts!

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Attachments: addpermB1_test.kmm (3.8 KB)  
Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: siria
Date: November 10, 2017 03:03PM

Quote
anonymous
You want about:permissions with additional values for "image" and "script" on the right side?

Oh, already xmas? Nice, hehe smiling smiley
(slightly wondering who you are and why you're hiding... :coolsmiling smiley



Edited 2 time(s). Last edit at 11/10/2017 03:05PM by siria.

Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: siria
Date: November 10, 2017 03:31PM

Quote
JamesD
Once pointed, I can sometimes go. All parts ready to test. Even scripts!
Check the end of lines 26+36 for typos
Otherwise "looks" okay to me, but cannot test myself

Of course never meant to push you in any way James smiling smiley
Everyone only knows themselves what they like or can do, provided enough time etc. Just meant that someone with a modern KM should test it, because I can't currently myself, and of course wouldn't harm if the (whoever) tester can even rewrite macros himself.

Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: JamesD
Date: November 10, 2017 07:19PM

Quote
siria
Check the end of lines 26+36 for typos

Yes, I sure am glad that you are checking my typing.

I hope this is all the typos. I did not change version # or date.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Attachments: addpermB1_test.kmm (3.8 KB)  
Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: siria
Date: November 10, 2017 09:35PM

Something from main.kmm:
setmenu($__m,macro,"&JavaScript","kmPrefs(javascript)");

Is that what &addpermB1_ViewerS" opens too? In KM1.6 there are no exceptions there yet, no idea about 76
At any rate it is already clear that addperm does work in fact smiling smiley

Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: anonymous
Date: November 10, 2017 11:25PM

@JamesD
Count of addpermB1_CookieSES == 1.
Count of addpermB1_CookiesSES == 3.


Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: JamesD
Date: November 11, 2017 11:50PM

Quote
anonymous
Count of addpermB1_CookieSES == 1.
Count of addpermB1_CookiesSES == 3.

Noted and changed to:

Count of addpermB1_CookieSES == 0.
Count of addpermB1_CookiesSES == 4.

Thanks

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Attachments: addpermB1_test.kmm (3.8 KB)  
Options: ReplyQuote
Re: Would like a way to zoom... / javascript site exceptions
Posted by: siria
Date: December 08, 2017 10:58PM

Sorry it took so long, have finally corrected the "promp" in the wiki.
And while at it, also added a few little examples for other stuff.

But frankly, after struggling again to understand all this "permissions" and exception stuff, for example here:
http://kmeleonbrowser.org/forum/read.php?1,143186,143335#msg-143335
And then looking again at rodocops screenshot of his Pro "PageInfo" addon:
Quote
rodocop
in KM 75 Pro or 75.1 Pro the 'PageInfo' XUL-module is present with "Permissions" tab.
image clickable

...it's once again gotten all foggy sad smiley What decides what the current page (in URLBAR) is allowed to show? Which permission stuff matters for "target", and which for "source" domains? I mean, that screenshot above shows "PAGE" permissions? And no choice for "3rd party" in that screenshot? While addon ExExceptions offers "3rd party" for all sorts of objects? And the "addperm" macro offers "allow" or "deny" and for some things "prompt"? And what does "pageToggleJS" exactly, is it about source domains, or perhaps actually target, current URL? It's all just one big chaos, at least for me.

But do not mean to discuss this further right now and here, too busy with other stuff currently. Just complaining about that convoluted permissions stuff tongue sticking out smiley

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


K-Meleon forum is powered by Phorum.