[Script] CE dynamic signature
about 2 months ago
MARLIS
18 Total Respect
MARLIS
18 Respect
about 2 months ago
Last Edited 26/07/2025, 09:27:33
Responses
about 2 months ago
LOKISAMA
5 Total Respect
LOKISAMA
5 Respect
about 2 months ago
Nice! Was thinking about dm you how you make your signature lol
24 days ago
MARLIS
18 Total Respect
MARLIS
18 Respect
24 days ago
I updated the code and guide to make adding new pages for data collection or signature constructors a lot easier.
Seems I linked AP's megascript before (oops), so at least there won't be any updating issues.
I made a script to add dynamic content to the profile signature, see my own as an example.
Installation:
If you only want to make the default version work, you can add an element
<div id="jobs" class="autoSig"></div>
anywhere in your profile signature (make sure you use the code editor, you can access it via the <> button).Or, even simpler, copypaste my own signature into that same code editor.
I don't know how popular this script will be, given its niche usecase. But if you struggle with the guide (see below), I can also try to make a custom version for your needs. For now, I'll do that for free.
For custom data, I'll try to write a step-by-step guide to explain the process of adding data from a new page:
dataCollector.addPage(id, regex, handler, dataFormat, updateInterval)
to collect data from a certain page. The arguments are:- id: it's a unique identifier for the page
- regex: if the regex matches the cropped url, the handler will execute
- handler: the function to execute when on the correct page
- dataFormat: what data should be stored initially for this page
- (optional) updateInterval: How often to update the data, default is 1 hour
addPage()
inSettings()
), register a new signature viasigConstructor.addSignature(elemId, handler, ...dataIds)
. The arguments are:- elemId: the id of the html-element in which the signature will be inserted
- handler: the function that constructs the signature
- (zero or more) dataIds: the ids of the collected data used in the handler, must match a subset of the ids registered via
addPage()
constructJobSig()
). Must include:- return statement that returns the constructed signature as a string
addSignature()
to your profile signature. Note that anything in it will be overwritten. Make sure its classlist includes "autoSig".That's it, feel free to leave suggestions, bugs or just general feedback in this threat. You can also dm me or send me a mail of course.
Also, I copied a few things from the AP MegaScript, such as the url filtering, so shoutout to K9 / Jablesi / AP for making it public and open-source.
Resources: images V1, images V2