I did not undertsand your objective clearly here, but I think you want
to run your JS/Jquery code after the pages loads completely . If that
you are looking for then you can use below code you can have
$(document).ready() multiple times in a page. The code gets run in the
sequence in which it appears.You can use the $(window).load() event for
your code since this happens after the page is fully loaded and all the
code in the various $(document).ready() handlers have finished
running.$(window).lo...
Here this section could help you
..https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/configure-rich-text-editor-plug-ins.html?lang=en#adddict
1. You can download a new Dictionary which allows Caps letter and use
that instead of OOTB2. OOTB dictionary at path
/libs/cq/spellchecker/dictionaries(/libs/cq/spellchecker/dictionaries/en_us.dic)
does not have Caps letters. you can overlay this path with dictionary
and try adding Caps letters there. it can work or go ...
You can write a servlet which will give you latest headlines, and call
that servlet at regular intervals of time according to your requirement.
once you got the response , change the DOM accordingly. Jquery functions
are there to delete the DOM elements and then append again with new
response triggering servlet at regular intervals, m sure some jQuery
function will be there to do that. There could be others way to
implement this. This one could be simple more traditional way to do
this.
See this location
/libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover
It has all the items, try adding your custom option, dig little more
into this, I ll also see if any there is anything else .. I ll update
here
This thread has similar
discussionhttps://stackoverflow.com/questions/35639044/rewrite-base-url-and-add-a-specific-word-to-it-using-mod-rewrite
see if this helps.