I am trying to get the source syncing for my user script to sync with Github. To start I want to mention that this user script works via tampermonkey just fine already so there is are no issues with the code. What I am stuck on his how to get the syncing to work.
I uploaded the source file to my github repo and put in the direct link to the userscript source code. here is what happens
1) If the source file is of type .JS greasy fork says it is not a user script and fails the sync.
- "Script sync failed - Does not appear to be a user script.."
2) If I remove the .JS and try it fails due to an "Uncaught SyntaxError" with this message
-Script sync failed - Code contains errors: Uncaught SyntaxError: Unexpected token < at undefined:8:0.
Has anyone sync with github that can tell me what I am doing wrong here?
Source Syncing from Github
I am trying to get the source syncing for my user script to sync with Github. To start I want to mention that this user script works via tampermonkey just fine already so there is are no issues with the code. What I am stuck on his how to get the syncing to work.
I uploaded the source file to my github repo and put in the direct link to the userscript source code. here is what happens
1) If the source file is of type .JS greasy fork says it is not a user script and fails the sync. - "Script sync failed - Does not appear to be a user script.." 2) If I remove the .JS and try it fails due to an "Uncaught SyntaxError" with this message -Script sync failed - Code contains errors: Uncaught SyntaxError: Unexpected token < at undefined:8:0.
Has anyone sync with github that can tell me what I am doing wrong here?