{"id":15344812,"url":"https://github.com/kerwin612/us-kerwin612","last_synced_at":"2026-05-03T19:33:03.697Z","repository":{"id":180906581,"uuid":"614132420","full_name":"kerwin612/us-kerwin612","owner":"kerwin612","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-24T23:54:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T18:44:12.479Z","etag":null,"topics":["userscript"],"latest_commit_sha":null,"homepage":"https://openuserjs.org/libs/kerwin612/Kerwin612","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kerwin612.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-15T00:40:39.000Z","updated_at":"2023-07-24T23:44:52.000Z","dependencies_parsed_at":"2024-12-06T09:41:26.967Z","dependency_job_id":"5df7f5a0-142a-4d7e-95d9-413a0edc9169","html_url":"https://github.com/kerwin612/us-kerwin612","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"f3cc663e56a70d70f5b21eca3536d498323d1bf6"},"previous_names":["kerwin612/us-kerwin612"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwin612%2Fus-kerwin612","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwin612%2Fus-kerwin612/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwin612%2Fus-kerwin612/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwin612%2Fus-kerwin612/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerwin612","download_url":"https://codeload.github.com/kerwin612/us-kerwin612/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245864584,"owners_count":20685059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["userscript"],"created_at":"2024-10-01T11:04:18.514Z","updated_at":"2026-05-03T19:32:58.649Z","avatar_url":"https://github.com/kerwin612.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n**import**\n```\n// @require https://openuserjs.org/src/libs/kerwin612/Kerwin612.js\n// @grant   GM.getValue\n// @grant   GM.setValue\n// @grant   GM_getValue\n// @grant   GM_setValue\n```\n\n**usage**\n```\n//默认配置，如有配置项，将按照以下格式定义配置\n//The default configuration, if there are configuration items, the configuration will be defined in the following format\nk_cs.configKey = configVal\n\n//开始运行\n//Start now\nkStart((kFunc) =\u003e {\n    //方法模板，按以下格式定义方法\n    //Method template, define the method in the following format\n    kFunc(\n        //startup: url匹配上时就会执行的方法，无须返回值，仅执行一次 / The method that will be executed when the url matches, no return value, only executed once\n        (ctx) =\u003e {\n        }, \n        //ready: url匹配上时就会执行的方法，返回bool类型的值，每30ms执行一次，直至此方法返回true后就不再执行 / The method that will be executed when the url matches, returns a bool type value, executed every 30ms, and no longer executes until this method returns true\n        (ctx) =\u003e {\n            return true;\n        }, \n        //run: url匹配上且以上的ready方法返回true后执行的方法，无须返回值，仅执行一次 / The method that is executed after the url matches and the ready method above returns true, no return value is required, only executed once\n        (ctx) =\u003e {\n        },\n        //URL匹配项，可定义多个；当URL匹配时才执行上面的方法；当URL为空或未定义时，上述方法为默认执行的方法 / Multiple URL matching items can be defined; the above method is executed when the URL matches; when the URL is empty or undefined, the above method is the default method\n        'url1','url2','url3'\n    );\n});\n\n//动态配置\n//Dynamic configuration\nkSetValue(key, value);\n\n//获取配置\n//Get Configuration\nkGetValue(key, value);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerwin612%2Fus-kerwin612","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerwin612%2Fus-kerwin612","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerwin612%2Fus-kerwin612/lists"}