PM 24.0 - flash does not work

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: PM 24.0 - flash does not work

Unread post by Moonchild » 2013-09-16, 19:02

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 :-)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

misterx

Re: PM 24.0 - flash does not work

Unread post by misterx » 2013-09-17, 18:39

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

Blacklab
Board Warrior
Board Warrior
Posts: 1080
Joined: 2012-06-08, 12:14

Re: PM 24.0 - flash does not work

Unread post by Blacklab » 2013-09-17, 18:59

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
Last edited by Blacklab on 2013-09-17, 19:14, edited 2 times in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: PM 24.0 - flash does not work

Unread post by Moonchild » 2013-09-17, 19:06

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.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

misterx

Re: PM 24.0 - flash does not work

Unread post by misterx » 2013-09-18, 08:38

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! ;)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35593
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: PM 24.0 - flash does not work

Unread post by Moonchild » 2013-09-18, 12:45

"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).
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

misterx

Re: PM 24.0 - flash does not work

Unread post by misterx » 2013-09-19, 08:43

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.

Locked