Download JS

Downloads the available code from Greasy Fork's code page in .js format

ئاپتورى
OHAS
بۈگۈن قاچىلانغىنى
1
جەمئىي قاچىلانغىنى
4
باھا نومۇرى
0 0 0
نەشرى
1.1.2
قۇرۇلغان ۋاقتى
2025-08-13
يېڭىلانغان ۋاقتى
2025-08-15
Size
6.0 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

This script adds a simple but very useful feature to the Greasy Fork website: a Download button directly on the code view page.

When you navigate to the Code tab of any script, this UserScript inserts a new button on the toolbar, right next to the "Wrap lines" option. Clicking this button will download the source code displayed on the screen as a .js file.

Key Features

  • One-Click Download: Downloads the complete source code directly from your browser, eliminating the need to manually copy and paste.
  • Smart File Naming: The script reads the // @name tag within the code and uses the specified name to title the file (e.g., Script Name.js). If the @name tag is not found, the file will be named script.js by default.
  • Seamless Integration: The download button is added to Greasy Fork's existing interface, making it look and feel like a native feature of the site.

How to Use

  1. Navigate to a script's page on Greasy Fork.
  2. Click on the Code tab to view the source code.
  3. Look for the new Download button on the toolbar located above the code box.
  4. Click the Download button to save the .js file to your computer.