question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No documentation on how to import (contains suggested text)

See original GitHub issue

There 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
askeydevcommented, Dec 2, 2017

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”: [] } ] }

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found