This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { | |
alert("自动捡漏开启成功,请按下F12 -> console查看详情"); | |
console.info("1.将需要捡漏的商品,加入购物车,通常在电脑京东页面手速快点就可以达到"); | |
console.info("2.从购物车点击结算按钮,进入结算页面"); | |
console.info("3.打开F12,点击右上角的手机图标,进入手机模式,按下F5刷新网页,不出意外此时会进入手机订单结算页面"); | |
console.info("4.将本代码粘贴到Console内,按下回车键启动"); | |
var sleepNumber = (Math.floor(Math.random() * 8) + 11) * 1000; | |
var loopNum = 0; | |
var startTimer = new Date(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>PC HLS video</title> | |
<link href="https://cdn.bootcss.com/video.js/6.0.0-RC.5/alt/video-js-cdn.min.css" rel="stylesheet"> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 温度常量标量名 | |
const scaleNames = { | |
c: "Celsius", | |
f: "Fahrenheit" | |
}; | |
// 温度单位转换计算 | |
function toCelsius(fahrenheit) { | |
return ((fahrenheit - 32) * 5) / 9; |