Skip to content

Markussss/userscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Userscripts and Userstyles

I enjoy creating userscripts in order to improve my user experience when using websites. My main browser is Firefox, and I use Tampermonkey as a userscript manager and Stylish as userstyle manager. Most other browsers and userscript managers should work, as well, but these are the ones I use.

Userscripts

Nordea Investor Improvements

Source | Install

Currently requires some special setup of the main page to be useful:

  • Every instrument in My Instruments has to be added to favorites in order to be able to get the latest price for each instrument
  • Ignored instruments are only added in the source file
  • The left/west column should only contain My Instruments, in order to make it span across both columns. Everything else goes in the right/east column.

Upcoming tasks and improvements

  • Create convenience functions for working with tables
    • addColumn(header, position, rowFunction = (row) => { return cellContents })
  • Replace the latest price with a copy of the add to favorite button in instruments table
  • Make it possible to ignore and unignore instruments per user
  • New columns in My instruments:
    • Amount of each instrument
      • Calculated by dividing current row value by latest price
    • Total gave per row
      • Calculated by multiplying Amount by Average Gave
    • Gains/losses
      • Total Value - (Average Gave x Amount)

Userstyles

Flip video

Source | Install

Flip videos on the page. Quite useful when you find that a video has been flipped.

Resize video

Source | Install

Resizes videos that originally had a 4:3 aspect ratio and were stretched out to a 16:9 aspect ratio back to the original 4:3 aspect ratio. Not very common, but very useful when you want to watch that old video clip.