When provided a suitable query string, this page will use JavaScript to redirect to a OneNote page or section
OneNote urls use the onenote:
protocol which is many applications do not allow. Using this page as an intermediary
allows you to effectively link to a OneNote page or section using a regular https
protocol link
OneNote links can be obtained by right-clicking on a page or section in OneNote and selecting "Copy Link to Page" or "Copy Link to Section"
The format of a OneNote link will look like this:
onenote:https://example.com/public/SitePages/HelloWorld/New%20World.one#Hello%20World§ion-id={407570BB-A4B0-42C5-B78A-CC4A40BF3F29}&page-id={84699AA3-6F05-456C-B953-5DFBEBEDD322}&end
To use this page as a OneNote forwarder, call this page with the OneNote link as a query string parameter like this:
onenote.html?https://example.com/public/SitePages/HelloWorld/New%20World.one#Hello%20World§ion-id={407570BB-A4B0-42C5-B78A-CC4A40BF3F29}&page-id={84699AA3-6F05-456C-B953-5DFBEBEDD322}&end
Note: The first time you use this, you'll likely need to allow this site to open the OneNote application.
Rather than manipulating the query string you can also simply paste your OneNote URL here and click the button to generate a forwarder link.