Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a RequestPolicyContinued version for seamonkey 2.53 ? #915

Open
jan-perl opened this issue Aug 14, 2023 · 2 comments
Open

Is there a RequestPolicyContinued version for seamonkey 2.53 ? #915

jan-perl opened this issue Aug 14, 2023 · 2 comments

Comments

@jan-perl
Copy link

Could a version of requestpolicy be made, supporting all versions of seamonkey 2.53 ?

The 0.5.27 version only gives a grey flag for all sites in seamonkey 2.53.16.
For versions <= seamonkey 2.53.16, the 0.5.28.1-signed.1-signed Info worked well.

However, now almost all content is blocked in seamonkey 2.53.17 as soon as requestpolicy the 0.5.28.1- is enabled, with no option to switch it on.
RequestPolicy/requestpolicy#476

So, preferably, a newer RequestPolicy could be made working.
I don't know how to debug plugins, but I'm willing to learn.

@freecycler
Copy link

I have the same issue with RequestPolicyContinued 0.5.32 (I found it at https://addons.thunderbird.net/en-US/seamonkey/addon/requestpolicy-legacy/ ) which was working well through seamonkey 2.53.16, but is broken in latest version.

Not sure there is any solution, I haven't seen new releases for a VERY long time.

@freecycler
Copy link

Well, I found the solution, user "raj_bhaskar" provided the clue at http://forums.mozillazine.org/viewtopic.php?p=14959997#p14959997

You can use 7Zip or similar to look inside the .xpi file. Find the file components\requestpolicyService.js, and edit it, you can use notepad, wordpad or similar. Search for the 2 instances of "nsIPrefBranch2" and change them to "nsIPrefBranch" so they look like this (the "// fix" indicates the original commented out line):

    this.prefs = this._prefService.getBranch("extensions.requestpolicy.")
// fix        .QueryInterface(CI.nsIPrefBranch2);
        .QueryInterface(CI.nsIPrefBranch);
    this.prefs.addObserver("", this, false);

    this._rootPrefs = this._prefService.getBranch("")
// fix        .QueryInterface(CI.nsIPrefBranch2);
        .QueryInterface(CI.nsIPrefBranch);

then save the file back inside the .xpi. Uninstall the extension from seamonkey, restart, install the edited version, restart again, and you should be back in business. Or if you want to trust some random stranger on the internet you can use
requestpolicy_v05_legacy-0.5.32-fx+sm.4sm2_46.edited.xpi.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants