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
Fixed the script feel free to push it