Everyday work must use the browser, the following share some browser use tips, better help you work.

Ps: The following tips were tested in Chrome.

Page Length Screenshot

Press F12 to bring up the console, CTRL + Shift + P to bring up the input box

capture full size screenshot

Browser seconds to editor

Enter data:text/ HTML, < HTML contenteditable> in the address box of the browser to change to the editor. You can enter characters for editing.

Edit page

Open the web site, address bar enter javascript: void (document. Body. ContentEditable = ‘true’); , of course, also can be directly in the console input document. Body. ContentEditable = true or document. DesignMode = “on” and then you can follow one’s inclinations of the web content change, so some web page screenshots are not credible, For example, some people used The name of Wang Sicong to send alipay’s red envelope with micro-blog, which is full of routine.

Breaking the replication ban

Some sites cannot be copied content, such as b station article www.bilibili.com/read/cv2444… At this point, you need to use the console (press F12 to open).

Multi-account Login

If you have only one browser, use incognito mode (CTRL + Shift + N to enter) and then log in to another account.

Download web images

If you want to download images from a web page and save them as one by one, you need a console. For example, I often visit Zhihu and see many girls taking selfies, such as this question

Open the console and execute the copy(? (” img “). The map (function (item) {return the item. The SRC}). Join (” \ r \ n “)) or […? (” img “)]. The map (a = > a.s rc). Join (‘ \ r \ n ‘) can copy all pictures address. Copy all links using copy(? (‘a’).map(function(item){return item.href; }))

url.txt

Next, use wget for one-click download. Wget -i url.txt -p./zhihu all pictures are downloaded to local directory zhihu.

In addition, there is another hidden skill about Zhihu: Press? You can open the shortcut key to help, without the mouse can also play Zhihu, weibo also has this function.

Display save password

Delete the password with type=password from the review element.

Public account: Su Sheng no doubt