1 Click to Ninjaspace
While we browse this forum, for knowing the user details we often have to go to the ninjastic.space website. After going there and searching by typing or copy-pasting the user's name, we get those details. So it came to my head that repeatedly copying and pasting names is a lot of irony and waste of time so I thought to make an extension through which by selecting the name of the user with the mouse, his details can be found in one click one of my friend also helped to fix this. I think it will be also useful for you
(specially for sig. camp. managers) as it has been for me. Details are mentioned below:
You can download it if you want or you can easily create it by creating a
.JS and a
.JSON file on your PC by copying and pasting below codes
1. Firstly, create a few files in a folder same as below
2. Then paste these codes to
eventPage.js file.
var menuItem = {
"id": "cryptolibrary",
"title": "1 click to ninjaspace(CL)",
"contexts": ["selection"]
}
chrome.contextMenus.create(menuItem);
function fixedEncodeURI(str) {
return encodeURI(str).replace(/%5B/g, '[').replace(/%5D/g, ']');
}
chrome.contextMenus.onClicked.addListener(function(clickData){
if(clickData.menuItemId == "cryptolibrary" && clickData.selectionText){
var ninjaUrl = "https://ninjastic.space/user/" + fixedEncodeURI(clickData.selectionText);
var createData = {
"url": ninjaUrl,
"type": "popup",
"top": 5,
"left": 5,
"width": screen.availWidth/2,
"height": screen.availHeight/2
};
chrome.windows.create(createData, function(){});
}
})
3. And then paste these to
mainfest.json file .
{
"manifest_version": 2,
"name": "1 click to ninjaspace(Crypto Library)",
"version": "1.0",
"description": "serarch",
"icons": {
"128": "icon128.png",
"48": "icon48.png",
"16": "icon16.png"
},
"background": {
"scripts": ["eventPage.js"],
"persistent": false
},
"permissions": [
"tabs",
"contextMenus"
]
}
4. Or you find all the files in this ->
one click to ninjaspace (Crypto Library).zip (extract it).
5. And then go to your browser extensions.
6. Turn on the Developer mode.
7. Then click to the
Load unpacked and select the folder what you have download .
8. All done now come to BTT forum and select any user name of this forum and click the right button of mouse and you will see this option (1 click to ninjaspace ) and click it and ninjasticspace will across to you.
Here is the result And A big credit goes to @TryNinja who is behind Ninjastic.space***Thanks to all excuse me if I did any mistake***
For Bengali:
https://bitcointalksearch.org/topic/m.61771037