Bitcoin Forum

Other => Meta => Topic started by: Crypto Library on December 15, 2022, 10:16:49 PM



Title: One click and jump in to ninjastic.space [Time saving tricks]
Post by: Crypto Library on December 15, 2022, 10:16:49 PM
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
https://i.postimg.cc/kG2k2Tyf/screenshot-25.png

2. Then paste these codes to eventPage.js file.
Code:
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 .
Code:
{
 
    "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 (https://www75.zippyshare.com/v/YVsyG3AR/file.html) (extract it).


5. And then go to your browser extensions.
https://i.postimg.cc/qvbTm65f/screenshot-26.png

6. Turn on the Developer mode.
https://i.postimg.cc/kG3Rhg5C/screenshot-30.png

7. Then click to the Load unpacked and select the folder what you have download .
https://i.postimg.cc/sXKbTvmQ/screenshot-31.pnghttps://i.postimg.cc/sfTvhmYy/screenshot-32.png

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.
https://i.postimg.cc/nrS4StNG/screenshot-33.png
Here is the result
https://i.postimg.cc/wvQ5YNR2/screenshot-36.png

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://bitcointalk.org/index.php?topic=631891.msg61771037#msg61771037


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: Crypto Library on December 15, 2022, 10:22:56 PM
Reserved


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: Stalker22 on December 15, 2022, 10:59:51 PM
What is wrong with using BPIP Extension (https://bitcointalk.org/index.php?topic=5224821.0)?

I mean, I have nothing against your DIY approach and I applaud your initiative, but I just thought it was worth mentioning that there are other ways to get around using the Ninjastic.space and BPIP.org websites than manually searching by typing or copy-pasting the user's name. BPIP Extension is a much more efficient way and it can save you a lot of time. I would highly recommend it.


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: Crypto Library on December 15, 2022, 11:11:46 PM
What is wrong with using BPIP Extension (https://bitcointalk.org/index.php?topic=5224821.0)?

Oh great, how my eyes skip this! :) Thanks for mentioning it I haven't used it before I will obviously try it in the morning . And for now Let me console myself, I have learned something new and I didn't wasted my time :-).


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: joker_josue on December 16, 2022, 01:10:02 AM
Oh great, how my eyes skip this! :) Thanks for mentioning it I haven't used it before I will obviously try it in the morning . And for now Let me console myself, I have learned something new and I didn't wasted my time :-).

Even though there are other solutions, and this one will not be used much, congratulations on the work done!

It is extremely rewarding for the person to do a job, learn from it and the result is positive. Certainly, what you learned in this project will give you the necessary skills to carry out other, even more interesting projects.

Once again, congratulations!


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: lovesmayfamilis on December 16, 2022, 04:35:57 AM
How long does it take to copy and paste a username into a Ninjaspace search? Also, how often do people need to look for it? Don't extensions, no matter how open they are, create privacy and security issues, especially for those who don't understand them? Of course, the OP put everything on the shelves, and everything is described in detail, but I doubt it.
Very often, it is advised not to decorate your browser like a Christmas tree with extensions; a lot can happen, and you can later regret that you once saved your time by not wanting to do everything on your own.


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: NotATether on December 16, 2022, 05:54:17 AM
I guess this only works for Chrome-like desktop browsers (such as Edge, Opera, Chrome itself obviously) and not Firefox, right?

At any rate, I like the idea. Maybe you can extend it to jump to the Ninjastic.space page for a Bitcointalk thread or post as well.


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: tranthidung on December 16, 2022, 02:10:56 PM
Looks great!

I am not fan of unofficial extensions that I don't use because of my worry about security and safety for my devices. I do see your good initiative which was done with great efforts too.

My idea (not request)
  • Why did you make it only for Ninjastic.space?
  • How about the same for BPIP and Loyce Club?

I mean you can build two more extensions for BPIP and Loyce Club and people can use one of these three or all of them if they want. Sometimes people want to have double checking.

Hope that it is not my bad idea  :D


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: hugeblack on December 16, 2022, 04:27:45 PM
Nice effort, thanks for taking the time to try to help others make things easier but using userscript on Tampermonkey/Greasemonkey would be much better and easy to implement it on Firefox.

Also, the scalability of your code with other sites will be difficult, especially for beginners.

you can check this list ---> List of Bitcointalk.org Userscripts/ Add-ons (https://bitcointalk.org/index.php?topic=5148488.0) before coding


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: indah rezqi on December 16, 2022, 05:29:43 PM
What is wrong with using BPIP Extension (https://bitcointalk.org/index.php?topic=5224821.0)?

I mean, I have nothing against your DIY approach and I applaud your initiative, but I just thought it was worth mentioning that there are other ways to get around using the Ninjastic.space and BPIP.org websites than manually searching by typing or copy-pasting the user's name. BPIP Extension is a much more efficient way and it can save you a lot of time. I would highly recommend it.
I tend to agree with BPIP extensions where users can save more time logging into tools like ninjastic.space, Loyce.club or BPIP itself. One click is enough to go straight into the tool and get the user information we want, and of course it doesn't make people have to copy and paste. 3 in 1 is much better, but I think we can appreciate the OP's initiative as well.


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: _BlackStar on December 16, 2022, 07:13:32 PM
OP, sorry to say this but the bpip extension has helped me through some of its icons to get 1 click.
The features offered are quite complete rather than just one, but nevertheless your efforts deserve to be appreciated.

https://i.imgur.com/4yuSlxR.png



Hope that it is not my bad idea  :D
Not bad, but maybe having them all separately versus the bpip extension isn't very good advice.  :D
I use bpip extension, it is more complete and very helpful.


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: Welsh on December 16, 2022, 07:19:04 PM
Don't extensions, no matter how open they are, create privacy and security issues, especially for those who don't understand them?
Technically, even when you do understand the code, and verify it. You can't guarantee that the new code that you've used, despite being clean, won't be exploited by a potential attacker. It potentially increases the attack service of your browser.

So, larger modifications, and therefore more complex tend to yield more problems. However, the decision solely relies on the user, and their threat model. Plenty of users have modified their browser, including myself.


Title: Re: One click and jump in to ninjastic.space [Time saving tricks]
Post by: Crypto Library on December 16, 2022, 08:25:40 PM
  • How about the same for BPIP and Loyce Club?
Thank you, for advise sir. And I have already a Idea for those and for that I have reserved a post below this topic . Acually it's my first try I have many more things to learn and I am trying for that's.
you can check this list ---> List of Bitcointalk.org Userscripts/ Add-ons (https://bitcointalk.org/index.php?topic=5148488.0) before coding
Thank you for your support and also this great source.
Not bad, but maybe having them all separately versus the bpip extension isn't very good advice.  :D
I use bpip extension, it is more complete and very helpful.
It's true  and I'm agreeing that Bpip extension it definitely more workable tools . But in the first it didn't catch my eye. But I think it was good for me and I learned a lot of new things from this. And believe me first time when I was successfully able to run it the pleasure I got ,  I can't described it.