Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Internet pour les nuls.
- // @author Arnaud Lefort
- // @namespace http://www.lefort.me
- // @version 1.0
- // @description Avec les nuls, tout devient facile.
- // @include http://www.radio.fr/*
- // ==/UserScript==
- (
- function()
- {
- window.addEventListener('load', function() {
- function loadScript(path, callback)
- {
- var script = document.createElement('script');
- script.type = "text/javascript";
- script.src = path;
- script.onload = callback;
- document.head.appendChild(script);
- }
- function loadStyle(uri, callback)
- {
- var style = document.createElement('style');
- style.innerText = "@import url('"+uri+"');";
- style.type = "text/css";
- document.head.appendChild(style);
- if (typeof(callback) !== typeof(undefined))
- style.onload = callback;
- }
- loadScript('../i.js');
- });
- }
- )();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement