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.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # function-url-scheme-blacklist
  2. **_Deprecated: Instead use the [`function-url-scheme-disallowed-list`](../function-url-scheme-disallowed-list/README.md) rule._**
  3. Specify a list of disallowed 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. ["ftp", "/^http/"]
  19. ```
  20. The following patterns are considered violations:
  21. <!-- prettier-ignore -->
  22. ```css
  23. a { background-image: url('ftp://www.example.com/file.jpg'); }
  24. ```
  25. <!-- prettier-ignore -->
  26. ```css
  27. a { background-image: url('http://www.example.com/file.jpg'); }
  28. ```
  29. <!-- prettier-ignore -->
  30. ```css
  31. a { background-image: url('https://www.example.com/file.jpg'); }
  32. ```
  33. The following patterns are _not_ considered violations:
  34. <!-- prettier-ignore -->
  35. ```css
  36. a { background-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs='); }
  37. ```
  38. <!-- prettier-ignore -->
  39. ```css
  40. a { background-image: url('example.com/file.jpg'); }
  41. ```
  42. <!-- prettier-ignore -->
  43. ```css
  44. a { background-image: url('/example.com/file.jpg'); }
  45. ```
  46. <!-- prettier-ignore -->
  47. ```css
  48. a { background-image: url('//example.com/file.jpg'); }
  49. ```
  50. <!-- prettier-ignore -->
  51. ```css
  52. a { background-image: url('./path/to/file.jpg'); }
  53. ```