Skip to content

jaCUBE/csfd-extended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSFD Extended

Get started

  1. Install Tampermonkey extension for your browser:

How to develop?

  1. Clone this repository.

  2. Run npm i in the folder to install dependencies.

  3. Run npx webpack -w --mode="development" in the folder to compile final JS.

  4. Allow Tampermonkey extension to access local files.

    • Visit Chrome extension settings page at: chrome://extensions/
    • Find Tampermonkey, click to Details
    • Turn Allow access to file URLs checkbox on
  5. Create new Tampermonkey script for dev purposes (load JS file from localhost). Disable original one.

    • ❗ Replace your own // @require filepath according to your cloned folder.
    • Example filepath: file:///C:/dev/csfd-extended/dist/csfd-extended.js
    • Final Tampermonkey dev script template:
    // ==UserScript==
    // @name         [DEV] CSFD Extended
    // @description  DEVELOPER VERSION.
    // @include      *csfd.cz/film/*
    // @require      <------REPLACE-ME-WITH-YOUR-FILEPATH------>
    // @grant        GM_setValue
    // @grant        GM_getValue
    // ==/UserScript==
    
  6. Easily switch between production version linked to GreasyFork and your local file.

How to compile for production?

Run npx webpack --mode="production"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published