自判断手机电脑美女图片API
请求示例(图片输出):
https://pic.ltywl.top/mn/api.php
调用示例:
<img src="https://pic.ltywl.top/mn/api.php">
效果:
PC随机美女图片API
请求示例(图片输出):
https://pic.ltywl.top/mn/pc.php
调用示例:
<img src="https://pic.ltywl.top/mn/pc.php">
效果:
PE随机美女图片API
请求示例(图片输出):
https://pic.ltywl.top/mn/pe.php
调用示例:
<img src="https://pic.ltywl.top/mn/pe.php">
效果:
自判断手机电脑风景图片API
请求示例(图片输出):
https://pic.ltywl.top/fj/api.php
调用示例:
<img src="https://pic.ltywl.top/fj/api.php">
效果:
PC随机风景图片API
请求示例(图片输出):
https://pic.ltywl.top/fj/pc.php
调用示例:
<img src="https://pic.ltywl.top/fj/pc.php">
效果:
PE随机风景图片API
请求示例(图片输出):
https://pic.ltywl.top/fj/pe.php
调用示例:
<img src="https://pic.ltywl.top/fj/pe.php">
效果:
随机热门视频API
请求示例(图片输出):
https://pic.ltywl.top/video/video.php
调用示例:
<video src="https://pic.ltywl.top/video/video.php"></video>
效果:
(function (window, document) {if (top != self) {window.top.location.replace(self.location.href);}var get = function (id) {return document.getElementById(id);}var bind = function (element, event, callback) {return element.addEventListener(event, callback);}var auto = true;var player = get(‘player’);var randomm = function () {player.src = ‘https://pic.ltywl.top/video/video.php?_t=’ + Math.random();player.play();}bind(get(‘next’), ‘click’, randomm);bind(player, ‘error’, function () {randomm();});bind(get(‘switch’), ‘click’, function () {auto = !auto;this.innerText = ‘连续: ‘ + (auto ? ‘开’ : ‘关’);});bind(player, ‘ended’, function () {if (auto) randomm();});})(window, document);