Giter VIP home page Giter VIP logo

Comments (3)

penge avatar penge commented on May 28, 2024 1

Permissions required by the extension:

"permissions": ["storage", "contextMenus", "tabs"],

Location:

"permissions": ["storage", "contextMenus", "tabs"],

What are these permissions needed for:

"storage"

"storage" permission is used to save the notes and options (font size, font type, etc.) to Chrome Storage Local, and to save selection (only in case of Save selection to other devices) to Chrome Storage Sync.

Locations:

What to look for:

  • Anything that starts with chrome.storage.local
  • Anything that starts with chrome.storage.sync

"contextMenus"

As the name implies, this permission is used to create a Context menu.

Creating the Context menu:

Handling the Context menu:

"tabs"

This permission is used to replace a New Tab with My Notes.

Location:

Because of this one line, I suppose:

// https://github.com/penge/my-notes/blob/318135d693a1155534df287227fae680c7a765f8/background.js#L123
chrome.tabs.update(tab.id, { url: "/notes.html" });

Web Store things that the extension has something to do with Browsing history, which is fucking stupid.

from my-notes.

penge avatar penge commented on May 28, 2024

This is really stupid. I am pissed about Web Store as there is no way to test the publication before eventual publication = which means no dev Web Store environment.

The newly added permission is called "tabs". This is defined in manifest.json. This persmission is required to replace a new tab programatically which is defined in background.js, whereas before it was done declaratively in manifest.json.

I can now see by installing it from Web Store that the interpretation really sucks. Not only it is interpreted as It can: Read your Browsing history which is total bullshit but also the review process is zero. There is literally nothing in the code that has something to do with Browsing history.

from my-notes.

penge avatar penge commented on May 28, 2024

imho, to be honest, I would hesitate to install something that has something to do with Browsing history which are usually antivirues, ad blockers, malwares, data and privacy scrapers and that kind of thing

from my-notes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.