-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Leon
committed
Oct 29, 2023
1 parent
bffdfb3
commit 6299b5e
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// ==UserScript== | ||
// @name freeflix IMDB userscript | ||
// @namespace http://tampermonkey.net/ | ||
// @version 0.1 | ||
// @description freeflix | ||
// @author You | ||
// @match https://www.imdb.com/title/* | ||
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | ||
// @require http://code.jquery.com/jquery-3.4.1.min.js | ||
// @grant none | ||
// ==/UserScript== | ||
|
||
(function($) { | ||
'use strict'; | ||
const host = "example.com" | ||
const name = $('h1 span').html() | ||
$('h1').append($(`<a href="${host}/?query=${name}">+</a>`)) | ||
})($); |