Coder Social home page Coder Social logo

css-inject's People

Contributors

sym3tri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

css-inject's Issues

Extension JavaScript Errors after Delay on ALL PAGES

I get the following JavaScript errors on every page using this extension after a delay:

[url]:1 Unchecked runtime.lastError: The message port closed before a response was received.
[url]:1 Error handling response: TypeError: Cannot read property 'ok' of undefined
at restoreStateCallback (chrome-extension://fmiohbdblcemacakpnoinjmcelddpjbg/loadcss.js:21:15)


​My injection script is just CSS. This is its contents:

.chapter-img {
border: 0 !important;
}
.adult-content.censored .main-col .c-page__content {
opacity: 1 !important;
}
iframe[data-glx="yeap"], #_vdo_ads_player_ai_923, .toony-before_chapter_mb iframe, .toony-after_chapter iframe, iframe[sandbox="allow-same-origin allow-scripts allow-popups"] {
display: none !important; visibility: hidden !important;
}

Please fix this.

inject css file before </body>

you should inject the css file before

for css files loaded in context (linked inside the body tag by different components), this extension doesn't work, as it's rules get overwritten

Updating this project?

Hey, I was wondering if you were going to continue with this because what I'd like is to change the divs and other tags to black instead of white and edit the sidebar since i cant really change that without going into dev tools(Which our admin blocks annoyingly) constantly. This is really the only way i can customize the browser because they allowed this extension.

Thanks,
Colink02

css injection by domain

What you think about keep the css injection when the domain still active, when i'm creating a page every time i change current page the file wants to be injected again.

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.