Skip to content

Commit

Permalink
1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrax-10 committed Jun 11, 2024
1 parent 48202d9 commit efbf341
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
todo.txt
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Opens the corresponding IMDB/TMDB/Letterboxd movie/tv page in just one click. Also adds the ability to see IMDB ratings on TMDB and Letterboxd pages.

## Installation

1. Install [Tampermonkey](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) extension.
2. Then, [Click me and press install](https://tetrax-10.github.io/imdb-tmdb-linker/linker.user.js)
3. After installing open the script and replace `YOUR_TMDB_API_KEY` with your [TMDB Api](https://www.themoviedb.org/settings/api) key.
4. Open this [TMDB page](https://www.themoviedb.org/movie/420622) you will be asked for permission to access cross-origin data to scrape imdb ratings. [Click "Always allow"](https://raw.githubusercontent.com/Tetrax-10/imdb-tmdb-linker/main/screenshot/permission.png).
5. Done 🎉.

## Screenshots

### IMDB page
Expand All @@ -15,11 +23,3 @@ Opens the corresponding IMDB/TMDB/Letterboxd movie/tv page in just one click. Al
### Letterboxd page

![Screenshot](https://raw.githubusercontent.com/Tetrax-10/imdb-tmdb-linker/main/screenshot/letterboxd.png)

## Installation

1. Install [Tampermonkey](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) extension.
2. Then, [Click me and press install](https://tetrax-10.github.io/imdb-tmdb-linker/linker.user.js)
3. After installing open the script and replace `YOUR_TMDB_API_KEY` with your [TMDB Api](https://www.themoviedb.org/settings/api) key.
4. Open this [TMDB movie page](https://www.themoviedb.org/movie/420622) you will be asked for permission to access cross-origin data to extract imdb ratings. [Click `Always allow`](https://raw.githubusercontent.com/Tetrax-10/imdb-tmdb-linker/main/screenshot/permission.png).
5. Done 🎉.
9 changes: 6 additions & 3 deletions linker.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@
// @description Opens the corresponding IMDB/TMDB/Letterboxd movie/tv page in just one click. Also adds the ability to see IMDB ratings on TMDB and Letterboxd pages.
// @author Tetrax-10
// @namespace https://github.com/Tetrax-10/imdb-tmdb-linker
// @version 1.1
// @version 1.2
// @license MIT
// @match *://*.imdb.com/title/tt*
// @match *://*.themoviedb.org/movie/*
// @match *://*.themoviedb.org/tv/*
// @match *://*.letterboxd.com/film/*
// @homepageURL https://tetrax-10.github.io/imdb-tmdb-linker
// @connect imdb.com
// @connect themoviedb.org
// @homepageURL https://github.com/Tetrax-10/imdb-tmdb-linker
// @supportURL https://github.com/Tetrax-10/imdb-tmdb-linker/issues
// @icon https://tetrax-10.github.io/imdb-tmdb-linker/assets/icon.png
// @updateURL https://tetrax-10.github.io/imdb-tmdb-linker/linker.user.js
// @downloadURL https://tetrax-10.github.io/imdb-tmdb-linker/linker.user.js
// @icon https://tetrax-10.github.io/imdb-tmdb-linker/assets/icon.png
// @run-at document-end
// @grant GM_xmlhttpRequest
// ==/UserScript==

Expand Down

0 comments on commit efbf341

Please sign in to comment.