Last active
August 2, 2022 04:22
-
-
Save yasamnoya/2b7d8195789312220ece92bf2a01f06c to your computer and use it in GitHub Desktop.
Read full article on TNL without clicking the "fullpage" button
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
// ==UserScript== | |
// @name TNL go to fullpage | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Read full article on TNL without clicking the "fullpage" button | |
// @author JN Yiunn | |
// @include /^https:\/\/www\.thenewslens\.com\/article\/[0-9]+\/?$/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=thenewslens.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
const url = document.location.href; | |
location.assign(url+"/fullpage"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment