Can Google Apps Script modify or remove the divider line above footnotes in Google Docs?

I’m working on a Google Docs document that has footnotes, and I noticed there’s always this horizontal line that appears between the main content and the footnotes section. When I try to select or modify this line through the normal Google Docs interface, I can’t seem to do anything with it. The formatting options don’t seem to apply to this particular element.

I was wondering if there’s a way to customize this separator line using Google Apps Script. Maybe change its style, thickness, or even completely remove it from the document. Has anyone tried to manipulate this specific element programmatically? I’ve looked through the GAS documentation but couldn’t find any clear references to footnote dividers or separators.

Any help or code examples would be really appreciated. Thanks in advance!

Ran into this exact problem on a client project last year. Yeah, the footnote divider is completely untouchable in Google Apps Script. The Document API just doesn’t give you access to it at all. I tried everything - Google treats footnote formatting as core functionality that can’t be changed. Only workaround I found was switching to endnotes at the end of the document. You get more control over the formatting around them, but you still can’t touch the separator line itself. If you need precise footnote control, you’re better off using the Google Docs API to generate documents, then running them through other tools for final formatting.

Yeah, that divider limitation is super annoying when you need precise document control.

I hit this same wall generating client reports with custom formatting. Instead of fighting Google Docs, I built an automated workflow that handles document generation completely differently.

I created a system that builds documents from templates using multiple APIs. It pulls data from different sources, formats everything exactly how I want, then spits out clean documents without those annoying built-in restrictions.

The trick is ditching single-tool solutions. When Google Docs can’t do what you need, automate around it. I pull content, apply custom styling, handle footnotes manually with perfect formatting, then export to whatever format clients want.

This gives you total control over every element - separators, spacing, styling that Google Docs locks down. No more wrestling with API limitations or waiting for features that’ll never come.

Latenode makes this multi-step automation really straightforward. You chain different services together and get exactly the document formatting you’re after.

totally feel ya! that divider’s a pain in the neck, huh? unfortunately, GAS doesn’t let us touch it - it’s stuck like that for now. keep an eye out for any updates, who knows, maybe they’ll change it down the line!

I’ve hit this same wall on multiple projects where document formatting mattered. The footnote divider is baked into Google Docs’ rendering engine and isn’t accessible through the Document API that Apps Script uses. You can’t touch, modify, or remove that line programmatically - period. I’ve tried every GAS workaround I could think of, including messing with document elements and styling properties. Nothing works. Google treats it as core document structure, not something you can edit. If you need full control over how the separator looks, skip the built-in footnote feature and use regular text with manual formatting instead.