Adds model selection buttons to Perplexity AI using jQuery
< Spätná väzba na 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