Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # function-url-scheme-whitelist
  2. **_Deprecated: Instead use the [`function-url-scheme-allowed-list`](../function-url-scheme-allowed-list/README.md) rule._**
  3. Specify a list of allowed URL schemes.
  4. <!-- prettier-ignore -->
  5. ```css
  6. a { background-image: url('http://www.example.com/file.jpg'); }
  7. /** ↑
  8. * This URL scheme */
  9. ```
  10. A [URL scheme](https://url.spec.whatwg.org/#syntax-url-scheme) consists of alphanumeric, `+`, `-`, and `.` characters. It can appear at the start of a URL and is followed by `:`.
  11. This rule ignores:
  12. - URL arguments without an existing URL scheme
  13. - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`)
  14. ## Options
  15. `array|string|regex`: `["array", "of", /schemes/ or "/regex/"]|"scheme"|/regex/`
  16. Given:
  17. ```
  18. ["data", "/^http/"]
  19. ```
  20. The following patterns are considered violations:
  21. <!-- prettier-ignore -->
  22. ```css
  23. a { background-image: url('file://file.jpg'); }
  24. ```
  25. The following patterns are _not_ considered violations:
  26. <!-- prettier-ignore -->
  27. ```css
  28. a { background-image: url('example.com/file.jpg'); }
  29. ```
  30. <!-- prettier-ignore -->
  31. ```css
  32. a { background-image: url('/example.com/file.jpg'); }
  33. ```
  34. <!-- prettier-ignore -->
  35. ```css
  36. a { background-image: url('//example.com/file.jpg'); }
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. a { background-image: url('./path/to/file.jpg'); }
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. a { background-image: url('http://www.example.com/file.jpg'); }
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. a { background-image: url('https://www.example.com/file.jpg'); }
  49. ```
  50. <!-- prettier-ignore -->
  51. ```css
  52. a { background-image: url('HTTPS://www.example.com/file.jpg'); }
  53. ```
  54. <!-- prettier-ignore -->
  55. ```css
  56. a { background-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs='); }
  57. ```