-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS Version 4.x Beta #164
Comments
This is more of a general question, but where are things like saved settings or preferences for particular user scripts stored? Is that something that the Userscripts app determines? I ask because I've noticed that the preferences I've saved for user scripts don't persist if I just clear my recent (past hour, for example) Safari browsing history. Not a huge problem as it's pretty trivial to export/import my preferences in the case they do get wiped, but just wondering if there's a way this can be mitigated. |
Can you elaborate on this and give me an example of a setting/preference for a specific user script? The only settings for the app/extension are in the settings modal and those are app/extension specific settings (not scoped to the individual userscript).
I'll know more about this when you give me the example mentioned above, but just to note on the app/extension settings - those are not stored in the browser, but rather in a json file in your file system at |
Sure! Here's a script I'm experiencing the issue with: https://github.com/ccd0/4chan-x Steps to replicate:
Let me know if there's anything else you need! |
I think it's important to point out that all of that functionality and settings/saving with that userscript has to do with that userscript and not this app/extension. That being said I will take a shot and why that might be happening - I am not intimately familiar with it's codebase, so keep that in mind. That userscript is using For WebExtensions, like this one, the I digressed a little bit, but I just wanted to give you some background. If I am correct about the method that 4chan-X uses to save data, then it should not be cleared when you clear your browsing history. I am persisting data in a userscript and did what you described in the steps above, and the data was not cleared, so I am unsure why you would be experiencing that with 4chan-X - I am not yet convinced this is an with this app/extension, but it could turn out to be. Would it be possible to open an issue on the 4chan-X repository and try to find out how those settings are saved? That might lead to more clues to what is going. Also note, that userscript is using quite a few different userscript api methods that are not yet supported in this extension, along with some older methods like
However the code looks like it accounts for unsupported methods quite well actually so I don't know if this actually impacts anything. |
Thanks for this huge update. I was mostly interested in seeing how the implementation of Also in general this beta works really well. It's a pity this update will only be available for macOS 12 or later, but I understand that Apple is pushing us developers to update applications to their latest requirements. |
Before I submit to the app store I am going to double check on the required versions. I think the major requirements is Safari 14.1, so it might be possible to support older versions of macOS, however to use Testflight one must have macOS 12. Without Testflight it's seemingly impossible to reliably test on older versions of macOS because Safari WebExtensions can not be distributed outside of the App Store. Up until this past version I have also provided the If it's possible to include older macOS versions, I will, but I am not sure they will be totally "supported" since I don't have any way to testing on those older versions. |
Version 4.x is approved for the app store. It will target macOS 11+. Unfortunately versions under macOS 12 have not been thoroughly tested, so let's hope for the best for those users. I really appreciate everyone who has helped test and improvements will continue to come in the future! I am closing this thread and the version 4.x version should show up on the app store later this week, probably on Friday-ish. |
Currently the macOS version 4.x beta is in Testflight review. If you have time and would like to test out the new features please sign up here: https://forms.gle/cUDtKg1ip4Vc9Xhc7
Testflight will be needed to test the macOS app. Version 4.x will only be distributed through the app store (not my decision) and will only be available for users running macOS 12.0+.
I will update this issue soon to include more details about the new features, but for now, here's a quick list:
openTab
andcloseTab
(more to come)The text was updated successfully, but these errors were encountered: