Baidu Netdisk extraction code sharing passwords are randomly generated by default. Some netizens asked how to customize the extraction code for Baidu Netdisk sharing files? Let me tell you a black technology method to set a custom Baidu network disk extraction code and sharing password.
Operation steps
1. Open Baidu Cloud Disk in the browser, select the file you want to share, and then click the share button;
2. After clicking the share button, a modal box will pop up. Ignore it for now, press F12 to open the developer tools, switch to the console (Console), copy and paste the following code into the console, and then press Enter;
1
javascript:require(["function-widget-1:share/util/service/createLinkShare.js"]).prototype.makePrivatePassword=function(){returnprompt("Please enter a custom password","laod")}
3. Then click Create Private Link, an input box will pop up, then enter the password you want to customize!
When using this black technology, you need to pay attention to the following matters:
Please follow the tutorial step by step, otherwise errors or failures may occur!
The sum of the custom password characters must be 4 (the number of characters for a letter or number is 1, and the number of characters for a Chinese character is 3, so if there is a Chinese character in the password, you can only add one letter or number), such as: LAOD, 1111 , handsome B, old D, etc.
Attached is a GIF picture, the animated demonstration will make it clearer for you:
Customized Baidu network disk sharing password extraction code
The method is also very simple. You can try it yourself and follow the steps carefully. You can do it without any coding knowledge~