File Editor
Directories:
.. (Back)
Flag
Files:
AddUrlRef.js
Error.js
ErrorBoundary.js
Hyperlink.js
Icon.js
api.js
formatting.js
getAnchor.js
lib.js
sleeper.js
Create New File
Create
Edit File: AddUrlRef.js
export const addUrlRef = (url) => { const ref = rsssl_settings.ref; if ( parseInt(ref) > 0 ) { const [baseUrl, hash] = url.split('#'); const separator = baseUrl.includes('?') ? '&' : '?'; url = `${baseUrl}${separator}ref=${ref}${hash ? `#${hash}` : ''}`; } return url; }
Save Changes
Rename File
Rename