[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7872":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},7872,"dotjs","defunkt\u002Fdotjs","defunkt","~\u002F.js","http:\u002F\u002Fbit.ly\u002Fdotjs",null,"Ruby",3140,335,59,13,0,1,59.68,"MIT License",false,"master",true,[],"2026-06-12 04:00:36","This project is archived and no longer mainted.\n\nCheck out its successor, which is way better and \nruns on all platforms: \n\n[Witchcraft](https:\u002F\u002Fgithub.com\u002Fluciopaiva\u002Fwitchcraft)\n\ndotjs\n=====\n\ndotjs  is a  Google Chrome  extension  that executes\nJavaScript files in `~\u002F.js` based on their filename.\n\nIf  you navigate to  `http:\u002F\u002Fwww.google.com\u002F`, dotjs\nwill execute `~\u002F.js\u002Fgoogle.com.js`.\n\nThis makes it super  easy to spruce up your favorite\npages using JavaScript.\n\nOn subdomains such as `http:\u002F\u002Fgist.github.com` dotjs\nwill try to load `~\u002F.js\u002Fgist.github.com.js`  as well\nas `~\u002F.js\u002Fgithub.com.js` and `~\u002F.js\u002Fcom.js`.\n\nBonus:  files  in `~\u002F.js`  have jQuery 1.9  loaded,\nregardless  of  whether  the  site  you're  hacking\nuses jQuery.\n\nDouble bonus: `~\u002F.js\u002Fdefault.js`  is loaded on every\nrequest,  meaning you  can stick  plugins  or helper\nfunctions in it.\n\nGreaseMonkey user scripts are great, but you need to\npublish them  somewhere and re-publish  after making\nmodifications. With dotjs, just add or edit files in\n`~\u002F.js`.\n\n## Example\n\n    $ cat ~\u002F.js\u002Fgithub.com.js\n    \u002F\u002F swap github logo with trollface\n    $('a[class^=header-logo-]').html(\n        $('\u003Cimg>')\n            .attr('src', '\u002F\u002Fbit.ly\u002FghD24e')\n            .css({'width': 'auto', 'height': '22px'})\n        );\n\n![](http:\u002F\u002Fpuu.sh\u002F1Kjvw)\n\n## How It Works\n\nChrome extensions can't access the local filesystem,\nso dotjs  runs a tiny  web server on port  3131 that\nserves files out of ~\u002F.js.\n\nYou don't  have to worry about  starting or stopping\nthis web server because  we put a pretty great plist\ninto  ~\u002FLibrary\u002FLaunchAgents that  handles  all that\nfor us.\n\nThe dotjs Chrome extension then makes ajax requests\nto http:\u002F\u002Flocalhost:3131\u002Fconvore.com.js any time you\nhit a page on convore.com, for example, and executes\nthe returned JavaScript.\n\n## Requires\n\n- OS X\n- Ruby 1.8\n- rake (gem install rake)\n- Google Chrome\n- `\u002Fusr\u002Flocal\u002Fbin` in your $PATH\n\n## Install it\n\n    git clone http:\u002F\u002Fgithub.com\u002Fdefunkt\u002Fdotjs\n    cd dotjs\n    rake install\n\nNow open \u003Chttps:\u002F\u002Flocalhost:3131> in Chrome and follow these steps:\n\n- Click the \"X\" Padlock icon in the address bar\n- Click \"Certificate Information\"\n- Drag the large cert icon to your desktop\n- Open it with Keychain\n- Configure its **Trust** section as shown: http:\u002F\u002Fcl.ly\u002FPdny\n\nFinally install the Google Chrome extension:\n\nhttp:\u002F\u002Fbit.ly\u002Fdotjs\n\n## Uninstall it\n\n    rake uninstall\n\n## Credits\n\n- Icon: \u003Chttp:\u002F\u002Fraphaeljs.com\u002Ficons\u002F>\n- jQuery: \u003Chttp:\u002F\u002Fjquery.com\u002F>\n- Ryan Tomayko for:\n\n> \"I almost wish you could just\n   stick JavaScript in ~\u002F.js. Do\n   you know what I'm saying?\"\n\n## Linux\n\n- [dotjs-ubuntu](https:\u002F\u002Fgithub.com\u002Fglenbot\u002Fdotjs-ubuntu)\n\n## Windows\n\n- [dotjs-universal](https:\u002F\u002Fgithub.com\u002Fp3lim\u002Fdotjs-universal)\n\n## Other Browsers\n\n- [Firefox Add-on](https:\u002F\u002Fgithub.com\u002Frlr\u002Fdotjs-addon)\n- [Safari Extension](https:\u002F\u002Fgithub.com\u002Fwfarr\u002Fdotjs.safariextension)\n- [Fluid UserScript](https:\u002F\u002Fgithub.com\u002Fsj26\u002Fdotjs-fluid)\n","dotjs 是一个 Google Chrome 扩展程序，它根据文件名在 `~\u002F.js` 目录下执行 JavaScript 文件。核心功能是允许用户通过编写自定义的 JavaScript 代码来增强网页的功能和外观，支持 jQuery 1.9，并且可以为每个站点或子域加载特定的脚本，同时还有一个默认脚本会在每次请求时运行。这个项目特别适合那些想要个性化浏览体验或者需要对特定网站进行定制化修改的开发者和技术爱好者。尽管该项目已不再维护，但它提供了一种简单有效的方式来实现浏览器扩展功能。",2,"2026-06-11 03:14:50","top_language"]