Components.utils API for CanvasBlocker

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Components.utils API for CanvasBlocker

Unread post by Moonchild » 2015-04-22, 22:33

I've now opened this as an issue on the repo bugtracker -- still flagged as help wanted because I do not currently have the time personally to address this. Please do take good care if you want to help because the security of scripting is at stake -- you need to know exactly what you are doing if you want to help implement this.
"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

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2015-05-29, 20:59

How is the future for this addon under Pale Moon?
Need this so much.

squarefractal

Re: Components.utils API for CanvasBlocker

Unread post by squarefractal » 2015-05-30, 06:06

dinosaur posted a canvas blocking patch in some thread, you may want to integrate that patch and build Pale Moon for yourself.

Alternatively, you can write an userscript that intercepts creation of <canvas> elements.

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2015-05-30, 18:49

I can't build PM for myself, nor building such a script. If you have the knowledge then please do it. I will test it.

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

Re: Components.utils API for CanvasBlocker

Unread post by Moonchild » 2015-06-29, 09:31

Of note, since canvas poisoning (which IMHO is better than blocking it outright) will be available as an internal feature in Pale Moon in the next release, CanvasBlocker will no longer be needed for people in fear of canvas fingerprinting. I gather this sidesteps this particular issue of not having exportFunction available.
"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

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2015-09-16, 15:00

The canvas blocker addon have now Pale Moon support!

See below: https://github.com/kkapsner/CanvasBlocker/issues/15

Download: https://github.com/kkapsner/CanvasBlocker/releases

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-01-01, 23:05

kkapsner, maybe you can upload your addon to the pale moon addon server?

Becaue we get then automatic addon updates

User avatar
LimboSlam
Board Warrior
Board Warrior
Posts: 1029
Joined: 2014-06-09, 04:43
Location: USA

Re: Components.utils API for CanvasBlocker

Unread post by LimboSlam » 2016-01-01, 23:14

Uh, "CanvasBlocker could not be installed because it is not compatible with Pale Moon 25.8.1." But you say this is included in Pale Moon, I'll check it out.
With Pale Moon by my side, surfing the web is quite enjoyable and takes my headaches away! :)
God is not punishing you, He is preparing you. Trust His plan, not your pain.#‎TrentShelton #‎RehabTime

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-01-01, 23:46

You need to add the Pale Moon GUID, then the install works.

User avatar
LimboSlam
Board Warrior
Board Warrior
Posts: 1029
Joined: 2014-06-09, 04:43
Location: USA

Re: Components.utils API for CanvasBlocker

Unread post by LimboSlam » 2016-01-02, 03:51

dark_moon wrote:You need to add the Pale Moon GUID, then the install works.
Ah got it, will do.
With Pale Moon by my side, surfing the web is quite enjoyable and takes my headaches away! :)
God is not punishing you, He is preparing you. Trust His plan, not your pain.#‎TrentShelton #‎RehabTime

User avatar
LimboSlam
Board Warrior
Board Warrior
Posts: 1029
Joined: 2014-06-09, 04:43
Location: USA

Re: Components.utils API for CanvasBlocker

Unread post by LimboSlam » 2016-01-25, 02:18

@dark_moon: I've finally gotten around to doing this, but I seem to have did something wrong. Could you please show me where you have Pale Moon GUID at?

Thanks. :)
With Pale Moon by my side, surfing the web is quite enjoyable and takes my headaches away! :)
God is not punishing you, He is preparing you. Trust His plan, not your pain.#‎TrentShelton #‎RehabTime

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-01-28, 22:06

Sorry for the long waiting time. I was at work and now i'm home.

You need to add this code in the install.rdf
Image

User avatar
LimboSlam
Board Warrior
Board Warrior
Posts: 1029
Joined: 2014-06-09, 04:43
Location: USA

Re: Components.utils API for CanvasBlocker

Unread post by LimboSlam » 2016-01-28, 23:35

Thanks, but I still can't get it to work. This is what I got:

<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of

the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --><RDF

xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>CanvasBlocker@kkapsner.de</em:id>
<em:version>0.2.1-Release</em:version>
<em:type>2</em:type>
<em:bootstrap>true</em:bootstrap>
<em:unpack>false</em:unpack>

<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>25.0</em:minVersion>
<em:maxVersion>30.0</em:maxVersion>
</Description>
</em:targetApplication>

<!-- Pale Moon -->
<em:targetApplication>
<Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>26.0</em:minVersion>
<em:maxVersion>35.*</em:maxVersion>
</Description>
</em:targetApplication>

<!-- Front End MetaData -->
<em:name>CanvasBlocker</em:name>
<em:description>Changes the JS-API for modifying <canvas> to prevent Canvas-

Fingerprinting.</em:description>
<em:creator>Korbinian Kapsner</em:creator>
<em:homepageURL>https://github.com/kkapsner/CanvasBlock ... omepageURL>
<em:optionsType>2</em:optionsType>

<em:targetApplication><Description><em:id>{aa3c5121-dab2-40e2-81ca-7ea25febc110}

</em:id><em:minVersion>26.0</em:minVersion><em:maxVersion>30.0a1</em:maxVersion>

</Description></em:targetApplication></Description>
</RDF>
With Pale Moon by my side, surfing the web is quite enjoyable and takes my headaches away! :)
God is not punishing you, He is preparing you. Trust His plan, not your pain.#‎TrentShelton #‎RehabTime

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-01-28, 23:49

Then here my install.rdf
install.rdf.txt
(1.67 KiB) Downloaded 52 times
Remove the ".txt" !

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-03-26, 20:43

Info: 0.2.1-Release is the last which works with Pale Moon (26.1.1) because 0.2.2-Release need a much higher Gecko version.

I ask the dev for support again. We will see.
Until that and/ or this is the last supported version i switch to Pale Moon intern canvas method.

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-03-30, 21:16

Today the dev created a release that can run under seamonkey and palemoon: https://github.com/kkapsner/CanvasBlock ... herRelease
But no warranty...

User avatar
LimboSlam
Board Warrior
Board Warrior
Posts: 1029
Joined: 2014-06-09, 04:43
Location: USA

Re: Components.utils API for CanvasBlocker

Unread post by LimboSlam » 2016-03-30, 23:15

This was great news, but sadly when I push options, their aren't any settings to show. Most importantly though, it's not scrambling/blocking my fingerprint signature. So I'm wondering if he'll turn us down if we report these issues because of what her said here:
kkapsner wrote:But no warranty...
With Pale Moon by my side, surfing the web is quite enjoyable and takes my headaches away! :)
God is not punishing you, He is preparing you. Trust His plan, not your pain.#‎TrentShelton #‎RehabTime

dark_moon

Re: Components.utils API for CanvasBlocker

Unread post by dark_moon » 2016-03-30, 23:39

Yeah i post it on the github issue.

Locked