Greasy Fork

Shined up real nice.

[LIBRARY] InjectorLib

Contains several functions for injecting html/js/css

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://greasyfork.org/scripts/40894-library-injectorlib/code/%5BLIBRARY%5D%20InjectorLib.js?version=266335

Advertisement
Author
TheBone _
Ratings
0 0 0
Version
1.0
Created
Updated
License
N/A
Applies to
All sites

Author's Description

This is a library.
Use it with @require in your code.


Functions:
inject_srcjs(url)
inject_rawjs(js_code)
inject_headhtml(html_code)
inject_bodyhtml(html_code)
inject_customhtml(html_code, appendafter)
inject_globalcss(css_string)