├── .gitignore ├── NaverCafePass.png ├── src ├── icons │ ├── icon128.png │ ├── icon16.png │ ├── icon48.png │ └── icon96.png ├── manifest.json └── rules.json ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | _metadata 2 | -------------------------------------------------------------------------------- /NaverCafePass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joyfuI/NaverCafePass/HEAD/NaverCafePass.png -------------------------------------------------------------------------------- /src/icons/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joyfuI/NaverCafePass/HEAD/src/icons/icon128.png -------------------------------------------------------------------------------- /src/icons/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joyfuI/NaverCafePass/HEAD/src/icons/icon16.png -------------------------------------------------------------------------------- /src/icons/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joyfuI/NaverCafePass/HEAD/src/icons/icon48.png -------------------------------------------------------------------------------- /src/icons/icon96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joyfuI/NaverCafePass/HEAD/src/icons/icon96.png -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "네이버 카페 패스", 3 | "version": "4.0", 4 | "author": "joyfuI", 5 | "description": "네이버 카페 게시글 중 검색 허용되었으나 멤버 공개인 글을 카페 가입 없이 바로 볼 수 있게 해줍니다.", 6 | "homepage_url": "https://github.com/joyfuI/NaverCafePass", 7 | "icons": { 8 | "16": "icons/icon16.png", 9 | "48": "icons/icon48.png", 10 | "96": "icons/icon96.png", 11 | "128": "icons/icon128.png" 12 | }, 13 | "declarative_net_request": { 14 | "rule_resources": [ 15 | { 16 | "id": "ruleset", 17 | "enabled": true, 18 | "path": "rules.json" 19 | } 20 | ] 21 | }, 22 | "permissions": [ 23 | "declarativeNetRequest", 24 | "declarativeNetRequestWithHostAccess" 25 | ], 26 | "host_permissions": [ 27 | "*://cafe.naver.com/*", 28 | "*://m.cafe.naver.com/*", 29 | "*://cafe.daum.net/*", 30 | "*://m.cafe.daum.net/*" 31 | ], 32 | "manifest_version": 3, 33 | "browser_specific_settings": { 34 | "gecko": { 35 | "id": "{eb187956-fd49-491d-b028-563805a05b16}" 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 joyfuI 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 네이버 카페 패스 (다음 카페만 지원) 2 | 3 | 네이버 카페 게시글 중 검색 허용되었으나 맴버 공개인 글을 카페 가입 없이 바로 볼 수 있게 해주는 브라우저 확장입니다. 4 | 5 | 관련 잡담은 [https://blog.joyfui.com/1280](https://blog.joyfui.com/1280) 6 | 7 | --- 8 | 9 | Manifest V3로 이전하면서 다음 카페도 지원하도록 기능을 추가했습니다. 10 | 11 | **Manifest V3로 바뀌면서 사이트 권한 부여가 자동으로 되지 않습니다.\ 12 | 혹시 확장 설치 후 전혀 동작하지 않는다면 확장 설정 페이지에서 권한 부여가 제대로 되어 있는지 확인해 주세요.** 13 | 14 | ### 2024년 3월 20일 부로 네이버 카페는 막혔습니다. 다음 카페는 정상 동작합니다. 15 | 16 | ## 설치 17 | 18 | - [Firefox](https://addons.mozilla.org/ko/firefox/addon/%EB%84%A4%EC%9D%B4%EB%B2%84-%EC%B9%B4%ED%8E%98-%ED%8C%A8%EC%8A%A4/) 19 | - [Chrome](https://chrome.google.com/webstore/detail/%EB%84%A4%EC%9D%B4%EB%B2%84-%EC%B9%B4%ED%8E%98-%ED%8C%A8%EC%8A%A4/gipgjcnhbklggnannochejcaieghkmcn) 20 | - [Whale](https://store.whale.naver.com/detail/jbhpjfbiohcbmahilfnkaencepaaohmn) 21 | 22 | ## 지원 브라우저 23 | 24 | - [Firefox](https://www.mozilla.org/firefox/browsers/) 25 | - [Chrome](https://www.google.com/chrome/) 26 | - [Whale](https://whale.naver.com/) 27 | - [Edge](https://www.microsoft.com/edge), [Opera](https://www.opera.com/), [Brave](https://brave.com/), [Vivaldi](https://vivaldi.com/) 등 크롬 웹 스토어 이용이 가능한 크로뮴 기반 브라우저들 28 | 29 | ## 사용 팁 30 | 31 | 카페 게시글 목록에서도 새 탭으로 열면 작동됩니다. 그냥 클릭(즉, 프레임 이동) 시 미작동.\ 32 | 다음 카페에서는 해당사항 없습니다. 33 | -------------------------------------------------------------------------------- /src/rules.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": 1, 4 | "condition": { 5 | "regexFilter": "^https?://(m\\.)?cafe\\.naver\\.com/.+/\\d+", 6 | "resourceTypes": [ 7 | "main_frame" 8 | ] 9 | }, 10 | "action": { 11 | "type": "modifyHeaders", 12 | "requestHeaders": [ 13 | { 14 | "header": "Referer", 15 | "operation": "set", 16 | "value": "https://search.naver.com/?&query=." 17 | } 18 | ] 19 | } 20 | }, 21 | { 22 | "id": 2, 23 | "condition": { 24 | "regexFilter": "^https?://cafe\\.naver\\.com/.+\\?.+articleid", 25 | "resourceTypes": [ 26 | "main_frame" 27 | ] 28 | }, 29 | "action": { 30 | "type": "modifyHeaders", 31 | "requestHeaders": [ 32 | { 33 | "header": "Referer", 34 | "operation": "set", 35 | "value": "https://search.naver.com/?&query=." 36 | } 37 | ] 38 | } 39 | }, 40 | { 41 | "id": 3, 42 | "condition": { 43 | "regexFilter": "^https?://(m\\.)?cafe\\.daum\\.net/.+/.+/\\d+", 44 | "resourceTypes": [ 45 | "main_frame" 46 | ] 47 | }, 48 | "action": { 49 | "type": "redirect", 50 | "redirect": { 51 | "transform": { 52 | "queryTransform": { 53 | "addOrReplaceParams": [ 54 | { 55 | "key": "q", 56 | "value": "." 57 | } 58 | ] 59 | } 60 | } 61 | } 62 | } 63 | } 64 | ] 65 | --------------------------------------------------------------------------------