/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Et Tu, Grammarly?
(dbushell.com)
279 points
dbushell
| 1 comments |
29 Mar 25 10:27 UTC
|
HN request time: 0.198s
|
source
Show context
karaterobot
◴[
29 Mar 25 15:16 UTC
]
No.
43516187
[source]
▶
>>43514308 (OP)
#
If you're injecting scripts or styles into unknown pages, the least you can do is namespace your variables.
replies(4):
>>43516604
#
>>43516740
#
>>43516957
#
>>43517036
#
MasterScrat
◴[
29 Mar 25 17:23 UTC
]
No.
43517036
[source]
▶
>>43516187
#
I'm out of the frontend field - what would be common ways to handle CSS namespacing these days?
replies(1):
>>43517080
#
1.
echoangle
◴[
29 Mar 25 17:29 UTC
]
No.
43517080
[source]
▶
>>43517036
#
I don't know if this is what was meant by namespacing but i've seen '--{{ projectname}}-my-variable' before, so something like '--grammarly-rem' in this case.
ID:
GO
↑