After removing javascript the page is not downloadable with "this page cannot be saved contains a sidebar experience"
Describe the bug I have a few Medium posts stored on my filesystem. These posts can be archived using SingleFile, when I open them from Medium without any problem. The posts stored on my filesystem can't be opened normally, as there's something inside the page's script that prevents them from being displayed that way. So I just removed script from the HTML and the page can be displayed in my browser, but then it can't be archived using SingleFile, as it fails with: "this page cannot be saved contains a sidebar experience"
To Reproduce Steps to reproduce the behavior:
- Go to any paywalled Medium post
- Archive it with SingleFile - all works ok
- Save the post to your file system
- Remove script from the saved page, as it has some logic to prevent users from storing medium posts on their filesystems
- Open the stored page in your browser - it displays OK
- Archive it with SingleFile - "this page cannot be saved contains a sidebar experience"
Expected behavior The page is archived by SingleFile.
Screenshots
Environment
- OS: Win 11
- Browser: Chromium based
- Version: Latest Brave, Latest Edge
Additional context
Sorry for the very late reply, this bug is a bit strange because the error message "this page cannot be saved contains a sidebar experience" doesn't come from SingleFile. Can you confirm that this only happens with pages saved on Medium?
You mean to Save any other page with JavaScript, remove JavaScript and try singlefile on it?
... as there's something inside the page's script that prevents them from being displayed that way. So I just removed script from the HTML and the page
Can you give me more details about the script your remove from the page ? There shouldn't be any script in the page with the default settings.
I can send you a whole saved page if you want, so you can see it for yourself.
pt., 7 lut 2025, 11:23 użytkownik Gildas @.***> napisał:
... as there's something inside the page's script that prevents them from being displayed that way. So I just removed script from the HTML and the page
Can you give me more details about the script your remove from the page ? There shouldn't be any script in the page with the default settings.
— Reply to this email directly, view it on GitHub https://github.com/gildas-lormeau/SingleFile/issues/1659#issuecomment-2642519904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAV3O6JES6DTU7YGDSYLXYL2OSCRVAVCNFSM6AAAAABVFFHIJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBSGUYTSOJQGQ . You are receiving this because you authored the thread.Message ID: @.***>
The thing is the mentioned pages I saved some time ago using a browser, then I discovered one-file and tried to save these old saved pages with one-file, to do that I have first to display such saved page in a browser, but that requires striping the script, otherwise the script will show fake 404 to fool poor user the contents was not saved. After removing the script the contents get displayed, but onefile will complain about sidebar experience :D
pt., 7 lut 2025, 21:16 użytkownik Grdykopląs Namorzyn @.***> napisał:
I can send you a whole saved page if you want, so you can see it for yourself.
pt., 7 lut 2025, 11:23 użytkownik Gildas @.***> napisał:
... as there's something inside the page's script that prevents them from being displayed that way. So I just removed script from the HTML and the page
Can you give me more details about the script your remove from the page ? There shouldn't be any script in the page with the default settings.
— Reply to this email directly, view it on GitHub https://github.com/gildas-lormeau/SingleFile/issues/1659#issuecomment-2642519904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAV3O6JES6DTU7YGDSYLXYL2OSCRVAVCNFSM6AAAAABVFFHIJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBSGUYTSOJQGQ . You are receiving this because you authored the thread.Message ID: @.***>
I see, maybe using the default settings in SingleFile but enabling "HTML Format > save raw page" could help you. Thus, you shouldn't need to remove scripts manually and the saved page should be hopefully OK.
Hmm, nope. That doesn't help. Attaching an example page that fails to save.
On Fri, Feb 7, 2025 at 10:22 PM Gildas @.***> wrote:
I see, maybe using the default settings in SingleFile but enabling "HTML Format > save raw page" could help you. Thus, you shouldn't need to remove scripts manually and the saved page should be hopefully OK.
— Reply to this email directly, view it on GitHub https://github.com/gildas-lormeau/SingleFile/issues/1659#issuecomment-2644152454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAV3O6KK4UJFHV7LSF5ITDL2OUP2FAVCNFSM6AAAAABVFFHIJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBUGE2TENBVGQ . You are receiving this because you authored the thread.Message ID: @.***>
--
XenoAmp - a media player with a difference • Demo on [image: YouTube] YouTube https://www.youtube.com/watch?v=DnuQzpIodto • Get it ftom Google Play https://play.google.com/store/apps/details?id=pl.qus.xenoamp • Folow it on Twitter https://twitter.com/XenoAmpMusic • Report bugs to XDA Thread http://forum.xda-developers.com/showthread.php?t=1822492
[image: XenoBanner]
You cannot send attached files via emails, you must unfortunately go to github.com.
I know it's a bit late but I suspect you did not install the extension from the Edge store actually, see https://microsoftedge.microsoft.com/addons/detail/singlefile/efnbkdcfmcmnhlkaijjjmhjjgladedno.