User:Jayprakash12345/common.js
Jump to navigation
Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the central discussion page, Scriptorium. The code will be executed when previewing this page under some skins, including Monobook. You can in the interim if you wish to refresh the content sooner under another skin. |
The accompanying .css page for this skin can be added at User:Jayprakash12345/common.css. |
/*******************************************************************************
,, ,,
`7MMF' A `7MF' db `7MM db
`MA ,MA ,V MM
VM: ,VVM: ,V `7MM MM ,MP' `7MM
MM. M' MM. M' MM MM ;Y MM
`MM A' `MM A' MM MM;Mm MM
:MM; :MM; MM MM `Mb. MM
VF VF .JMML. .JMML. YA. .JMML.
.g8"""bgd
.dP' `M
dM' ` `7MMpMMMb. ,pW"Wq. `7MMpMMMb.pMMMb. .gP"Ya
MM MM MM 6W' `Wb MM MM MM ,M' Yb
MM. `7MMF' MM MM 8M M8 MM MM MM 8M""""""
`Mb. MM MM MM YA. ,A9 MM MM MM YM. ,
`"bmmmdPY .JMML JMML. `Ybmd9' .JMML JMML JMML. `Mbmmd'
................................................................................
WikiGnome
* Copyright 2012, Aaron Halfaker
* MIT licensed (http://en.wikipedia.org/wiki/MIT_License)
* http://halfaker.info
* Version 1.0
WikiGnome is a collection of utilities that allow for easy minor modifications
to wiki content. It was designed for use withing the English Wikipedia, but
should be compatible with other language Wikipedia's and MediaWiki installations
in general.
**MIT LICENSE**
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*******************************************************************************/
function importCSSURI(url) {
$('head').append(
$("<link>")
.attr('rel', 'stylesheet')
.attr('type', 'text/css')
.attr('href', url)
)
}
function importCSS(page) {
var url = 'https://en.wikipedia.org/w/index.php?title=' +
encodeURIComponent(page.replace(' ','_')).replace('%2F','/').replace('%3A',':') +
'&action=raw&ctype=text/css'
importCSSURI(url)
}
importCSS("User:EpochFail/wikignome.css");
mw.load.loader("https://en.wikipedia.org/wiki/User:EpochFail/wg_system.js");