Skip to content

Commit 4ae4ddd

Browse files
committed
add keep-all
1 parent ca8343e commit 4ae4ddd

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

manifest.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@
1212
],
1313
"background": {
1414
"scripts": ["background.js"]
15-
}
15+
},
16+
"content_scripts": [{
17+
"matches": ["*://*.namu.wiki/*"],
18+
"css": ["trimmer.css"]
19+
}]
1620
}

trimmer.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
article {
2+
word-break: keep-all !important;
3+
word-break-cjk: keep-all !important;
4+
word-wrap: break-word !important;
5+
}
File renamed without changes.

0 commit comments

Comments
 (0)