No documentation on how to import (contains suggested text)
See original GitHub issueThere is currently no documentation on how to import (at least, there isn’t in the documentation page of the wiki, and I cannot see any anywhere else).
I suggest something like the text below. (I presume that this is the correct way to do it; I worked it out by doing an export and then trial and error).
Importing Expressions
-
Create a .json file with the format:
{ "default": [ { "expression": "github.com", "listType": "GREY" }, { "expression": "example.com", "listType": "WHITE" } ] }
specifying, for each domain expression, “WHITE” or “GREY” (to be whitelisted or greylisted).
-
In the Settings panel, select the “Import Expressions” button in the “List of Expressions” tab.
-
Choose the .json file you just created.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Import text from another file into a publication - Microsoft Support
In Publisher, you have different options for importing text into a publication. The option that you choose depends on how much text you...
Read more >Use predictive text on iPhone - Apple Support
As you type text on the iPhone keyboard, Siri predicts your next word, based on your recent activity. Tap the word to enter...
Read more >6. Modules — Python 3.11.1 documentation
Modules can import other modules. It is customary but not required to place all import statements at the beginning of a module (or...
Read more >Retaining important formatting when importing Word documents
In the Place dialog box, select the Word document that you want to place, then enable the Show Import Options checkbox and click...
Read more >Python Docstrings Tutorial : Examples & Format for Pydoc ...
Note that comments can not be accessed with the built-in doc attribute and help ... Multi-line Docstrings also contains the same string literals...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/wiki/Documentation#importing-expressions-courtesy-of-electricfeet to the doc.
Vanilla on Chrome was much easier to import/export. AutoDelete could not process a comma separated list - tries to accept the string as one entry I agree with the lack of documentation - users needed to know the JSON format. https://spacetelescope.github.io/understanding-json-schema/reference/object.html I Entered 2 items on the whitelist (one at a time) and exported them to a file (below). Deleted and reimported - that worked, but still gave a non-whitespace error. JSON is not simple/quick for humans. Suggestion: Have a way to import/export a simple list. This would be good for moving from other platforms. Also tell it during import which list you are importing to. (override JSON listType)
My test export/import with 2 entries: { “default”: [ { “expression”: “finance.yahoo.com”, “storeId”: “default”, “listType”: “WHITE”, “id”: “HJQFzwkWG”, “cookieNames”: [] }, { “expression”: “www.google.com”, “storeId”: “default”, “listType”: “WHITE”, “id”: “rkpLMvJWM”, “cookieNames”: [] } ] }