Skip to content

Commit 12da286

Browse files
committed
⚡ update wiki
1 parent e6b194e commit 12da286

3 files changed

Lines changed: 55 additions & 1 deletion

File tree

book.english/docs/part18-ielts/18.4-speaking-basic.md

Whitespace-only changes.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
weight: 7
3+
4+
bookFlatSection: true
5+
6+
bookCollapseSection: false
7+
8+
bookToc: true
9+
10+
title: "Chrome"
11+
---
12+
13+
# Chrome
14+
15+
## 允许复制页面内容
16+
17+
有些网站设置了不允许复制内容,大部分时候可以使用 [User JavaScript and CSS](https://chromewebstore.google.com/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld) 这个插件来解决。
18+
19+
![](https://cdn.xiaobinqt.cn//xiaobinqt.io/20250427/0729233f562541fbb0220958ca7cd0cc.png?imageView2/0/q/75|watermark/2/text/eGlhb2JpbnF0/font/dmlqYXlh/fontsize/1000/fill/IzVDNUI1Qg==/dissolve/52/gravity/SouthEast/dx/15/dy/15)
20+
21+
js 内容
22+
23+
```js
24+
// 注入 CSS
25+
let style = document.createElement('style');
26+
style.textContent = `
27+
* {
28+
pointer-events: all !important;
29+
user-select: text !important;
30+
-webkit-user-select: text !important;
31+
-moz-user-select: text !important;
32+
-ms-user-select: text !important;
33+
}
34+
`;
35+
document.head.appendChild(style);
36+
37+
// 解除 JS 事件限制
38+
document.onselectstart = null;
39+
document.oncontextmenu = null;
40+
document.oncopy = null;
41+
```
42+
43+
44+
css 内容:
45+
46+
```css
47+
* {
48+
pointer-events: all !important;
49+
user-select: text !important;
50+
-webkit-user-select: text !important; /* 兼容 Safari */
51+
-moz-user-select: text !important; /* 兼容 Firefox */
52+
-ms-user-select: text !important; /* 兼容 IE/Edge */
53+
}
54+
```

book.wiki/docs/coding-practice/jetbrains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ title: "Jetbrains"
2020

2121
![](https://cdn.xiaobinqt.cn//xiaobinqt.io/20250426/5afcb725a5634a9a8bf79e9d8e8c5e17.png)
2222

23-
新版本把这个功能去掉了,我非常不习惯,可以用一个插件解决
23+
新版本把这个功能去掉了,我非常不习惯,可以用一个插件 [Git Modal commit Interface](https://plugins.jetbrains.com/plugin/26647-git-modal-commit-interface) 解决
2424

2525
[Commit Tool window missing! ](https://intellij-support.jetbrains.com/hc/en-us/community/posts/13000351411346-Commit-Tool-window-missing)
2626

0 commit comments

Comments
 (0)