Page 1 of 1

PM 24.0 - flash does not work

Posted: 2013-09-13, 19:03
by misterx
Hello,

I have a problem with the new 24.0 release. I can not activate flash. I downloaded the portable (32bit) version, created a Palemoon\Bin\Palemoon\"plugins" folder and threw the newest flash .dll in there. It worked that way since I was using Palemoon, but not this time. There are no plugins under "Tools" - "Add-ons". Has something changed?

P.s. @Moonchild - Thank you for this wonderfull browser. I was using K-Meleon for many years, but now (after the development stopped) I found a great replacement. Thank you for your work!

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 16:15
by misterx
I solved my problem. It seems, I created (in previous PM versions) unnecessary a folder for plugins (Palemoon\Bin\Palemoon\"plugins"), when a folder for plugins existed under: Palemoon\Lib\Mozilla\"Plugins"
It worked fine with PM < v23, but not with v24.

Thanks for the Help. Bye.

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 17:02
by misterx
I was celebrating to early... The problem is gone, but there is a new one. I can use flash, but my extensions are not working with the new (Palemoon\Lib\Mozilla\Plugins) plugin path.

2 extensions:
https://addons.mozilla.org/de/firefox/addon/quickjava/ (problem: flash button is allways on)
https://addons.mozilla.org/de/firefox/a ... k-to-play/ (problem: flash is starting immediately)

It seems, as if both extensions are not recognising my new plugin path. Would it be possible to allow the old path in future PM releases again, or is there another simple solution?

P.s. I made fresh "install" of v24 (there was nothing left from v23). Just for the info.

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 17:30
by Moonchild
Plugin handling in the browser has changed. Please read http://forum.palemoon.org/viewtopic.php?f=24&t=3031
If you want to control the starting of plugins, use the options in the add-on manager to set it to "ask" by default.

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 17:36
by Sowmoots
misterx wrote:https://addons.mozilla.org/de/firefox/a ... k-to-play/ (problem: flash is starting immediately)
Click to play(per-element) was scrapped by Mozilla in favor of a much weaker per-site whitelist method in v24. The extension was probably relying on the old code which was removed. You can regain the old behavior by removing the extension and installing https://addons.mozilla.org/en-US/firefo ... r-element/.

Relevant mozillazine link for those interested: http://forums.mozillazine.org/viewtopic ... &t=2723831

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 20:11
by misterx
Thank you Sowmoots and Moonchild.

I was looking for the "ask" option, but there isn't one: http://img5.imageshack.us/img5/5038/77i7.png

I saw it before, switched it one time and now it's gone... I will reinstall/replace my PM v24 folder.
I'll try the new "ask" possibility (maybe together with click_to_play_per_element) and decide, what is best for me. I like the idea of allowing flash permanently for specific sites. It's much better, then my flash button (on/off) extension. I wish, there would be something similar (and simple) for Java Script. A whitelist for websites, without the need of installing monstrous extensions like "noscript".

Thank you.

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 20:36
by Moonchild
It's possible that one of your add-ons changed the setting for "click_to_play", which in Pale Moon is on by default (to give the "ask" option).
In about:config you can find this as "plugins.click_to_play" -- it should be set to "true", otherwise the add-on manager won't offer an "ask" option.

Re: PM 24.0 - flash does not work

Posted: 2013-09-14, 21:16
by misterx
Thank you - it is a possibility. Unfortunately I replaced my PM folder with a fresh install allready. Should it disappear again without adding new extensions, I will post a new comment.

Would it be (in the future) possible for you, to add a "small" JS manager with a whitelist? Something that could activate JS only for specific sites? Something "simple" like "exceptions - Cookies" under privacy tab? PM is perfect allready, but this option would be a huge comfort (I am not using "noscript" and probably never will).

Re: PM 24.0 - flash does not work

Posted: 2013-09-15, 08:03
by Moonchild
misterx wrote:Would it be (in the future) possible for you, to add a "small" JS manager with a whitelist? Something that could activate JS only for specific sites? Something "simple" like "exceptions - Cookies" under privacy tab? PM is perfect allready, but this option would be a huge comfort (I am not using "noscript" and probably never will).
I'm not likely to invent the wheel twice - if you want fine-grained control, then one of the many add-ons out there to control scripting behavior would be your solution (Yes, NoScript being one of them).

Re: PM 24.0 - flash does not work

Posted: 2013-09-16, 17:59
by misterx
You are thinking about reinventing the whole vehicle, but I only need the wheel :).

I was looking for something like the new "Ask" option. A simple solution that activates JS, when I visit a page (for example: youtube.com yes - no). Now when I have this option for cookies and plugins, without installing any extensions, it would be perfect, to have something similar for JS. I would use a simple extension, but I didn't found anything. Installing "noscript" is like installing Microsoft Office (with Excell, Word and Powerpoint) just to write one word. You can do the same with Windows (Notepad).

If you don't see the need, it's ok. It's your decision and your free time. I'm already very happy with Palemoon.

Re: PM 24.0 - flash does not work

Posted: 2013-09-16, 19:02
by Moonchild
Implementing an "ask" option on a per-site basis and maintaining a list of permissions for JavaScript per site is not trivial.
Your analogy doesn't really hold, NoScript does pretty much exactly what you are asking. But it was also only an example, there are simpler add-ons with fewer options and lighter code out there that would give you different ways of blocking scripts or behaviors of websites. Just do a search :-)

Re: PM 24.0 - flash does not work

Posted: 2013-09-17, 18:39
by misterx
I would not ask, if I did not search before. Unfortunately I was not able to find anything that could automatically activate JS on different, permited sites (I am only interested in "JS on/off" option - it does not have to be complicated or have other permissions). I have my reasons why I am not using noscript, or something like ghostery...

If you could name one of the simple add-ons with fewer options and lighter code, I would be very thankful. I only found cookie control add-ons, but nothing that would switch JS automatically.

Thank you

Re: PM 24.0 - flash does not work

Posted: 2013-09-17, 18:59
by Blacklab
Martin Brinkmann suggests QuickJS Add-on in his ghacks article "How to disable JavaScript in Firefox" - a few more ideas in the "Responses" section.

If making your own JS On/Off Custom Button there is discussion and code on mozIllaZine: http://forums.mozillazine.org/viewtopic ... &t=2736473

Re: PM 24.0 - flash does not work

Posted: 2013-09-17, 19:06
by Moonchild
Also, if you have such specific wishes for specific scenarios, and obviously otherwise seem to be knowledgeable enough around code to ask for such a feature, I gather looking into writing your own add-on would not be beyond the realm of possibilities. Jetpack/SDK add-ons are very straightforward to put together.

Re: PM 24.0 - flash does not work

Posted: 2013-09-18, 08:38
by misterx
Blacklab,
thank you very much for the suggestion, but it is not quite what I wanted. QuickJS has to be switched manualy. I need something what does the job automaticly in the background (like Palemoons "exceptions for cookies", or this new "ask" feature for plugins). For manual control I am using "QuickJava" (https://addons.mozilla.org/de/firefox/addon/quickjava/) already (the older v1.7.5, because of the better visible red buttons). I used it for flash and JS but now (since PM 24) only the JS button has left.

Moonchild,
thank you but I know my limits. I see the end result in my mind, but I dont know how to get there. I am not a programmer and I really have no clue about creating add-ons. I asked you, not becacuse I am lazy. I know what I want, but I simply can not do it by myself. You also said "it is not trivial" (it would by also not wise from a security point of view).

I can understand you. If there is no demand for such an add-on, it is probably a waste of time, to please one person. Maybe there are others, but they dont know it yet! ;)

Re: PM 24.0 - flash does not work

Posted: 2013-09-18, 12:45
by Moonchild
"it is not trivial" to integrate something like that into the browser core. Unfortunately the Mozilla/Firefox code has a lot of what I call "spaghetti code" where there are many interdependencies, timings and other interactions that are not easy to make a fundamental change to.
Add-ons, on the other hand, by their definition, are self-contained modules, meaning it would be a lot easier to implement something like this as an add-on.

I know my limits as well - and my limits are mostly determined by available time ;)

Maybe you can contact the QuickJS add-on developer since the functionality is already there, and see if they are interested in extending it with a whitelist/blacklist feature for domains to automate the switching on those domains (i.e.: having default "on" or "off" when the domain matches).

Re: PM 24.0 - flash does not work

Posted: 2013-09-19, 08:43
by misterx
Thank you for the explanation. Now I can understand your point of view.
I will try to contact either the QuickJava or the QuickJS creator in the future. It seams to be the best solution.

P.s. Thank you for Palemoon again. It is the best browser.