Skip to content

Commit

Permalink
Removed whitespace + revised header comments for readability ↞ [auto-…
Browse files Browse the repository at this point in the history
…sync from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jun 3, 2024
1 parent 76f6f91 commit 48b3b78
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
// @description:zu Faka amaphawu ase-ChatGPT kuvaliwe i-DuckDuckGo Search (okwesikhashana ngu-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.6.2.7
// @version 2024.6.2.8
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -270,7 +270,7 @@
'AIchatOS': { expectedOrigin: 'https://chat18.aichatos.xyz',
endpoint: 'https://api.binjie.fun/api/generateStream', method: 'POST', streamable: true },
'Free Chat': { expectedOrigin: 'https://e8.frechat.xyz',
endpoint: 'https://demo-yj7h.onrender.com/single/chat_messages', method: 'PUT', streamable: true },
endpoint: 'https://demo-yj7h.onrender.com/single/chat_messages', method: 'PUT', streamable: true },
'GPTforLove': { expectedOrigin: 'https://ai27.gptforlove.com',
endpoint: 'https://api11.gptforlove.com/chat-process', method: 'POST', streamable: true },
'MixerBox AI': { expectedOrigin: 'https://chatai.mixerbox.com',
Expand All @@ -293,11 +293,10 @@
suggestOpenAI: `${ msgs.alert_try || 'Try' } ${ msgs.alert_switchingOff || 'switching off' } ${ msgs.mode_proxy || 'Proxy Mode' }`
}

// STYLIZE elements
const appStyle = document.createElement('style')
updateAppStyle() ; document.head.append(appStyle)
// Stylize APP elems
const appStyle = document.createElement('style') ; updateAppStyle() ; document.head.append(appStyle)

// Create DDG style TWEAKS
// Stylize SITE elems
const tweaksStyle = document.createElement('style'),
wsbStyles = 'section[data-area="mainline"] { max-width: 590px !important }' // max before centered mode changes
+ 'section[data-area="sidebar"] { max-width: 530px !important ; flex-basis: 530px !important }'
Expand All @@ -307,7 +306,7 @@
+ 'body, div.site-wrapper { overflow: clip }' // replace `overflow: hidden` to allow stickiness
updateTweaksStyle() ; document.head.append(tweaksStyle)

// Create/stylize TOOLTIP div
// Stylize TOOLTIPs
const tooltipDiv = document.createElement('div'),
tooltipStyle = document.createElement('style')
tooltipDiv.classList.add('button-tooltip', 'no-user-select')
Expand Down

0 comments on commit 48b3b78

Please sign in to comment.