Extensions :  K-Meleon Forum
All about K-Meleon extensions. 
Pages: 12345Next
Current Page: 1 of 5
macro troubleshoot_prefs (just info report, no fixes) (UPDATE v16 - 180511)
Posted by: siria
Date: November 11, 2017 02:35PM

Sometimes users have 'mysterious' probs why some sites don't work right for them. In most cases this is just a settings prob.

For quicker checking, this macro shows the current setting of some prefs, the 'usual suspects' (useragent, cookies, referer, image switch etc.)
FOR INFORMATION ONLY, it does not change anything.

UPDATE V2: More checks
UPDATE V3: Copies text into clipboard
UPDATE V4: With KM-version
UPDATE V5: Peanuts
UPDATE V6: Begin of major rewrite, unfinished
UPDATE V7: Complete rework, much more info, report as page not as popup
UPDATE V8: Finds DEFAULT UserAgent too. Single prefs: check javascript on/off
UPDATE V9: Singles: +autofill, +Password Manager / Profile+ErrorConsole: more descriptions, user.js
UPDATE V10: Peanuts (+Hint to middle-click "about:" links. +Question for Linux)
UPDATE V11: Now normal left-click on "about:" links, except KM1.5.4
UPDATE V12: same for KM1.5.4
UPDATE V13: added 4 more prefs for plugins/video/youtube. Menu placement with vendorcheck.
UPDATE V14: report appears also in old brasil-fork and Freds KM1.6-F
UPDATE V15: added 2 more prefs, for Ajax and strict JS (empty sites)
UPDATE V16: added checks for KM74-Goanna, pref for gecko-compat etc.

UPDATE v16 (2018-05-11)
(todo: Screenshot still outdated from version-5, much different since, no popup anymore)



Menu: Help > Troubleshooting INFO
KM-Version: 1.5.4 or newer (today KM77-Goanna)

Installation:
copy the attached kmm-file into a macros folder and restart.
(Uninstall: Delete the file again, or disable it temporarily in F2>Macro Extension)



Edited 20 time(s). Last edit at 05/11/2018 06:38AM by siria.

Attachments: troubleshoot_prefs_menu.png (5.4 KB)   troubleshoot_prefs.kmm (47.8 KB)  
Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: J.G.
Date: November 11, 2017 04:27PM

Thank you @siria, added and working well I guess. smiling smiley

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: siria
Date: November 11, 2017 06:48PM

And thanks to you, for the reminder about adblock!

UPDATED above to version-2, with this and also SSL/TLS and a few "more" pages smiling smiley

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: rodocop
Date: November 11, 2017 06:55PM

Great stuff as always, siria!


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

RECOMMENDED! K-Meleon 76 Pro ==» Download portable: 7zip or EXE =//= Discuss on forum
K-Meleon 75.1 Pro: Download =//= Discuss || Portable Flash plugin (x86/x64 DLLs)

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: J.G.
Date: November 11, 2017 11:50PM

Thank you @siria again, added and working well too, I guess. smiling smiley
Edit: this should be added by default to KMmeleon 76RCpro portable. smiling smiley



Edited 3 time(s). Last edit at 11/11/2017 11:52PM by J.G..

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: siria
Date: November 12, 2017 02:47AM

Thanks guys smiling smiley
Uhm, just had the idea instead of making a screenshot for the forum it would be a lot easier for users if they could simply paste the result as text from the clipboard.
=> updated macro to version-3

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: J.G.
Date: November 12, 2017 12:20PM

Quote
siria
Thanks guys smiling smiley
Uhm, just had the idea instead of making a screenshot for the forum it would be a lot easier for users if they could simply paste the result as text from the clipboard.
=> updated macro to version-3

These are my results:

-------------------------------------------------------------------------------

(Current GLOBAL settings. Can NOT check site exceptions!)
PREF: general.useragent.override =
Mozilla/5.0 (Windows NT 10.0; rv:56.0) Gecko/20100101 Firefox/56.0
general.useragent.compatMode.firefox = true
general.useragent.vendor =
general.useragent.vendorSub =
network.cookie.cookieBehavior = 0 (0=all / 1=domain / 2=none / 8=session)
network.http.sendRefererHeader (http) = 2 (0=No / 1=links / 2=links+images)
network.http.sendSecureXSiteReferrer (httpS) = true
dom.disable_image_src_set = false ('true' can block maps, captchas etc)
kmeleon.adblocking = true ('true' can block too much)
(If you have other AdBlock-tools installed, check them manually)
security.enable_ssl3 = false (old unsafe)
security.enable_tls = false
security.tls.version.min = 1 (TLS 0=SSL3 / 1=TLS 1.0 / 2=TLS1.1 / 3=TLS 1.2)
security.tls.version.max = 3
-------------------------------------------------------------------------------

Very useful the clipboard feature! Thanks @siria. smiling smiley

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: siria
Date: November 12, 2017 02:05PM

Interesting... so newer version have no vendor anymore.
And did you remove the empty lines inside yourself or is there a prob with double linebreaks now? When you paste it into a text editor are there no empty lines either?

PS: looks like a neverending macro again - next update in the works already, we sure could use the KM Version too, LOL!

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: Yogi
Date: November 12, 2017 04:13PM

Quote
siria
When you paste it into a text editor are there no empty lines either?

KM76/Win7



Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: siria
Date: November 12, 2017 04:46PM

Oops... oh great: of course, if the UA is NOT faked, there is none at all via pref! Sigh, another work to do...

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: J.G.
Date: November 12, 2017 05:39PM

Quote
siria
Interesting... so newer version have no vendor anymore.
And did you remove the empty lines inside yourself or is there a prob with double linebreaks now? When you paste it into a text editor are there no empty lines either?

PS: looks like a neverending macro again - next update in the works already, we sure could use the KM Version too, LOL!

I removed empty lines after paste from clipboard. surprised smiley

Attachments: Captura.JPG (64.2 KB)  
Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: siria
Date: November 12, 2017 06:21PM

Ah okay, thanks.

UPDATE: version 4 above cool smiley
Tested only in KM1.6, not sure if KM76 can also get the DEFAULT agent this way?

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: Yogi
Date: November 12, 2017 06:56PM



Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check)
Posted by: J.G.
Date: November 12, 2017 07:04PM

(Current GLOBAL settings. Can NOT check site exceptions!)
.
K-MELEON VERSION = 76.x (from platform.ini)
BuildID=20160426174420 / Gecko=38.8.0esrpre / src-341679f40bcb
-----
GENERAL.USERAGENT.OVERRIDE (fake) ==>
Mozilla/5.0 (Windows NT 10.0; rv:56.0) Gecko/20100101 Firefox/56.0
general.useragent.compatMode.firefox = true
general.useragent.vendor + vendorSub =
-----
network.cookie.cookieBehavior = 0 (0=all / 1=domain / 2=none / 8=session)
network.http.sendRefererHeader = 2 (HTTP 0=No / 1=links / 2=links+images)
network.http.sendSecureXSiteReferrer = true (HTTPS)
dom.disable_image_src_set = false ('true' can block maps, captchas etc)
kmeleon.adblocking = true ('true' can block too much)
(If you have other AdBlock-tools installed, check them manually)
-----
security.enable_ssl3 = false (old unsafe)
security.enable_tls = false
security.tls.version.min = 1 (TLS 0=SSL3 / 1=TLS 1.0 / 2=TLS1.1 / 3=TLS 1.2)
security.tls.version.max = 3


smiling smiley



Edited 1 time(s). Last edit at 11/12/2017 07:06PM by J.G..

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: siria
Date: November 12, 2017 07:27PM

Great, it works! smiling smiley Thanks for testing!

Yogi, have borrowed your "modern" looking screen above (for now, until a version-5 may come)

REQUEST to DORIAN + RODOCOP
Please add K-Meleon VERSION info in the file platform.ini!


It would be so easy, and otherwise it's near impossible to recognize a beta, RC, stable, Pro or whatever version. We had this prob for so many years already. And the "about KM" page reveals the "sub-version" only in rare cases too. Don't know syntax, perhaps similar?

[Build]
BuildID=20160426174420
Milestone=38.8.0esrpre
SourceStamp=341679f40bcb

[K-Meleon]
KM_Milestone=76.0RC_PRO
KM_Date=20171112

PS rodocop: just saw in KM76pro most readme.html's even say 75.0.0



Edited 2 time(s). Last edit at 11/12/2017 07:38PM by siria.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: rodocop
Date: November 12, 2017 07:39PM

Well done, siria!

Will add platform.ini info and your macro (to Troubleshooting menu) to the upcoming release of KM 76 Pro!


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

RECOMMENDED! K-Meleon 76 Pro ==» Download portable: 7zip or EXE =//= Discuss on forum
K-Meleon 75.1 Pro: Download =//= Discuss || Portable Flash plugin (x86/x64 DLLs)



Edited 1 time(s). Last edit at 11/12/2017 07:40PM by rodocop.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: rodocop
Date: November 12, 2017 07:46PM




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

RECOMMENDED! K-Meleon 76 Pro ==» Download portable: 7zip or EXE =//= Discuss on forum
K-Meleon 75.1 Pro: Download =//= Discuss || Portable Flash plugin (x86/x64 DLLs)

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: siria
Date: November 12, 2017 08:53PM

Thank you smiling smiley

New version-5 see above cool smiley
Changed text for cookieBehaviour, and if the TLS-pref is not present or false, the line is misleading and hidden, since "tls.max" is still active.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: J.G.
Date: November 12, 2017 11:05PM

Thanks @siria, version 5 installed! smiling smiley

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: anonymous
Date: November 13, 2017 12:13AM

@Siria
What happened to your Vista?

In 2015 JamesD added $VERSION to KMeleonWiki (Macro Language 2), but reading "Lastversion" from "version.ini" in profile directory is compatible with older browsers.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V4)
Posted by: Yogi
Date: November 13, 2017 07:28AM



Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: siria
Date: November 13, 2017 08:07AM

Thanks yogi, have exchanged it above.

Quote
anonymous
In 2015 JamesD added $VERSION to KMeleonWiki

That's useless with such a common name (something like $KMversion would be a lot better), and IIRC it wasn't write-protected when I first tested it. No idea about latest KM versions, but doesn't matter because in old KM versions it would still be overwritten by careless var names in user macros.

Quote
anonymous
reading "Lastversion" from "version.ini" in profile directory is compatible with older browsers.

Ah, good tip, didn't know! But upon checking my old versions, it doesn't help either, still too coarse. KM1.5.0beta has same number as KM1.5.4; all KM1.6 versions share a common number too but had lots of bugs in dev versions, and especially KM1.7alpha still has the same number as KM1.6! That rules it out completely, because 1.7alpha is one big mess especially for macros, especially needing injectJS.

(Vista still alive, but can't access it for awhile)



Edited 1 time(s). Last edit at 11/13/2017 08:08AM by siria.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: siria
Date: November 13, 2017 03:33PM

The KM-version info for 7X, based on the gecko in platform.ini should get more finetuning. So far have this, based on some old zips on my (full) disk:
##### 24.3=adodu 1.8 / 24.6=naruman beta4
##### ? 25.1=naruman "74d+1" "74b3"
$_g>="24" ? $_k="74.x" : 0;
##### 31.8=RC+stable
$_g>="31" ? $_k="75.0.x" : 0;
$_g>="31.8" ? $_k="75.1.x" : 0; # RC+stable
##### 38.2=76a+b1 38.3=beta2 38.5=beta3 38.8=RC+stable
$_g>="38.0" ? $_k="76 alpha" : 0;
$_g>="38.2" ? $_k="76 alpha/beta1" : 0;
$_g>="38.3" ? $_k="76 beta2" : 0;
$_g>="38.5" ? $_k="76 beta3" : 0;
$_g>="38.8" ? $_k="76RC or stable" : 0;
$_g>="45" ? $_k="77.x" : 0;

Can dig more in backups or new downloads, but if anyone has more versions handy and a faster computer and enough time, it would help to finetune more, especially the non-stable versions cool smiley

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: J.G.
Date: November 13, 2017 04:06PM

Quote
siria

$_g>="45" ? $_k="77.x" : 0;

Kmeleon 77? surprised smiley



Edited 1 time(s). Last edit at 11/13/2017 04:06PM by J.G..

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: siria
Date: November 13, 2017 05:16PM

Perhaps I should post also the next contained lines cool smiley
$_g>="45" ? $_k="77.x" : 0;
$_g>="52" ? $_k="78.x" : 0;
$_g>="59" ? $_k="79.x" : 0;
$_g>="66" ? $_k="80.x" : 0;

Hey, just preparing for the future grinning smiley Frankly not much hope to ever get that far, but a few lines more in this macro don't do any harm. The prob is that KM's engine is dragging behind, and gecko59 comes already next March!

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: J.G.
Date: November 13, 2017 07:05PM

@siria Nice idea! Luck should be at our side! cool smiley

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: siria
Date: November 13, 2017 11:21PM

Quote
anonymous
The executable sets "LastVersion" on start.
17104933 == 0x1050025 == 1.5.025 == K-Meleon 1.5.4
33751044 == 0x2030004 == 2.3.004 == K-Meleon 76b3u1, 76b3u2
33751045 == 0x2030005 == 2.3.005 == K-Meleon 76RCu1
33751046 == 0x2030006 == 2.3.006 == K-Meleon 76RCu2
33751047 == 0x2030007 == 2.3.007 == K-Meleon 76RC2

Cool... do I understand this right, KM7X puts it also in a version.ini in the profile, just like KM1.x? Same number as in $VERSION, but reliable?

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: anonymous
Date: November 13, 2017 11:44PM

@siria
Yes. It has to compare current version with LastVersion to update old profiles as needed and updates that number if different.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: siria
Date: November 14, 2017 03:38AM

Great, thanks! You don't happen to know of a list somewhere...? cool smiley
Starting with 7X is enough.

Options: ReplyQuote
Re: macro troubleshoot_prefs (no change, only to check) (V5)
Posted by: anonymous
Date: November 14, 2017 07:47PM

No, go ahead and write the macro. Display LastVersion if not listed.
  1. Extract a portable package from local archive and start it.
  2. Copy package name.
  3. Copy LastVersion.
  4. Convert LastVersion DEC to HEX.
Users can provide package names with LastVersion.

Options: ReplyQuote
Pages: 12345Next
Current Page: 1 of 5


K-Meleon forum is powered by Phorum.