Discussion:
[chromium-discuss] An inheritable CSS implementation from the host page - Chrome Extension
x***@gmail.com
2018-10-02 14:54:36 UTC
Permalink
I've created a chrome extension (a form entry) that injects into the host
page but some sites override my css style and causing lots of issues
(alignments, UI design, inputs availabilty).
Is there any other way for my form (or my style) to be independently
injected - no css style be inherited from the host page?

Any help would be appreciated, Thanks :)

Rom
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
PhistucK
2018-10-03 07:24:43 UTC
Permalink
You can either add a CSS reset stylesheet and apply it to your elements, or
create an iFrame instead, or use shadow DOM.

☆*PhistucK*
Post by x***@gmail.com
I've created a chrome extension (a form entry) that injects into the host
page but some sites override my css style and causing lots of issues
(alignments, UI design, inputs availabilty).
Is there any other way for my form (or my style) to be independently
injected - no css style be inherited from the host page?
Any help would be appreciated, Thanks :)
Rom
--
--
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups
"Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Rommel Peñaflor
2018-10-05 19:19:43 UTC
Permalink
seems that iframe won't work in my case, and shadow Dom is quite too
complicated to implement in an existing extension. Tried to use the reset,
but it overrides all the my custom style - resulting to a plain lifeless
form. Do you have any other suggestions?
Post by PhistucK
You can either add a CSS reset stylesheet and apply it to your elements,
or create an iFrame instead, or use shadow DOM.
☆*PhistucK*
Post by x***@gmail.com
I've created a chrome extension (a form entry) that injects into the host
page but some sites override my css style and causing lots of issues
(alignments, UI design, inputs availabilty).
Is there any other way for my form (or my style) to be independently
injected - no css style be inherited from the host page?
Any help would be appreciated, Thanks :)
Rom
--
--
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups
"Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Loading...