K-Meleon on Goanna :  K-Meleon Web Browser Forum
Building K-Meleon on top of the Goanna engine 
Pages: PreviousFirst...23456789101112...LastNext
Current Page: 7 of 33
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 10, 2017 02:31PM

Quote
siria
Quote
roytam1
for UA issue, should I just replace it with "UserAgent for K-meleon 7x.x 2017-11-27s.zip"?

USERAGENTS:
In my opinion yes (anyone else?) That is, just the kmm+js files are enough.
Both KM75 compat-macros can be deleted then (1-uagent.kmm is just older version of 2-useragentmode.kmm)
The function of 2-useragentmode.kmm is included in our newer macro too, so can be deleted too.

There is just one prob: the different compat-mode toggles sad smiley
(but not worse compared to the prob in current build, so for now it is still a progress)

In gecko (in your kmeleon.js too) the compat pref is:
BOOL: general.useragent.compatMode.firefox
In goanna (in your "kmprefs-additional.js"):
INT: general.useragent.compatMode

So it's 2 different pref names, right?
Does the gecko-pref has any effect in goanna? And vice-versa?
Another tiny prob, the INT pref is unknown for non-goanna-experts, if you would add a comment line in the js what 0/1/2 are doing exactly that would help too. .

I would like to modify the new macro to include both compat-modes somehow, for universal use in all KM-versions. Just a bit complicated to decide how and what exactly, currently rather unsure.... or perhaps keeping the compat-stuff in separate macros again.... but that makes it hard to show them in the same menu, especially in the default button menu, which is created in toolbars.cfg...

And still one of the main probs for goanna-macros:
just exists no very simple engine-check, if gecko or goanna!
Best would be a simple pref, created in kmeleon.js.
And/or platform.ini declaring "=goanna" in a [K-Meleon] section.

In KM1.X things were so easy, they contained a pref for vendor+vendorSub, and engine was always gecko.
No idea why Mozilla wanted those prefs deprecated, but if written into js-file they are still usable anyway.
general.useragent.vendor "KM-Goanna" perhaps? (have no clue though what is 'appropriate' or not)
Or revive one of those even older obsolete prefs?
general.useragent.appName
general.useragent.appVersion
general.useragent.productComment
general.useragent.vendorComment
Or how about a completely new pref in kmeleon.js?
Hehe... Supposing Dorian wouldn't mind???
kmeleon.engine=gecko or goanna
kmeleon.engineSub=3.4.1


Prob is you're flying at rocket speed and I'm far too slow trailing behind :-/

Actually general.useragent.compatMode.firefox is no use in Goanna build.

And for now, detecting between gecko and goanna can only by detecting goanna-only chrome-level services. Setting prefs like general.useragent.vendor maybe good in kmprefs-additional.js.

EDIT:
So now I played with mozilla's preprocessor.py, and now it will add these lines into GRE goanna.js:
pref("platform.name", "Goanna");
pref("platform.version", "3.4.1");

diff:
Quote

diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 6551eb596..d9060de79 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4907,3 +4907,10 @@ pref("dom.secureelement.enabled", false);
 
 // Turn rewriting of youtube embeds on/off
 pref("plugins.rewrite_youtube_embeds", true);
+
+// additional
+pref("platform.name", "Goanna");
+#filter substitution
+pref("platform.version", @MOZILLA_VERSION@);
+#unfilter substitution
+

Touching platform.ini is something I don't want since everytime engine updated will just overwrite platform.ini with [Build] section only.



Edited 4 time(s). Last edit at 12/10/2017 03:36PM by roytam1.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: Chanson Yu
Date: December 10, 2017 03:10PM

Quote
roytam1
k-meleon.exe has to be updated for cache2 API. 7z archive updated.
Now command plugin(privacy,ClearCache); works on KMGoanna,as for official KM76 only wish Dorian to update the k-meleon.exe and privacy.dll files?

Quote
hermes
I use superdrag every day and this feature is fully functional. The fact that gesture is not visible, does not affect functionality.
Agree with you,I just need the superdrag function. smiling smiley

Quote
roytam1
Tried to get back KM76 changes but get rid of GDI+ drawing functions. Please try and report back here.
http://o.rthost.win/gpc/files1.rt/km76g-gestures-nogdip.7z
Thanks! The superdrag function is back,but another bug comes up,please see the picture below. And it's hard to make that? Opening the search result for selected text in new tabs.


When gestures plugin enabled and playing a flash vedio,you can't make your mouse stop on the Controls Bar,only if you pauses the vedio.


________________________________________
K-Meleon zh-CN: http://pan.baidu.com/s/1o6NoHfG

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 10, 2017 03:47PM

Quote
Chanson Yu
Quote
roytam1
k-meleon.exe has to be updated for cache2 API. 7z archive updated.
Now command plugin(privacy,ClearCache); works on KMGoanna,as for official KM76 only wish Dorian to update the k-meleon.exe and privacy.dll files?

Quote
hermes
I use superdrag every day and this feature is fully functional. The fact that gesture is not visible, does not affect functionality.
Agree with you,I just need the superdrag function. smiling smiley

Quote
roytam1
Tried to get back KM76 changes but get rid of GDI+ drawing functions. Please try and report back here.
http://o.rthost.win/gpc/files1.rt/km76g-gestures-nogdip.7z
Thanks! The superdrag function is back,but another bug comes up,please see the picture below. And it's hard to make that? Opening the search result for selected text in new tabs.
https://s8.postimg.cc/6nde16j3p/Move_Slider.png

When gestures plugin enabled and playing a flash vedio,you can't make your mouse stop on the Controls Bar,only if you pauses the vedio.
https://s8.postimg.cc/p2xuygumd/Controls_Bar.png

for scrollbar issue, could you please redownload km76g-gestures-nogdip.7z and replace gestures.dll for testing?

for video player control issue, does km75.1 gestures.dll work in this situation? (of course, try the upper one in this situation and please report back)
http://o.rthost.win/gpc/files1.rt/gestures_km751_recompile.7z



Edited 2 time(s). Last edit at 12/10/2017 03:49PM by roytam1.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: Dorian
Date: December 10, 2017 11:59PM

Thank for taking care of that little lizard while I shamefully left it sad smiley

It's nice to see kmeleon can work with goanna with such litte changes.
The fact that they don't include e10s seems to make this a lot easier.

I would like to see this becoming kmeleon 77(?) if that can keep it alive.

And I see you're already discovered the joys of the gestures plugin. I don't think it ever worked properly without breaking something, because of how it hijacks the mouse.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 11, 2017 12:02AM

Dorian!! Ouf, kinda glad you're back smiling smiley smiling smiley smiling smiley

PS: Have almost finished the useragent macro with Gecko+Goanna-compat.
And -couldn't resist- added another little gimmick, a "Last Input" function, to later remember again a manually typed "custom" agent.
Will post it tomorrow.



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

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 11, 2017 01:02AM

@Dorian

Module built-in Adblock doesn't work with Goanna, it would be possible to ask You to lay out the code for roytam1 so he corrected the work of this great plugin?

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 11, 2017 01:43AM

Quote
Dorian
Thank for taking care of that little lizard while I shamefully left it sad smiley

It's nice to see kmeleon can work with goanna with such litte changes.
The fact that they don't include e10s seems to make this a lot easier.

I would like to see this becoming kmeleon 77(?) if that can keep it alive.

And I see you're already discovered the joys of the gestures plugin. I don't think it ever worked properly without breaking something, because of how it hijacks the mouse.
Thanks for coming back!
I just hope you can continue K-Meleon project and make K-Meleon great again!

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 11, 2017 03:08AM

@roytam1

I understand the problem described Chanson Yu. Yes, the problem exists. I have prepared for you a local test to reproduce this problem. The problem, as the Hydra, have a three heads.

The first problem was solved by Goanna engine. In normal KM 76RC2 it was impossible to drag files onto the window if you have enabled the KM module of the mouse gestures.
Here there is no problem.

The next problem is that if you ever use a mouse gesture (when switched on gestures, of course) there is a lock included via the <object> tag and other embedded content (like it is in another layer after that). It turns out that the object is hidden behind transparent glass. He realizes not all direct pressing and so on.

You can check it on the prepared sample: (~24 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/YsEcY8MD3QVdZK

There's an empty player swf is inserted as iframe. All files is local. Player have (in the upper right corner) a "ring" to switch to full screen mode. Without the module of gestures, the player responds to each click and quickly change modes.

If you enable the module, but not use not a single gesture (using the right mouse button) all is still well. BUT! If you make at least one gesture, player will cease to perceive the pressing on the ring (for fullscreen mode). But it should be noted if you press VERY often, one of 10-15 clicks passes.

A small video to show the idea (only for visualization of the gestures here used old plugin, but essentially it does not change): (~215 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/svHEm7_x3QVeLy

If you need support for FLASH / SWF here latest new version of FLASH 28 for KM: (~6.9 Mcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/OD9WVUZ53QVdZq
DLL only (but for this example can and old 10th version : )

And the last head of Hydra is that when you move sliders scroll can be lost following mouse gesture. Or more often the omission of a mouse gesture following the release of the slider.



Edited 3 time(s). Last edit at 12/11/2017 03:13AM by hermes.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 11, 2017 05:50AM

@roytam1

KM cannot open the path (using file / open or [CTRL] + O): (as example)

C:\TEMP\TEST® FOLDER\ПРИМЕР_ПАПКИ\ТЕСТ_на_ОТКРЫТИЕ\MORE_FOLDER\TEST.HTM

a cunning combination of a specific long non-standard symbol, a space and two languages. Earlier this way caused the crash of the browser (in ... v.75/75.1/76a/76b/76bu1/76bu2/76b2 fixed in 76b2u1) on systems earlier Vista's. In Vista+ falling does not cause, but also can't do it.

To solve this problem, I wrote a private external module, which changed the path to the 8.3 standard, and then it can be understood by browser.

Set for the local test: (~262 Bytes)
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/8AWjZMWm3QVhjL

File TEST.HTM contains the text "TEST - OK!" and it should appear on the screen.
I can to offer my plug-if it will help. It also allows (batch) to open even whole folders.
This extension allows you to easily pass this test: (~6 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/Mdy-EqSj3QVjVQ

You need to put the folders from the archive to the root folder of the browser.
Invoked from the browser as "[ALT] + O" (combination can be changed in the macro).
...
(old post) http://kmeleonbrowser.org/forum/read.php?8,136454,136504#msg-136504

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 11, 2017 07:29AM

Quote
hermes
@roytam1

KM cannot open the path (using file / open or [CTRL] + O): (as example)

C:\TEMP\TEST® FOLDER\ПРИМЕР_ПАПКИ\ТЕСТ_на_ОТКРЫТИЕ\MORE_FOLDER\TEST.HTM

a cunning combination of a specific long non-standard symbol, a space and two languages. Earlier this way caused the crash of the browser (in ... v.75/75.1/76a/76b/76bu1/76bu2/76b2 fixed in 76b2u1) on systems earlier Vista's. In Vista+ falling does not cause, but also can't do it.

To solve this problem, I wrote a private external module, which changed the path to the 8.3 standard, and then it can be understood by browser.

Set for the local test: (~262 Bytes)
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/8AWjZMWm3QVhjL

File TEST.HTM contains the text "TEST - OK!" and it should appear on the screen.
I can to offer my plug-if it will help. It also allows (batch) to open even whole folders.
This extension allows you to easily pass this test: (~6 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/Mdy-EqSj3QVjVQ

You need to put the folders from the archive to the root folder of the browser.
Invoked from the browser as "[ALT] + O" (combination can be changed in the macro).
...
(old post) http://kmeleonbrowser.org/forum/read.php?8,136454,136504#msg-136504
File -> Open or Ctrl+O not working on such file, but drag and drop works.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 11, 2017 08:38AM

Quote
roytam1
File -> Open or Ctrl+O not working on such file, but drag and drop works.

If you checked, this proposed module easy can open this way. Complex file names and folders to 8.3 standard (as in classical DOS). Used GetShortPathName (API). It is also important to use quotation marks. In General, using short names and quotation marks, you can open any files without any problems. Another way is to use UNC paths (for this reason drag and drop allows to open file).



Edited 5 time(s). Last edit at 12/11/2017 12:34PM by hermes.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: Chanson Yu
Date: December 11, 2017 02:12PM

Quote
roytam1
For scrollbar issue, could you please redownload km76g-gestures-nogdip.7z and replace gestures.dll for testing?
The scrollbar issue was fixed,thank you.

Quote
roytam1
For video player control issue, does km75.1 gestures.dll work in this situation? (of course, try the upper one in this situation and please report back)
http://o.rthost.win/gpc/files1.rt/gestures_km751_recompile.7z
Yes,KM75.1 gestures.dll works and no problem.
Gestures_km751_recompile also has the video player control issue in KM76 and KMGoanna.
Please see the differences between KM75 and KM76 in the vedio made by me.

Quote
Dorian
Thank for taking care of that little lizard while I shamefully left it sad smiley
I'm very glad to see you again,Dorian. Thanks for coming back! smiling smiley

________________________________________
K-Meleon zh-CN: http://pan.baidu.com/s/1o6NoHfG



Edited 1 time(s). Last edit at 12/11/2017 02:14PM by Chanson Yu.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 11, 2017 03:34PM

Quote
Chanson Yu
Please see the differences between KM75 and KM76 in the vedio made by me.

That's right, KM75 regarding "runaway" player interface have been implemented better, but nevertheless there was a problem described here and the proposed example clearly demonstrates this.

Unfortunately, all problems a module of gestures has not yet been resolved.

Quote
hermes
@roytam1

I understand the problem described Chanson Yu. Yes, the problem exists. I have prepared for you a local test to reproduce this problem. The problem, as the Hydra, have a three heads.

The first problem was solved by Goanna engine. In normal KM 76RC2 it was impossible to drag files onto the window if you have enabled the KM module of the mouse gestures.
Here there is no problem.

The next problem is that if you ever use a mouse gesture (when switched on gestures, of course) there is a lock included via the <object> tag and other embedded content (like it is in another layer after that). It turns out that the object is hidden behind transparent glass. He realizes not all direct pressing and so on.

You can check it on the prepared sample: (~24 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/YsEcY8MD3QVdZK

There's an empty player swf is inserted as iframe. All files is local. Player have (in the upper right corner) a "ring" to switch to full screen mode. Without the module of gestures, the player responds to each click and quickly change modes.

If you enable the module, but not use not a single gesture (using the right mouse button) all is still well. BUT! If you make at least one gesture, player will cease to perceive the pressing on the ring (for fullscreen mode). But it should be noted if you press VERY often, one of 10-15 clicks passes.

A small video to show the idea (only for visualization of the gestures here used old plugin, but essentially it does not change): (~215 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/svHEm7_x3QVeLy

If you need support for FLASH / SWF here latest new version of FLASH 28 for KM: (~6.9 Mcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/OD9WVUZ53QVdZq
DLL only (but for this example can and old 10th version : )

And the last head of Hydra is that when you move sliders scroll can be lost following mouse gesture. Or more often the omission of a mouse gesture following the release of the slider.



Edited 1 time(s). Last edit at 12/11/2017 03:36PM by hermes.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: anonymous
Date: December 11, 2017 11:58PM

@hermes
C:\TEMP\TEST® FOLDER\ПРИМЕР_ПАПКИ\ТЕСТ_на_ОТКРЫТИЕ\MORE_FOLDER\TEST.HTM

If K-Meleon converts it before it calls 'LoadURI', there is no problem to open it in XP-SP3. 'LoadURI' in old Gecko versions accepts this:

file:///C:/TEMP/TEST® FOLDER/ПРИМЕР_ПАПКИ/ТЕСТ_на_ОТКРЫТИЕ/MORE_FOLDER/TEST.HTM

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: ngu
Date: December 12, 2017 01:58AM

Quote
Chanson Yu

Quote
roytam1
For video player control issue, does km75.1 gestures.dll work in this situation? (of course, try the upper one in this situation and please report back)
http://o.rthost.win/gpc/files1.rt/gestures_km751_recompile.7z
Yes,KM75.1 gestures.dll works and no problem.
Gestures_km751_recompile also has the video player control issue in KM76 and KMGoanna.
Please see the differences between KM75 and KM76 in the vedio made by me.

Looks like it has nothing to do with gestures.dll. Even if you delete the gesture.dll file, KM76 still can not well handle AiQiYi flash. I think it is KM76 itself that causes this problem.



Edited 2 time(s). Last edit at 12/12/2017 02:29AM by ngu.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 12, 2017 02:04AM

Finally got my hands on a better machine again, and could look at things myself!
And took a bunch of notes right away, just looking around a bit, without surfing.

For example since a few years the Compact menu (gear wheel) is active out-of-box, no main menu line visible. But that means, still no Open-File command by menu. It's still missing. The only other missing one was "Offline" mode, but this is now there.

And in the pref sheets (F2) there are 2-3 sub-tabs broken on the right side.

Quote
roytam1
And for now, detecting between gecko and goanna can only by detecting goanna-only chrome-level services.

EDIT:
So now I played with mozilla's preprocessor.py, and now it will add these lines into GRE goanna.js:
pref("platform.name", "Goanna");
pref("platform.version", "3.4.1");

Great, thanks! That will be available with "getpref" like other prefs too? Didn't find it today, but suppose it's just too early yet.
Looking around for alternatives for engine-check, found just about no fitting files or textcontent for "goanna", but then discovered there are a bunch of Palemoon prefs in about:config! Lots of services-sync stuff. Those are definitely not in any earlier KM-gecko builds, so will probably take one of those for now. Not sure which one yet. Or if users would modify or delete them...
If it happens that a future KM-version would be build on a modern Gecko again, then I assume those sync-prefs will not point to Palemoon anymore, so this check would stay valid?

But was mighty surprised to stumble over this default pref:
general.useragent.site_specific_overrides=true
How does that work??
Am afraid that would kinda interfere with our global-switcher macro...



Edited 1 time(s). Last edit at 12/12/2017 02:10AM by siria.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 12, 2017 02:27AM

Quote
siria
Finally got my hands on a better machine again, and could look at things myself!
And took a bunch of notes right away, just looking around a bit, without surfing.

For example since a few years the Compact menu (gear wheel) is active out-of-box, no main menu line visible. But that means, still no Open-File command by menu. It's still missing. The only other missing one was "Offline" mode, but this is now there.

And in the pref sheets (F2) there are 2-3 sub-tabs broken on the right side.

Quote
roytam1
And for now, detecting between gecko and goanna can only by detecting goanna-only chrome-level services.

EDIT:
So now I played with mozilla's preprocessor.py, and now it will add these lines into GRE goanna.js:
pref("platform.name", "Goanna");
pref("platform.version", "3.4.1");

Great, thanks! That will be available with "getpref" like other prefs too? Didn't find it today, but suppose it's just too early yet.
Looking around for alternatives for engine-check, found just about no fitting files or textcontent for "goanna", but then discovered there are a bunch of Palemoon prefs in about:config! Lots of services-sync stuff. Those are definitely not in any earlier KM-gecko builds, so will probably take one of those for now. Not sure which one yet. Or if users would modify or delete them...
If it happens that a future KM-version would be build on a modern Gecko again, then I assume those sync-prefs will not point to Palemoon anymore, so this check would stay valid?

But was mighty surprised to stumble over this default pref:
general.useragent.site_specific_overrides=true
How does that work??
Am afraid that would kinda interfere with our global-switcher macro...

You can press Alt+F for menu, with arrow keys(left/right) for switching menu.

for site-specific user-agent override, it looks like this:

general.useragent.override.<domain> = <spoofed user-agent>

Example:

general.useragent.override.addons.mozilla.org = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.9) Gecko/20100101 Firefox/27.9 (Pale Moon)"

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 12, 2017 02:30AM

Regarding site-specific UserAgents, finally found a really interesting link:
http://forums.mozillazine.org/viewtopic.php?f=38&t=3031074

If that is true, that all it would take for a macro is a bit pref-juggling, that would be quite interesting. Providing the engine has the function itself working already.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 12, 2017 02:30AM

Quote
ngu
Quote
Chanson Yu

Quote
roytam1
For video player control issue, does km75.1 gestures.dll work in this situation? (of course, try the upper one in this situation and please report back)
http://o.rthost.win/gpc/files1.rt/gestures_km751_recompile.7z
Yes,KM75.1 gestures.dll works and no problem.
Gestures_km751_recompile also has the video player control issue in KM76 and KMGoanna.
Please see the differences between KM75 and KM76 in the vedio made by me.

Looks like it has nothing to do with gestures.dll. Even if you delete the gesture.dll file, KM76 still can not well handle AiQiYi flash. I think it is KM76 itself that causes this problem.
I can't debug this unless there is a clip playable outside China.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 12, 2017 02:36AM

Quote
roytam1
for site-specific user-agent override, it looks like this:

general.useragent.override.<domain> = <spoofed user-agent>
Example:
general.useragent.override.addons.mozilla.org = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.9) Gecko/20100101 Firefox/27.9 (Pale Moon)"

Really, that works? (cannot test, not online)
That would mean no interference with global settings, and for site-switchers no highly complicated addons necessary, let alone omni-ja-embeds, just plain macros smiling smiley

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 12, 2017 02:46AM

Quote
siria
Quote
roytam1
for site-specific user-agent override, it looks like this:

general.useragent.override.<domain> = <spoofed user-agent>
Example:
general.useragent.override.addons.mozilla.org = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.9) Gecko/20100101 Firefox/27.9 (Pale Moon)"

Really, that works? (cannot test, not online)
That would mean no interference with global settings, and for site-switchers no highly complicated addons necessary, let alone omni-ja-embeds, just plain macros smiling smiley
Seems not working yet, I will look for it later.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 12, 2017 05:58AM

Quote
roytam1
I can't debug this unless there is a clip playable outside China.

@roytam1
This is a similar case. You can debug portable and offline example?
I can modify the sample if it is not good enough.
It seemed to me it clearly shows the problem.


Quote
hermes
The next problem is that if you ever use a mouse gesture (when switched on gestures, of course) there is a lock included via the <object> tag and other embedded content (like it is in another layer after that). It turns out that the object is hidden behind transparent glass. He realizes not all direct pressing and so on.

You can check it on the prepared sample: (~24 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/YsEcY8MD3QVdZK

There's an empty player swf is inserted as iframe. All files is local. Player have (in the upper right corner) a "ring" to switch to full screen mode. Without the module of gestures, the player responds to each click and quickly change modes.

If you enable the module, but not use not a single gesture (using the right mouse button) all is still well. BUT! If you make at least one gesture, player will cease to perceive the pressing on the ring (for fullscreen mode). But it should be noted if you press VERY often, one of 10-15 clicks passes.

A small video to show the idea (only for visualization of the gestures here used old plugin, but essentially it does not change): (~215 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/svHEm7_x3QVeLy

If you need support for FLASH / SWF here latest new version of FLASH 28 for KM: (~6.9 Mcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/OD9WVUZ53QVdZq
DLL only (but for this example can and old 10th version : )



Edited 3 time(s). Last edit at 12/12/2017 06:01AM by hermes.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 12, 2017 10:48AM

Quote
roytam1
Quote
siria
Quote
roytam1
for site-specific user-agent override, it looks like this:

general.useragent.override.<domain> = <spoofed user-agent>
Example:
general.useragent.override.addons.mozilla.org = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.9) Gecko/20100101 Firefox/27.9 (Pale Moon)"

Really, that works? (cannot test, not online)
That would mean no interference with global settings, and for site-switchers no highly complicated addons necessary, let alone omni-ja-embeds, just plain macros smiling smiley
Seems not working yet, I will look for it later.


Checked: doesn't work. But fully works for PaleMoon.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 12, 2017 02:01PM

Quote
hermes
Quote
roytam1
Quote
siria
Quote
roytam1
for site-specific user-agent override, it looks like this:

general.useragent.override.<domain> = <spoofed user-agent>
Example:
general.useragent.override.addons.mozilla.org = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.9) Gecko/20100101 Firefox/27.9 (Pale Moon)"

Really, that works? (cannot test, not online)
That would mean no interference with global settings, and for site-switchers no highly complicated addons necessary, let alone omni-ja-embeds, just plain macros smiling smiley
Seems not working yet, I will look for it later.


Checked: doesn't work. But fully works for PaleMoon.

There is a missing init in SiteSpecificUserAgent.js

diff --git a/dom/base/SiteSpecificUserAgent.js b/dom/base/SiteSpecificUserAgent.js
index d950b5a82..7b1f04524 100644
--- a/dom/base/SiteSpecificUserAgent.js
+++ b/dom/base/SiteSpecificUserAgent.js
@@ -25,6 +25,7 @@ function SiteSpecificUserAgent() {
 
   if (this.inParent) {
     Cu.import("resource://gre/modules/UserAgentOverrides.jsm");
+    UserAgentOverrides.init();
   } else {
     Cu.import("resource://gre/modules/Services.jsm");
     Services.prefs.addObserver(PREF_OVERRIDE, this, false);

but after that, user agent is not overwritten in 1st request?



Edited 1 time(s). Last edit at 12/12/2017 02:05PM by roytam1.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 12, 2017 02:41PM

Quote
hermes
Quote
roytam1
I can't debug this unless there is a clip playable outside China.

@roytam1
This is a similar case. You can debug portable and offline example?
I can modify the sample if it is not good enough.
It seemed to me it clearly shows the problem.


Quote
hermes
The next problem is that if you ever use a mouse gesture (when switched on gestures, of course) there is a lock included via the <object> tag and other embedded content (like it is in another layer after that). It turns out that the object is hidden behind transparent glass. He realizes not all direct pressing and so on.

You can check it on the prepared sample: (~24 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/YsEcY8MD3QVdZK

There's an empty player swf is inserted as iframe. All files is local. Player have (in the upper right corner) a "ring" to switch to full screen mode. Without the module of gestures, the player responds to each click and quickly change modes.

If you enable the module, but not use not a single gesture (using the right mouse button) all is still well. BUT! If you make at least one gesture, player will cease to perceive the pressing on the ring (for fullscreen mode). But it should be noted if you press VERY often, one of 10-15 clicks passes.

A small video to show the idea (only for visualization of the gestures here used old plugin, but essentially it does not change): (~215 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/svHEm7_x3QVeLy

If you need support for FLASH / SWF here latest new version of FLASH 28 for KM: (~6.9 Mcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/OD9WVUZ53QVdZq
DLL only (but for this example can and old 10th version : )
just took a look.

Flash plugin steals the focus and the engine under it can't get the element where the mouse cursor is.
Same problem exists when you tried to use F12 tool to get flash plugin object by clicking.

So for this situation, it seems to be no solution.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: hermes
Date: December 12, 2017 03:20PM

Quote
roytam1
just took a look.

Flash plugin steals the focus and the engine under it can't get the element where the mouse cursor is.
Same problem exists when you tried to use F12 tool to get flash plugin object by clicking.

So for this situation, it seems to be no solution.

Not quite. There it was shown that if the plugin mouse gestures disabled everything works just perfect. And even if you turn it on, but not to do more even one mouse gesture all the same works. The problem arises if you make at least one gesture. Some elements (such as switch to full screen mode) will become almost inaccessible. As if they was are shut down a transparent layer (plug-in mouse gestures can do it?).

Flash has nothing to do with it, because without kplugin (mouse gestures) everything will work as it should.

This was a serious problem earlier in the flash version of youtube player. This is an old bug. It would be wonderful if can solve this problem. Anyway I suggest You to see an example. The real test much is more obvious.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: roytam1
Date: December 12, 2017 04:32PM

Quote
hermes
Quote
roytam1
just took a look.

Flash plugin steals the focus and the engine under it can't get the element where the mouse cursor is.
Same problem exists when you tried to use F12 tool to get flash plugin object by clicking.

So for this situation, it seems to be no solution.

Not quite. There it was shown that if the plugin mouse gestures disabled everything works just perfect. And even if you turn it on, but not to do more even one mouse gesture all the same works. The problem arises if you make at least one gesture. Some elements (such as switch to full screen mode) will become almost inaccessible. As if they was are shut down a transparent layer (plug-in mouse gestures can do it?).

Flash has nothing to do with it, because without kplugin (mouse gestures) everything will work as it should.

This was a serious problem earlier in the flash version of youtube player. This is an old bug. It would be wonderful if can solve this problem. Anyway I suggest You to see an example. The real test much is more obvious.

with gestures enabled but not used, gestures is actually NOT getting in the windows messaging game YET.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1
Posted by: siria
Date: December 12, 2017 05:19PM

no idea if it matters:
when I input a script in the Console2 and click evaluate, nothing happens.
When I input the same in the moz-console and click, there appear two errors.
(Have unhidden the original console link in macro console2.kmm, the line above setaccel hides it)

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1 / KM 77 ?
Posted by: siria
Date: December 12, 2017 11:31PM

The version.ini in the Profile folder contains now a number, but old one:
converted 2.3.0006
That is the same as in KM76RC1, the predecessor of Dorians last RC2.
This much more modern version needs a really major jump upwards.

Quote
Dorian
I would like to see this becoming kmeleon 77(?) if that can keep it alive.
Can we rename it please right-away, to KM77-Goanna for now? smiling smiley



Edited 1 time(s). Last edit at 12/12/2017 11:35PM by siria.

Options: ReplyQuote
Re: [TEST BUILD] K-Meleon 76 on Goanna 3.4.1 / KM 77 ?
Posted by: anonymous
Date: December 13, 2017 12:37AM

@siria
It would help if you update lines 68, 70 and 71.

@roytam1
Did a patch disable writing version.ini?
Please update patches and sources.

Options: ReplyQuote
Pages: PreviousFirst...23456789101112...LastNext
Current Page: 7 of 33


K-Meleon forum is powered by Phorum.