Hi @anonz3000 ,
This looks like a pretty cool tool. As to the mobile application, you're probably running into one or more of the following problems because the mobile apps are built native and pull in content via the Canvas API.
1) jQuery is not available on the mobile platform.
I don't know that this is the case or not, but you could test for it.
if(typeof jQuery === undefined) {
// go get jQuery
} else {
// jQuery is ready, do your thing!
}
2) Your selector is not on the page
var pageElements = ['#wiki_page_show'], i;
...
isContentLoaded(pageElements[i], 0);
will always return false, so your script will never run because
<div id="wiki_page_show"></div>
isn't actually there.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.