mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
Updated Deploying uBlock Origin (markdown)
parent
6f8ad5d89a
commit
9f6f01c623
@ -17,9 +17,9 @@ The content of `adminSettings` is pretty straightforward: configure uBO as you w
|
|||||||
An example, I created a backup file after having customized uBO, and removed everything except for the _"Color-blind friendly"_ setting, to force that setting to be set on the user's side. Resulting text file:
|
An example, I created a backup file after having customized uBO, and removed everything except for the _"Color-blind friendly"_ setting, to force that setting to be set on the user's side. Resulting text file:
|
||||||
|
|
||||||
{
|
{
|
||||||
"userSettings": {
|
"userSettings": {
|
||||||
"colorBlindFriendly": true
|
"colorBlindFriendly": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Now, the value for `adminSettings` must itself be a plain string, and this means we need to encode the above text into a string, using `JSON.stringify`. Here is a small utility to help you deal with this step: <http://raymondhill.net/ublock/adminSetting.html>.
|
Now, the value for `adminSettings` must itself be a plain string, and this means we need to encode the above text into a string, using `JSON.stringify`. Here is a small utility to help you deal with this step: <http://raymondhill.net/ublock/adminSetting.html>.
|
||||||
|
Loading…
Reference in New Issue
Block a user