Disable crowd bypass by default on Firefox
This commit is contained in:
parent
f4abe8d614
commit
996c939e6a
@ -60,7 +60,7 @@
|
||||
"message": "Block IP loggers if they can't be bypassed."
|
||||
},
|
||||
"optionsCrowdBypass": {
|
||||
"message": "Give and take the destinations of unbypassable shorteners."
|
||||
"message": "Crowd Bypass: Give and take the destinations of unbypassable shorteners."
|
||||
},
|
||||
"optionsCrowdAutoOpen": {
|
||||
"message": "Open crowd-sourced destinations in a new tab after % second(s)."
|
||||
@ -129,7 +129,7 @@
|
||||
"message": "Unfortunately, you're the first to encounter this link, but after you've waited, other Universal Bypass users will no longer have to."
|
||||
},
|
||||
"crowdDisabled": {
|
||||
"message": "This website is bypassed by crowd bypass, which you have disabled in the options."
|
||||
"message": "This website is bypassed by crowd bypass, which you can enable in the options."
|
||||
},
|
||||
"crowdBypassed": {
|
||||
"message": "You might not have to wait!"
|
||||
|
@ -87,7 +87,18 @@ brws.storage.sync.get(["disable","navigation_delay","no_tracker_bypass","no_inst
|
||||
trackerBypassEnabled=(res.no_tracker_bypass!=="true")
|
||||
instantNavigationTrackers=(res.no_instant_navigation_trackers!=="true")
|
||||
blockIPLoggers=(res.allow_ip_loggers!=="true")
|
||||
crowdEnabled=(res.crowd_bypass_opt_out!=="true")
|
||||
if(res.crowd_bypass_opt_out)
|
||||
{
|
||||
crowdEnabled=(res.crowd_bypass_opt_out!=="true")
|
||||
}
|
||||
else
|
||||
{
|
||||
crowdEnabled=!firefox
|
||||
if(firefox)
|
||||
{
|
||||
brws.storage.sync.set({crowd_bypass_opt_out:"true"})
|
||||
}
|
||||
}
|
||||
if(!res.crowd_open_delay||res.crowd_open_delay==61)
|
||||
{
|
||||
brws.storage.sync.set({crowd_open_delay:-6})
|
||||
|
Loading…
x
Reference in New Issue
Block a user