To search scripts using Google Search
The GreasyFork Scripts by Google Search user script supercharges your GreasyFork experience by merging the power of Google Search with smart, data-driven result ranking. This script offers two distinct modes: one that leverages Google’s advanced search operators to locate scripts with pinpoint accuracy, and another that enhances GreasyFork’s native search by dynamically reordering results based on script popularity and keyword relevance. By harnessing the jStat library for statistical analysis—including Principal Component Analysis (PCA)—the script intelligently refines the search results, ensuring that the most relevant and widely-used scripts rise to the top.
This script introduces two primary search functionalities on the main page of GreasyFork.org:
g.
g YouTubeThis mode redirects your query to Google, which then searches GreasyFork script pages exclusively. It filters out non-script sections (like user profiles, discussions, and stats) to return comprehensive and precise results.
g prefix.
youtube.com tamerIn this mode, the script intercepts the standard GreasyFork search process. It gathers script metadata such as daily and total install counts, normalizes this data, and applies PCA to compute a dynamic ranking score. Additionally, it boosts the ranking of scripts that match your query keywords in their titles or descriptions, ensuring the most relevant results are prioritized.