Board Thread:Support Requests - Designing Your Wikia/@comment-222.127.119.24-20150621042352/@comment-4018164-20150621060222

First of all, before adding anything, you should always make sure that whatever content that you're adding doesn't violate the Terms of Use, or hides advertisements.

There are various ways to do it using JavaScript. The most obvious approach is to have a function that checks every few milliseconds if the right rail content has loaded, and then adds your section and stops running. For instance: In the example above, the function  checks every   milliseconds if the activity module has loaded (the delay is set to 500ms in this example), and then inserts the new section (stored as  ) when it does load.

Another common way to check it is using the DOMNodeInserted JavaScript event, but it is depracated, and therefore should be avoided. If observerse are needed- for an instant effect, rather than having a delay- you should use MutationObserver instead. Here's an example for how you can use a MutationObserver: