sym3tri / css-inject Goto Github PK
View Code? Open in Web Editor NEWChrome Extension that allows injection of any hosted CSS file into a webpage
Home Page: http://edrooth.com/CSS-Inject
Chrome Extension that allows injection of any hosted CSS file into a webpage
Home Page: http://edrooth.com/CSS-Inject
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.
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
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.