wwwwwllllk 发表于 2022-7-31 14:12:45

每天一句土味情话

```javascript

// ==UserScript==
// @name         每天一句土味情话
// @namespace    xiaolaji
// @version      1.0.0
// @author       xiaolaji
// @crontab * * once * *
// @grant      GM_xmlhttpRequest
// @grant      GM_notification
// ==/UserScript==
return new Promise((resolve, reject) => {
GM_xmlhttpRequest({
      method: "GET",
      url: "https://api.uomg.com/api/rand.qinghua",
      onload: xhr => {
            let data = JSON.parse(xhr.responseText)
            GM_notification(data.content)
      },
      onerror: xhr => {
            GM_notification("接口请求失败")
      }
    })
});

```

王一之 发表于 2022-7-31 14:57:27

你上辈子一定是碳酸饮料吧,为什么我一看到你就能开心的冒泡?

李恒道 发表于 2022-7-31 15:08:33

陪迩去看细水长流

水凛子 发表于 2022-8-1 14:20:38

听闻先生治家有方,小女余生愿闻其详

sun4894 发表于 2022-8-2 14:30:47

哈哈哈哈,怎么用

sun4894 发表于 2022-8-2 14:31:44

有用吗

sun4894 发表于 2022-8-2 14:42:37

你知道吗?咋两都挺过分的,你过分美丽,我过分着迷
页: [1]
查看完整版本: 每天一句土味情话