Skip to content

Commit 52b257b

Browse files
committed
chore: apply suggestions from code review
1 parent 624f523 commit 52b257b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ After installing the iOS App, you need two main steps to make the extension work
6161
There are two main ways to install a user script from the iOS version:
6262

6363
- Visit a `.user.js` URL in Safari, then open the extension `popup` and you will see an installation prompt
64-
- The URL should ending with `.user.js` in `PATH` part, not the `?QUERY` or `#HASH` parts
65-
- You could also save files that extension with `.user.js` directly to the Userscripts directory you set above
64+
- The URL should end with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts
65+
- You could also save files with the extension `.user.js` directly to the Userscripts directory you set above
6666

6767
> [!TIP]
6868
>
@@ -178,13 +178,13 @@ Userscripts Safari currently supports the following userscript metadata:
178178
- when paired with `@updateURL`, this will allow the user to update a userscript from a remote source, if the version on their machine is `<` version at the update URL
179179
- `@version` does nothing by itself, it needs to be paired with` @updateURL` for remote updating to function properly
180180
- `@updateURL`
181-
- the remote url to check version against, the url `PATH` should ending with `.meta.js` and contains the Metadata block
181+
- the remote url to check version against, the url `/PATH` should end with `.meta.js` and contains the Metadata block
182182
- if the version of the file located at the update URL is `>` the version on the local machine, the file will be updated
183183
- `@updateURL` does nothing by itself, it needs to be paired with `@version` for remote updating to function properly
184184
- Read this [link](https://stackoverflow.com/questions/38023717/) for more details
185185
- _Note: The extension does not correctly implement the entire update process, tracking in issue [#248](https://github.com/quoid/userscripts/issues/248)_
186186
- `@downloadURL`
187-
- the url `PATH` should ending with `.user.js`, that is, it cannot be in `?QUERY` or `#HASH` parts
187+
- the url `/PATH` should end with `.user.js`, that is, it cannot be in `?QUERY` or `#HASH` parts
188188
- optional download location for a remotely updateable file (\*i.e. a file that has both `@version` and `@updateURL`)
189189
- when paired with `@version` and `@updateURL`, if the local version is `<` the version of the file that `@updateURL` points to, the extension will attempt to update the file's code with the contents of the file located at the `@downloadURL`
190190
- `@downloadURL` does nothing by itself, it needs `@version` and `@updateURL` to present in order to function properly

src/app/_locales/en/quick-start-guide-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- You could save files that extension with `.user.js` directly to the Userscripts directory.
1919
- The script file must contain a valid metadata block to match the web pages and be displayed in the extension popup.
2020
- When you visit a `.user.js` URL in Safari, open the extension popup and you will see an installation prompt, or it will pop up automatically if you have enhanced prompts turned on.
21-
- The URL should ending with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts, otherwise it will not be considered a valid user script URL by the extension.
21+
- The URL should end with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts, otherwise it will not be considered a valid user script URL by the extension.
2222

2323
### That’s it, start improving your quality of life now!
2424

src/app/_locales/en/quick-start-guide-mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- You could also save files that extension with `.user.js` directly to the Userscripts directory.
1919
- The script file must contain a valid metadata block to match the web pages and be displayed in the extension popup.
2020
- When you visit a `.user.js` URL in Safari, open the extension popup and you will see an installation prompt, or it will pop up automatically if you have enhanced prompts turned on.
21-
- The URL should ending with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts, otherwise it will not be considered a valid user script URL by the extension.
21+
- The URL should end with `.user.js` in `/PATH` part, not the `?QUERY` or `#HASH` parts, otherwise it will not be considered a valid user script URL by the extension.
2222

2323
### That’s it, start improving your quality of life now!
2424

0 commit comments

Comments
 (0)