├── images ├── logo.jpg ├── menu.png ├── name.png ├── favicon.ico ├── github.png ├── search.png ├── office365.png ├── telegram.png └── microphone.png ├── README.md ├── huge.js ├── style.css └── index.html /images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/logo.jpg -------------------------------------------------------------------------------- /images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/menu.png -------------------------------------------------------------------------------- /images/name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/name.png -------------------------------------------------------------------------------- /images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/favicon.ico -------------------------------------------------------------------------------- /images/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/github.png -------------------------------------------------------------------------------- /images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/search.png -------------------------------------------------------------------------------- /images/office365.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/office365.png -------------------------------------------------------------------------------- /images/telegram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/telegram.png -------------------------------------------------------------------------------- /images/microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YiOVE/cloudflare-speed-download/HEAD/images/microphone.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # cloudflare-speed-download 2 | 3 | ## 简介 4 | 5 |   基于Cloudflare CDN加速下载,比如OneDrive之类的。但正因为是基于cloudflare,所以对于部分地区是负优化,如果本身下载速度就不满,那么就没必要用此项服务。 6 | 7 | ## 用法 8 | 9 |   输入下载链接,按回车或者按钮即可跳转至加速链接。 10 | 11 |   注:下载链接需是直链。 12 | 13 | ## 建议 14 | 15 |   每日只有100000次调用,数量有限,不要滥用。 16 | 17 | -------------------------------------------------------------------------------- /huge.js: -------------------------------------------------------------------------------- 1 | document.addEventListener('keyup', (e) => { 2 | const url = 'http://huge.cf/download/?huge-url=' + encodeURI(document.querySelector('#search').value); 3 | if (e.key === 'Enter') { 4 | window.open(url); 5 | } 6 | }) 7 | 8 | function aenter(){ 9 | const url = 'http://huge.cf/download/?huge-url=' + encodeURI(document.querySelector('#search').value); 10 | window.open(url); 11 | } 12 | 13 | 14 | var _paq = window._paq = window._paq || []; 15 | /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ 16 | _paq.push(['trackPageView']); 17 | _paq.push(['enableLinkTracking']); 18 | (function() { 19 | var u="https://analytics.1ove.club/"; 20 | _paq.push(['setTrackerUrl', u+'matomo.php']); 21 | _paq.push(['setSiteId', '7']); 22 | var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 23 | g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); 24 | })(); 25 | 26 | 27 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | 2 | body { 3 | font-family: Arial, Helvetica, sans-serif; 4 | font-size: 12px; 5 | } 6 | /*用弹性盒布局实现块元素行内对齐*/ 7 | header { 8 | display: flex; 9 | align-items: center; /*子元素居中*/ 10 | justify-content: flex-end; /*子元素靠右*/ 11 | } 12 | 13 | p { 14 | line-height: 35px; 15 | margin: 0 10px 0 10px; 16 | } 17 | 18 | img.menu { 19 | width: 20px; 20 | margin: 10px; 21 | } 22 | img.name { 23 | width: 35px; 24 | margin: 10px; 25 | } 26 | /*header end*/ 27 | 28 | 29 | #logo{ 30 | text-align: center; 31 | } 32 | 33 | img.logo { 34 | width: 550px; 35 | } 36 | #othernav { 37 | text-align: center; 38 | } 39 | img.othernav { 40 | margin: 60px 25px 0px 25px; 41 | width: 50px; 42 | } 43 | 44 | 45 | #search { 46 | width: 450px; 47 | height: 40px; 48 | border:none; /*取消默认的边框以设置自定义边框*/ 49 | outline:none; /*取消浏览器默认的蓝光边框以设置自定义的输入框*/ 50 | font-size: 16px; 51 | color: rgb(112, 112, 112); 52 | } 53 | .searchbar { /*目的是设置自定义边框,比如圆角与阴影*/ 54 | border: rgb(218, 218, 218) solid 1px; 55 | border-radius: 2em; 56 | width: 552px; 57 | height: 42px; 58 | box-shadow: 0px 0px 5px rgb(212, 212, 212); 59 | margin: 0 auto; 60 | } 61 | 62 | .mcp { 63 | height: 35px; 64 | } 65 | 66 | .mg { 67 | height: 25px; 68 | margin-left: 15px; 69 | } 70 | #search, .mcp, .mg { 71 | vertical-align: middle; 72 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 老胡歌-cloudflare加速直链下载 5 | 6 | 7 | 8 | 9 |
10 |

OneDrive资源

11 | 12 | 13 |
14 | 15 | 16 |
17 |
21 | 26 | 27 | 28 |
29 | 30 | 31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | --------------------------------------------------------------------------------