chromium/chrome/test/data/extensions/user_script_run_at_start.user.js

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ==UserScript==
// @name           Document Start Test
// @namespace      test
// @description    This script tests document-start
// @include        *
// @run-at         document-start
// ==/UserScript==

alert(document.readyState);