docs: point loader path at the renamed project folder

The project directory no longer carries the name it had when the loader was
written. A @require that does not resolve makes Tampermonkey skip the script
silently, which is indistinguishable from it never having been installed —
so a stale path here costs a debugging session before anyone suspects the
path. The README carried the same path in its setup instructions, and its
title still described a collection of scripts rather than the single one
that remains.
This commit is contained in:
Andre
2026-08-03 10:33:27 +02:00
parent c477537826
commit 2ea94f8a2a
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
# iOS Safari Userscripts — cs.rin.ru
# RIN Mobile — cs.rin.ru for iOS Safari
[English](#english) | [Deutsch](#deutsch)
@@ -89,7 +89,7 @@ Tampermonkey.
The loader in `dev/` references the script by **absolute path**:
```js
// @require file:///C:/Projekte/ios_safari_userscripts/rin-mobile.user.js
// @require file:///C:/Projekte/rin-mobile-userscript/rin-mobile.user.js
```
This path is hardcoded and only valid on the machine it was written for. After
@@ -97,7 +97,7 @@ cloning the repository or moving the project folder, adjust the `@require` line
in `dev/rin-mobile.dev.user.js` to your own location.
Use forward slashes and the `file:///` prefix, including the drive letter —
`file:///D:/projects/ios_safari_userscripts/rin-mobile.user.js`. A `@require`
`file:///D:/projects/rin-mobile-userscript/rin-mobile.user.js`. A `@require`
that cannot be resolved causes Tampermonkey to skip the script **entirely and
without an error message on the page**, which looks exactly like the script not
being installed at all.
@@ -288,7 +288,7 @@ laden — keine Neuinstallation in Tampermonkey nötig.
Der Loader in `dev/` verweist mit einem **absoluten Pfad** auf das Script:
```js
// @require file:///C:/Projekte/ios_safari_userscripts/rin-mobile.user.js
// @require file:///C:/Projekte/rin-mobile-userscript/rin-mobile.user.js
```
Dieser Pfad ist fest eingetragen und gilt nur auf dem Rechner, für den er
@@ -297,7 +297,7 @@ Projektordners muss die `@require`-Zeile in `dev/rin-mobile.dev.user.js` auf den
eigenen Ablageort angepasst werden.
Dabei Schrägstriche und das Präfix `file:///` inklusive Laufwerksbuchstaben
verwenden — `file:///D:/projekte/ios_safari_userscripts/rin-mobile.user.js`.
verwenden — `file:///D:/projekte/rin-mobile-userscript/rin-mobile.user.js`.
Ein `@require`, das nicht aufgelöst werden kann, führt dazu, dass Tampermonkey
das Script **komplett und ohne Fehlermeldung auf der Seite** überspringt. Das
sieht exakt so aus, als wäre gar kein Script installiert.