Public Suffix List/Exampleについて、ここに記述してください。

Example

Here is an example (incomplete) list section. The rules are numbered, but the numbers would not appear in the real file:

     1. com
     2. *.jp
            // Hosts in .hokkaido.jp can't set cookies below level 4...
     3. *.hokkaido.jp
     4. *.tokyo.jp
            // ...except hosts in pref.hokkaido.jp, which can set cookies at level 3.
     5. !pref.hokkaido.jp
     6. !metro.tokyo.jp

The example above would be interpreted as follows, in the case of cookie-setting, and using "foo" and "bar" as generic hostnames:

    Cookies may be set for foo.com.
    Cookies may be set for foo.bar.jp.
    Cookies may not be set for bar.jp.
    Cookies may be set for foo.bar.hokkaido.jp.
    Cookies may not be set for bar.hokkaido.jp.
    Cookies may be set for foo.bar.tokyo.jp.
    Cookies may not be set for bar.tokyo.jp.
    Cookies may be set for pref.hokkaido.jp because the exception overrides the previous rule.
    Cookies may be set for metro.tokyo.jp, because the exception overrides the previous rule.


この例は日本の現状とは異なる。