-
Notifications
You must be signed in to change notification settings - Fork 11
Help, Questions and General Discussion #18
Comments
some site need captcha, and need allow request to example: google.com |
@heforfree As of 0.9, you can create a ruleset file like this (plain text file) and install it on preferences.xul#rulesets-manager page (enable it and click "save" button). There is no good documentation for the file format, but i think it's pretty self-explanatory. It allows any requests to hosts ending with "google.com" and paths starting with "/recaptcha/api". |
thankyou for your help. |
@heforfree Fixed in 759ead8. Please check 0.10. |
thank you working now .simple test link |
It depends on ordering of rulesets on preferences.xul#rulesets-manager page. If you bring your "captchas ruleset" upper then "user rulesets", it will apply first. |
yes now working(need drag and drop).and must press submit to show captcha. |
I just notices that site you mentioned does not use google recaptcha, so I don't really know what you mean. |
just somtime seems dont load all script.after some refresh show some blocked request from google |
Hello! Thank you for the great addon! I wonder if you have seen this project: https://github.com/gorhill/httpswitchboard? I understand that this is maybe too much, but do you have any plans to add to the functionality of the Policeman blocking of ads? Thanks in advance. |
@wisiwig You can already block ads with policeman. I thought about supporting easylist-format (or whatever it's called, I mean the rules format adblock uses) from the start, if that's what you ask about. I think there is no real benefit in supporting it, since we already have adblock who does it well, and policeman can coexist with adblock. Honestly, unless you have a good argument, I won't implement it anytime soon. |
@futpib You're right, that's exactly what I was asking. Yes, I understand that the addon removes a huge amount of advertising that is loaded from third-party sites. And yes, I understand that the main purpose of your Policeman is not the removing the ads. I'll gladly use your addon without this function. |
What rule is needed for youtube to play some video in html5 player (example: https://www.youtube.com/watch?v=W4Ovgd19Dfo) without allowing any request for www.youtube.com? RequestPolicy blocked requests to mediasource: (see: RequestPolicyContinued/requestpolicy#447) this was the cause of malfunction html5 video. Policeman does not display these requests in popup and also does not allow create an allow rule for mediasource:... Bug? (Sorry for Google Translate) |
@Halibut80 Here is a minimal setup for youtube:
|
futpib, I have all this rule, but html5 player starts only with: allow anything(or media) from www.youtube.com to any domain, and this is no good... |
@Halibut80 i can play fine.i can not play if i dont disable some options in noscript |
@Halibut80 You can click on that "Media (1)" button and see where the request for video is going. |
Well, i don't know... but for me (html5 dont work): |
@Halibut80 .i dnot know why, but try create new profile and just install policeman and perform rule |
I was wrong, the problem is still there, on clean profile with only one Policeman. I forgot about by default flash enabled, and the player just runs with it, without prompting "click-to-play". |
Hello. Thank you for this wonderful addon. Are there any plans to have this addon work in Palemoon (which is a fork of Firefox)? |
hello |
@AbrahamLinksys No, I have no such plans. Pale Moon FAQ says they will never adopt the Australis interface, which is more then a UI, but a nice API too. If they do not employ a kind of compatibility layer, they will loose compatibility with never add-ons, and I think they are aware of this. |
@heforfree It depends on your setup. By default only same-domain and same-second-level-domain stuff is loaded. I do not know much about how exactly NoScript works, but If it is nothing more then blocking scripts based on domain they come from, Policeman can do that too (and more, as you probably know). |
@bastik-tor It's so specific, it won't make much difference for a beginner. Also, defaults are read-only, so user won't be able to add another captcha service or something like that (not to mention, there is no UI for that kind of thing). It would be awesome to have rulesets updatable (like greasemonkey's userscripts, stylish styles and alike) and maybe even have a repository for them. Then we (or anybody) could maintain a captchas ruleset that would actually be helpful. But the addon is still too amateur for that kind of things. |
@bastik-tor; the captcha rule you mention means also Google being called whenever that captcha appears, even if not required. For instance on AOM when the captcha is only necessary when a new user registers. No point in allowing an external call systematically when it is needed only once. |
@futpib I figured as much. I'll contact the developer and let you know if he replies. |
@AbrahamLinksys I never implied that it's Pale Moon's fault. A lot of add-ons do support it (together with older FFs), but it takes some effort I am not willing to put. |
Still no manpages? I'd like documentation regarding the rule syntax, in order to write my own rules, namely, one that accepts all 1p --> 1p requests (save for scripts, and pings), whilst rejecting (at least by default) 1p --> 3p requests. And what's the difference between "Other," and "Uncategorized?" |
@CrisBRM On "Other" and "Uncat." |
Ive tried everything i can to make policeman work with the http://alientube.co/ addon for firefox. UI doesnt indicate any request being blocked. Suspend on tab does not work. The only thing that seems to work is suspend policeman entirely or enabling "allow any request". Do i need to create a custom ruleset for addons making requests? could the "Compatibility and Workarounds" ruleset be expanded to include this? |
@OdinGitDat Works for me with the latest pre-release. |
oh right it works with v.19 (i was on .18), thank you! |
Hi, I'm trying to get http://earth.nullschool.net to work. In policeman I let the site do everything but I get the message: canvas.getContext(...) is undefined Tried this on a MacOS running 37.0.2 and Windows 7 with firefox 37.0.1 k-h |
How would I block individual files from a domain that I otherwise trust? For example, for one particular site, I would like to allow ALL scripts to run except for "example.com/js/ads.js" and "example.com/js/ad.js" |
@Halibut80 Thank you - I've created a rule based on that ruleset, but it fails to install: magic: policeman_ruleset l10n: rules: |
@CoffeeFace try:
work for me. |
Hi I love the addon, and I've been using it reliably for quite a while. But I've got a fresh install here, and while I've imported my old profile okay (which included all my rules) Policeman doesn't seem to be working - clicking on the shield icon shows no requests at all, as if I'm not on a website. |
Hi, I'd love to synchronize my Policeman rules between several computers - I use unison (like rsync), but I can't find the files where the Policeman rules are stored. |
@vitaminx |
I believe, there's a little mistake with the latest release (0.19pre3). It's simply a syntax error or the wrong file ? |
Hi, HTML5 playback on Youtube is not working with Policeman if there is no rule to allow youtube.com -> any domain. If I load any Youtube video, and set the rules to allow every listed domain, and Policeman icon becomes full green and no rejections are shown, even then the video is not loading. Once I add the above mentioned any domain rule, the video loads properly. Any ideas how to resolve without allowing everything? Thanks |
Great addon! |
Does the extension use absolute paths to find its rules location ? |
OK thanks, I had to scratch my head a bit to understand why all rules were lost but I figured it out in the end... |
Out of interest why are some networks that are used for privacy blocked as default in the standard ruleset? Surely for those that use them networks wouldn't FP be an enhancement? |
@futpib |
After not restarting firefox for a while, sometimes the popup becomes a fixed size. When I have longer domains, the popup is too small and doesn't show the "Add rule" buttons. In the past I've restarted Firefox and the problem goes away. If I disable the extension and reenable it that also fixes it, but all sites "forget" the dialog information - they all show 0s for everything until I refresh the tab. |
I've noticed that the policeman folder inside my Firefox profile is actually empty, rulesets (as far as I can see) are not stored there but in the prefs.js file. If so, it would be nice IMO to also store permanent rules somewhere in the policeman folder, maybe in text format, as a convenient backup option. As a related issue, I think it would also be nice to be able to highlight/copy individual rules on the about:policeman#user-rulesets page: that may come handy if you eventually want to copy some blocked URLs and then add them to a hostfile or some adblocker filter list. Maybe it would be better to open a separate issue for this request? |
guys go and fill survey"survey regarding it's future" https://outgoing.prod.mozaws.net/v1/acdee26bcc62f0b5616c9c4121f6fb9e2765f62a8ac1e6343a48b8bde91f844d/https%3A//goo.gl/forms/g6ldXl18sUz3eIwW2 |
How can I import the rules created by Requestpolicy's Export feature? Because importing only from an installed Requestpolicy addon is imho not useful - I had Requestpolicy 0.5x, 1.x, and Policeman installed, then de-installed Requestpolicy because there was a warning about duplicate instances, which seems to have been caused by policeman, then wanted to import from Requestpolicy, but only got their standard handful of "Allow" rules to import. NOT what I wanted - I have ~1800 rules, actually. |
You saw the warning because it's not possible to use 0.5 and 1.x at the same time. |
Well, I knew that and had 0.5 disabled already. The message suggested that disabling it should be enough, so I concluded that the conflict message should have been caused by having both Requestpolicy and Policeman activated at the same time. |
Brings back memories, thanks to everyone involved! ❤️ |
If you have a question, need help, unsure if something is an issue, have something else to say, whatever else — post it here.
The text was updated successfully, but these errors were encountered: