中文 | EN
Stay is an open source iOS Safari extension (Compatible userscript).
Learn more about tasks and development progress, please checkout Project of Stay 2.
- Prepare
- Go to Settings > Safari > Extensions
- Trun on Stay
- Allow Stay for All Websites
- Import js script from (Write script | Link | GreasyFork | Local file)
- Activate script at
Library
tab
Welcome to create a Embed Script Request to promote a great script.
Metadata supported by Stay.
- @name(Localized)
- @namespace
- @version
- @author
- @description(Localized)
- @homepage
- @icon(@icon only)
- @updateURL
- @downloadURL
- @supportURL
- @include
- @match
- @exclude
- @require
- @resource(Download resource at script creating/updating)
- @run-at(context-menu not supported)
- @grant
- @noframes
- @notes - Notes of modification history
API supported by Stay.
- unsafeWindow
- GM_addStyle
- GM_setValue / GM.setValue
- GM_getValue / GM.getValue
- GM_deleteValue / GM.deleteValue
- GM_listValues / GM.listValues
- GM_log(Show up at popup view)
- GM_registerMenuCommand / GM.registerMenuCommand
- GM_unregisterMenuCommand / GM.unregisterMenuCommand
- GM_getResourceURL / GM.getResourceUrl
- GM_getResourceText / GM.getResourceText
- GM_xmlhttpRequest / GM.xmlHttpRequest
- GM_openInTab / GM.openInTab
- GM_info / GM.info(scriptHandler is stay)
- GM_notification / GM.notification(Grant allowed but unimplement)
- window.onurlchange(Grant allowed but unimplement)
Twitter:@shenruisi
Please follow the public account 效率先生
, and reply 微信群
to join the wechat group.