GreasyFork 언어 필터 제거기

이 스크립트는 사용자가 수동으로 다른 언어를 선택하지 않는 한 GreasyFork의 URL을 수정하여 모든 언어의 스크립트를 항상 표시합니다.

작성자
mkpoli
일일 설치 수
0
총 설치 수
247
평점
2 0 0
버전
0.2.0
생성일
2023-05-30
갱신일
2023-05-30
크기
4.27KB
라이선스
MIT
적용 사이트

This UserScript, named GreasyFork Language Filter Remover, is designed to modify the URL on the GreasyFork website. Its primary function is to make sure scripts from all languages are displayed by default, unless a user manually selects to filter by a specific language.

This modification is applied to any search query URLs on the scripts page of GreasyFork.

How it works

When you navigate to a URL of the form https://greasyfork.dpdns.org/*/scripts?q=*, the script checks if the filter_locale parameter is present in the URL. If it's absent, the script will automatically append filter_locale=0 to the URL, refreshing the page to show scripts from all languages.

The script will remember if you manually click on the "Show results only from a specific language" link (which changes depending on the selected language), by storing a flag in the browser's session storage. The script won't add filter_locale=0 to the URL during the current browsing session once that flag is set, allowing you to browse scripts in your chosen language without being redirected.

Usage

Just install the script using a userscript manager like Tampermonkey or Greasemonkey, and it'll run automatically on GreasyFork.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元