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.

a few suggestions for reorganizing preferences

See original GitHub issue

Now that CanvasBlocker has grown to include other APIs, the preferences could be a bit more logically organized:

  1. Change the name of the Faking section to Canvas API.
  2. Move the settings “Block mode” and “Store image for inspection” into the Canvas API section.
  3. Move the three other API sections up so that all four API sections are together.
  4. Two options for the “API whitelist” settings (aka “Protected API features”): a. Move them into a new section between Window API and Notifications. b. Break them up and move each API’s features into the appropriate API section. Building on the suggestion at https://github.com/kkapsner/CanvasBlocker/issues/245#issuecomment-419511152, that might look something like this:
Protect audio API
    Block audio fingerprinting on all websites              ☑︎
    Block/allow on specific websites (click arrow to add)   ▼
        example1.com                                        ☐
        example2.com                                        ☐
        [          ] +
    Block/allow specific API features on all websites       ▼
        getFloatFrequencyData                               ☑︎
        getByteFrequencyData                                ☑︎
        getFloatTimeDomainData                              ☑︎
        getByteTimeDomainData                               ☑︎
        getChannelData                                      ☑︎
        copyFromChannel                                     ☑︎
        getFrequencyResponse                                ☑︎
  1. One last little thing: In the API Whitelist / Protected API Features section, there should not be any hyphens in the API names – e.g. “Canvas API,” not “Canvas-API."

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:26 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
kkapsnercommented, Sep 11, 2018

Very good input.

To 1.: The faking section will stay there (the rng settings are API independent) but a separate canvas section makes totally sense.

To 2.: The block mode is also for all APIs. But the “store image…:” will go to canvas

To 3.: I would rather move the canvas section down. So the order will be:

  • (empty section for the first three settings)
  • asking
  • faking
  • notifications
  • lists
  • canvas API
  • audio API
  • history API
  • window API
  • DOMRect API
  • misc
  • settings

To 4.: b: grafik

To 5.: obsolete due to 4b

1reaction
kkapsnercommented, Sep 23, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Restructure or Reconfigure? - Harvard Business Review
The Recommendation​​ To choose the right reorganization at the right time, follow these guidelines: Tailor the reorg to your circumstances, change at the...
Read more >
155 Best Organizing Tips and Ideas to Get Your Home ...
1. Start with the "one in/one out" rule. According to Cathryn Linn, Owner and Organizer at The Organizing Organization, the "one in ...
Read more >
Take the stress out of organizing with these 6 simple steps
Proper organization requires a few phases of work. Start by sorting into categories: Put like items together, and decide what you're keeping and ......
Read more >
Achieving a Successful Company Reorganization - Graphite
To successfully reorganize, companies must also address processes and people. They should consider process elements such as standardization, decision rights, ...
Read more >
18 Moving and Packing Tips for Your Smoothest Move Yet
Some moving tips focus on how to pack a moving truck most effectively, while others offer reminders to cancel various services or arrange ......
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