Skip to content

Latest commit

 

History

History

redmenta

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

RDMT

tesco radio - ez a dolog jo dolog

Creates an overlay with the BearerToken, UserId, and UserType values that ship with the document itself as body attributes (data-rdmt, data-rdmt-id, data-rdmt-type), then get loaded into memory, and removed from the attribute list using javascript.

Install

  1. Install the Tampermonkey extension. (Link)
  2. Install

Todo

  • Clear the stored token once the user logged out, or changed accounts
  • Define API routes
  • Intercept API calls (XHR, fetch)

Changelog

Version 1.1 2023.08.29.

  • Waits for the body to be in the DOM (for too early injections)
  • Stores the last known token in the userscript storage (for too late injections)
  • Added a sleep and a waitForElement function to mitigate too early injections
  • Added a stringToElement function that uses templates to turn a string into a Node