Coder Social home page Coder Social logo

Comments (9)

github-actions avatar github-actions commented on June 12, 2024

It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

from webextensions-examples.

rebloor avatar rebloor commented on June 12, 2024

@dhowe This isn't unexpected. "Can't read and change data on this site", means that the extension doesn't have "host" (or site) permission, which would be needed to inject scripts into the site or manipulate requests to the server.

If you locate the page action, you can see the extension works:
image

from webextensions-examples.

dhowe avatar dhowe commented on June 12, 2024

The problem is not that specific message, but the fact that the addon is grayed-out, and has no pin option, so one cannot access the page-action, and thus cannot run the example. It is also the case for the 'borderify' example, even on mozilla.org for which it has permissions.

The examples site reads "Warning: Some examples work only on specific domains or pages. Details of any restrictions are provided in each example's readme file.", yet there is NO restriction mentioned in the applyCss or borderify READMEs, even though borderify appears as if it would only work on mozilla.org

image

from webextensions-examples.

rebloor avatar rebloor commented on June 12, 2024

If you look at the screenshot I added earlier the "page action" is the red circle icon in the address bar.

from webextensions-examples.

dhowe avatar dhowe commented on June 12, 2024

Again, there is no page action as it is disabled/grayed-out. I've updated the title to better reflect the issue

image

from webextensions-examples.

rebloor avatar rebloor commented on June 12, 2024

@dhowe the two extensions are grayed in the add-ons list because they don't have a browser action and therefore no toolbar button to "pin".
In the example screenshot in your last message you can see that borderify is working because there is a red border around the mozilla.org page.
What you will find is that you cannot used borderify and apply-css together - remove borderify, reload the page and the click the red circle icon in the address bar. It will apply a wider red margin to the page. (And if you open the extension setting you can also find options to allow it to work in private pages and the restricted pages.)

from webextensions-examples.

dhowe avatar dhowe commented on June 12, 2024

You're correct -- borderify seems to be working, though applyCss I still don't see any button in the address bar:

image

from webextensions-examples.

rebloor avatar rebloor commented on June 12, 2024

@dhowe in dark mode it appears to be a white circle
image

from webextensions-examples.

dhowe avatar dhowe commented on June 12, 2024

Got it, thanks

from webextensions-examples.

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.