File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 148148// @description :zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
149149// @author KudoAI
150150// @namespace https://kudoai.com
151- // @version 2025.9.5.13
151+ // @version 2025.9.5.14
152152// @license MIT
153153// @icon https://assets.bravegpt.com/images/icons/app/icon48.png?v=e8ca7c2
154154// @icon 64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2
25702570 xhr ( {
25712571 method : 'GET' , url : shareURL ,
25722572 onload : ( { responseText } ) => {
2573- const html = responseText , dlLink = dom . create . anchor (
2574- URL . createObjectURL ( new Blob ( [ html ] , { type : 'text/html' } ) ) )
2575- dlLink . download /* filename */ = html . match ( / < t i t l e > ( [ ^ < ] + ) < \/ t i t l e > / i) [ 1 ] // page title
2573+ const dlLink = dom . create . anchor (
2574+ URL . createObjectURL ( new Blob ( [ responseText ] , { type : 'text/html' } ) ) )
2575+ dlLink . download /* filename */ = responseText . match ( / < t i t l e > ( [ ^ < ] + ) < \/ t i t l e > / i) [ 1 ]
25762576 . replace ( / \s * [ — | / ] + \s * / g, ' ' ) // convert symbols to space for hyphen-casing
25772577 . replace ( / \. { 2 , } / g, '' ) // strip ellipsis
25782578 . toLowerCase ( ) . trim ( ) . replace ( / \s + / g, '-' ) // hyphen-case
You can’t perform that action at this time.
0 commit comments