uBlockProtector icon indicating copy to clipboard operation
uBlockProtector copied to clipboard

Please mention that its a Chrome project on the main page

Open davidhedlund opened this issue 9 years ago • 25 comments

https://jspenguin2017.github.io/uBlockProtector/ says "You must be using Chrome and uBlock Origin to use this project.".

Can you please mention this on the main page?

davidhedlund avatar Jul 29 '17 15:07 davidhedlund

You can use uBlock Protector Extension on Firefox but not officially.

lain566 avatar Jul 29 '17 16:07 lain566

Hum... The repository page points to my home page, which says it is Chrome only.

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@lain566 It's going to misbehave from time to time, I really don't recommend doing that.

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@lain566 I wonder why "uBlock Protector List​​​​​​​​​" is in uBlock Origin (under "3rd-party filters") for Firefox.

davidhedlund avatar Jul 29 '17 16:07 davidhedlund

I think there is only one filters manifest for now, I guess it should have one for each browser. But that's not decided by me.

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@jspenguin2017 I mean download this project as zip, and load manifest.json on Firefox

lain566 avatar Jul 29 '17 16:07 lain566

If you are a developer, the notes for extension clearly suggest it is a Chrome extension: https://github.com/jspenguin2017/uBlockProtector/blob/master/Extension%20Compiler/Extension%20Notes.MD If you are an user, the installation instructions on my home page clearly states that it is Chrome only.

I don't see the problem here...

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@lain566 Firefox will inject content scripts on extension enable (but not Chrome). I assumes my content scripts will run on document-start, and I cache pointers to critical functions to ensure security. If I'm not able to cache the real pointers, there can be unwanted code execution. And I will sometimes override variables knowing they must be undefined, but that assumption is only valid on Chrome, and can cause problems on Firefox. Also, Firefox has broken CSP handling, so a.inject and a.injectWithRuntime will not always work.

You can load an extension doesn't mean it will work as intended.

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@jspenguin2017 It would just be nice to read it in https://github.com/jspenguin2017/uBlockProtector too.

davidhedlund avatar Jul 29 '17 16:07 davidhedlund

Do you have a suggested change?

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@jspenguin2017 Add "You must be using Chrome and uBlock Origin to use this project." to https://github.com/jspenguin2017/uBlockProtector

davidhedlund avatar Jul 29 '17 16:07 davidhedlund

That's already on my home page, I think it's redundant.

jspenguin2017 avatar Jul 29 '17 16:07 jspenguin2017

@jspenguin2017 Ok.

davidhedlund avatar Jul 29 '17 16:07 davidhedlund

little offtopic how ubo extra within ublock protector updates ? do i need to use ubo extra seperately? becoz ver 2.31 released recently...site mentioned in ILv3(chowhound.com) still show g00 whem using ublock protector+ublock origin?

ghajini avatar Jul 29 '17 16:07 ghajini

The update is somewhat manual. I have a script that pulls update from uBO-Extra. But I have to run the update script manually. I usually pull it once or twice a day.

If it still shows then chances are the solution in uBO-Extra isn't functioning properly. I put the uBO-Extra script at the end of my content scripts, so if it doesn't work, then the uBO-Extra standalone extension probably won't work neither.

jspenguin2017 avatar Jul 29 '17 17:07 jspenguin2017

what @davidhedlund is suggesting, is that you put the notice on README.md too so he and others know what they need before they click on the home page for installation instructions, which I guess will save them a click or so.

uBlock-user avatar Jul 29 '17 20:07 uBlock-user

I can't reproduce any g00 on chowhound.com. Loads fine for me.

uBlock-user avatar Jul 29 '17 20:07 uBlock-user

I know what he meant, I still don't feel that's necessary.

jspenguin2017 avatar Jul 29 '17 20:07 jspenguin2017

@jspenguin2017 Final suggestion, replace

An anti-adblock defuser for uBlock Origin

with

An anti-adblock defuser for uBlock Origin in Chrome.

davidhedlund avatar Jul 29 '17 21:07 davidhedlund

I'll consider it. There are quite a few reference to that phrase it's kind of hard to change.

jspenguin2017 avatar Jul 29 '17 21:07 jspenguin2017