Adds model selection buttons to Perplexity AI using jQuery
< 脚本 Perplexity Model Selection 的反馈
Thank you so much. Updated.
Np! Small fix whenever we return to the main page and have changed the focus mode from any setting other than "Focus"
We need to replace this line 144 :
const $focusElement = $('div:contains("Focus")').closest(selector);
if (!$focusElement.length) return;
By this :
const selectors = [
'div:contains("Focus")',
'div:contains("Academic")',
'div:contains("Writing")',
'div:contains("Wolfram|Alpha")',
'div:contains("YouTube")',
'div:contains("Reddit")'
];
const $focusElement = $(selectors.join(', ')).closest(selector);
if (!$focusElement.length) return;
Thanks, updated
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Fixed the script feel free to push it