域名供应商
博客
添加账号。
个人首页
URL
export default { async fetch(request) { // 配置数据,按需修改 const configData = { version: "1.0", bonjourr_settings: { theme: "dark", } };
C++
// 处理跨域请求 (CORS)
if (request.method === 'OPTIONS') {
return new Response(null, {
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, OPTIONS',
'Access-Control-Allow-Headers': '*',
},
});
}
// 返回 JSON 格式的配置数据
return new Response(JSON.stringify(configData, null, 2), {
headers: {
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
},
});
} };
bonjourr
https://online.bonjourr.fr/[reference:1]
配置
C++
{
"about": {
"browser": "chrome",
"version": "22.1.0"
},
"showall": true,
"lang": "zh-CN",
"dark": "system",
"favicon": "",
"tabtitle": "",
"greeting": "Zhl2010",
"greetingsize": "3.1",
"greetingsmode": "auto",
"pagegap": 1,
"pagewidth": 1600,
"time": true,
"main": true,
"dateformat": "auto",
"quicklinks": true,
"textShadow": 0.375,
"announcements": "off",
"review": 0,
"css": "",
"hide": {
"settingsicon": false
},
"linkstyle": "medium",
"linktitles": true,
"linkbackgrounds": false,
"linknewtab": false,
"linksrow": "6",
"linkiconradius": "0.7",
"linkgroups": {
"on": false,
"selected": "",
"groups": [
"default"
],
"pinned": [],
"synced": []
},
"backgrounds": {
"type": "images",
"fadein": 100,
"blur": 9,
"bright": 0.91,
"frequency": "tabs",
"color": "#185A63",
"urls": "",
"images": "bonjourr-images-daylight",
"videos": "bonjourr-videos-daylight",
"mute": true,
"queries": {},
"texture": {
"type": "none"
}
},
"clock": {
"size": 1,
"ampm": false,
"analog": false,
"seconds": true,
"ampmlabel": false,
"ampmposition": "top-left",
"worldclocks": false,
"timezone": "auto"
},
"worldclocks": [],
"analogstyle": {
"face": "none",
"hands": "modern",
"shape": "round",
"border": "#ffff",
"background": "#fff2"
},
"weather": {
"city": "Chengdu, SC CN",
"unit": "metric",
"provider": "",
"moreinfo": "accu",
"forecast": "auto",
"temperature": "actual",
"geolocation": "off"
},
"greetingscustom": {
"morning": "",
"afternoon": "",
"evening": "",
"night": ""
},
"notes": {
"on": false,
"width": 40,
"opacity": 0.1,
"align": "left",
"text": "## Edit this note!\n\n[ ] With markdown titles, lists, and checkboxes\n\n[ ] Learn more on https://bonjourr.fr/docs/overview#notes"
},
"searchbar": {
"on": true,
"opacity": 0.1,
"newtab": true,
"suggestions": true,
"engine": "bing",
"request": "",
"placeholder": ""
},
"quotes": {
"on": true,
"type": "classic",
"frequency": "tabs",
"author": true,
"last": 1777962912521
},
"pomodoro": {
"on": false,
"mode": "pomodoro",
"pause": 0,
"end": 0,
"timeFor": {
"pomodoro": 1500,
"break": 300,
"longbreak": 1200
},
"focus": false,
"sound": true,
"volume": 0.7,
"alarm": "marimba",
"history": []
},
"font": {
"size": "13.8",
"family": "Noto Serif SC",
"system": true,
"weightlist": [
"300",
"400",
"600",
"700",
"800"
],
"weight": "400"
},
"supporters": {
"enabled": true
},
"move": {
"selection": "single",
"layouts": {
"single": {
"grid": [
[
"time"
],
[
"main"
],
[
"searchbar"
],
[
"quicklinks"
],
[
"quotes"
]
],
"items": {}
}
}
},
"linksajdlpk": {
"_id": "linksajdlpk",
"order": 1777953222037,
"parent": "",
"title": "Copilot",
"url": "https://copilot.microsoft.com/"
},
"linksecqdqd": {
"_id": "linksecqdqd",
"order": 1777953173678,
"parent": "",
"title": "洛谷",
"url": "https://www.luogu.com.cn/"
},
"linksllkqdf": {
"_id": "linksllkqdf",
"order": 1777953205632,
"parent": "",
"title": "ChatGPT",
"url": "https://chatgpt.com/"
}
}