Pages:
Author

Topic: [BETA] BPIP Extension - user info add-on / extension for Firefox, Chrome, et al - page 4. (Read 8289 times)

legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
Ahem... allow me to introduce you my newest script:

Code:
// ==UserScript==
// @name         Hide User Profile Icons
// @version      0.1
// @description  Hides all the default icons under the user profile (Visit Website, Send DM, Visit Profile)
// @author       TryNinja
// @match        https://bitcointalk.org/index.php?topic=*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bitcointalk.org
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    const dm = document.querySelectorAll("td.poster_info > div > a[href*='?action=pm;sa=send;u=']");
    const profile = document.querySelectorAll("td.poster_info > div > a[href*='?action=profile;u=']");
    const url = [...document.querySelectorAll("td.poster_info > div > a > img[src='https://bitcointalk.org/Themes/custom1/images/www_sm.gif'")].map(el => el.parentNode);
    const email = [...document.querySelectorAll("td.poster_info > div > a > img[src='https://bitcointalk.org/Themes/custom1/images/email_sm.gif'")].map(el => el.parentNode);

    [...dm, ...profile, ...url, ...email].forEach(el => el.remove());
})();
It worked just perfect for me. Thanks buddy!



Maybe someone can list all these extensions and codes in one place so that people like me never struggle to find them.

Cheers,

Edit: I wish I had 50 merits for you. But someday :-)
legendary
Activity: 2618
Merit: 1105
Ahem... allow me to introduce you my newest script:
TryNinja never sleeps and he is one of the best bitcointalk Santa's around here!  Cheesy
This two icons never bothered me that much,but maybe you should think about creating one ultimate all-in-one script that will make optional forum design changes.
For example, someone mentioned that posts from ignored members can still be seen in forum when someone quotes their post.
I would also like to hide some other parts in forum that can't be hidden with current modifications available in settings.
 


You mean a drop down list with different types of settings made available for us to modify how it will look for everyone individually? Sounds good if that's what you meant. I have not tried this yet, but want to ask a question.

Does the beta provide notifications whenever our post is quoted or we are mentioned in some post the way we get through the telegram bot by TryNinja?
I'm talking about notifications that pop up on the screen for all the apps.
legendary
Activity: 2212
Merit: 7064
Ahem... allow me to introduce you my newest script:
TryNinja never sleeps and he is one of the best bitcointalk Santa's around here!  Cheesy
This two icons never bothered me that much,but maybe you should think about creating one ultimate all-in-one script that will make optional forum design changes.
For example, someone mentioned that posts from ignored members can still be seen in forum when someone quotes their post.
I would also like to hide some other parts in forum that can't be hidden with current modifications available in settings.
 
legendary
Activity: 2758
Merit: 6830
Nice job BPIP team. How do I remove the marked icons please?
There's no userscript/extension so far which can remove these if I'm correct.

Ahem... allow me to introduce you my newest script:

Code:
// ==UserScript==
// @name         Hide User Profile Icons
// @version      0.1
// @description  Hides all the default icons under the user profile (Visit Website, Send DM, Visit Profile)
// @author       TryNinja
// @match        https://bitcointalk.org/index.php?topic=*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bitcointalk.org
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    const dm = document.querySelectorAll("td.poster_info > div > a[href*='?action=pm;sa=send;u=']");
    const profile = document.querySelectorAll("td.poster_info > div > a[href*='?action=profile;u=']");
    const url = [...document.querySelectorAll("td.poster_info > div > a > img[src='https://bitcointalk.org/Themes/custom1/images/www_sm.gif'")].map(el => el.parentNode);
    const email = [...document.querySelectorAll("td.poster_info > div > a > img[src='https://bitcointalk.org/Themes/custom1/images/email_sm.gif'")].map(el => el.parentNode);

    [...dm, ...profile, ...url, ...email].forEach(el => el.remove());
})();



Grin
legendary
Activity: 2254
Merit: 2305
Marketing Campaign Manager |Telegram ID- @LT_Mouse
Nice job BPIP team. How do I remove the marked icons please?


These are icons from the forum. I don't think you can remove these icons permanently, also I don't see a reason why you would remove these. There's no userscript/extension so far which can remove these if I'm correct.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
Nice job BPIP team. How do I remove the marked icons please?

hero member
Activity: 504
Merit: 625
Pizza Maker 2023 | Bitcoinbeer.events
At any rate, Mozilla seems to be very intent to kill Firefox if you look at the latest Play Store reviews so I won't be putting too much effort into it. Once the dust settles and there is a clear path to make the extension work in the long run - maybe.
So full add on support for Android Firefox is in the pipeline. However, you can use any add on you like right now on Android with a bit of a workaround.

First of all, you need to download Firefox Nightly, which is essentially the alpha developer version.
Direct link: https://www.mozilla.org/en-GB/firefox/channel/desktop/
Google Play link: https://play.google.com/store/apps/details?id=org.mozilla.fenix

You then need to go to https://addons.mozilla.org/en-US/firefox/collections/, click "Log in to view your collections", create an account, and then create a new collection with a unique name. Search for all the add ons you want to use, and add them to your collection, BPIP included. Make a note of the unique name you gave the collection, and the 8 digit number in the URL.

Open your Firefox Nightly app, go to settings, scroll to the bottom and select "About Firefox Nightly", and tap the Firefox logo five times until you get a pop up saying "Debug menu enabled".
Go back to settings, scroll down to "Advanced" and select "Custom Add-on Collection".
Enter the 8 digit number from above in the "Collection owner (User ID)" field, and the name you gave your collection in the "Collection Name" field, and hit OK.
The app will apply the changes and then shut down.
Relaunch the app, go to add ons, and you will see all the add ons from your collection listed. Tap the plus sign next to each one to install.

I can confirm that the BPIP extension works just fine using the above steps.

I just posted (if you look at a couple of threads above) about how I changed the css through your add on but I quoted the wrong thread Sad so I wonder why don't you enter a theme that is compatible for mobile like in my screenshot? Obviously if you can also improve it.
hero member
Activity: 504
Merit: 625
Pizza Maker 2023 | Bitcoinbeer.events


How did you manage to use the extension?
There's nothing happening whenever I'm tapping on both of these versions, should I change my current browser (Chrome) and go for something else?
I'm not a Firefox fan anymore, so suggest me something else. Will it work on Kiwi browser?

well the guide is clear and the extension only works on Firefox nightly version.  I don't think it will work in chrome and any other browser other than that.

https://bitcointalksearch.org/topic/m.55623506
legendary
Activity: 3052
Merit: 1273
Warning: beta-quality software. Use at your own risk.

Somewhat-stable version: 2.2.5
Latest test version: 2.3.x



hey i tested your add-on and i really like it a lot, now i tried to take a theme for SMF responsive and paste the CSS and i must say it works but need to improve the code is still not good, for example the signatures don't stay visible as in the desktop but they are staggered and some things like the quotes need background colors but the important thing is that it is usable from mobile.  Why don't you integrate a responsive theme so that everyone can use it with a simple click?
https://i.postimg.cc/G2jq5VHT/Screenshot-20221229-181108.jpg (snipped image)

How did you manage to use the extension?
There's nothing happening whenever I'm tapping on both of these versions, should I change my current browser (Chrome) and go for something else?
I'm not a Firefox fan anymore, so suggest me something else. Will it work on Kiwi browser?
hero member
Activity: 504
Merit: 625
Pizza Maker 2023 | Bitcoinbeer.events
Warning: beta-quality software. Use at your own risk.

Somewhat-stable version: 2.2.5
Latest test version: 2.3.x



hey i tested your add-on and i really like it a lot, now i tried to take a theme for SMF responsive and paste the CSS and i must say it works but need to improve the code is still not good, for example the signatures don't stay visible as in the desktop but they are staggered and some things like the quotes need background colors but the important thing is that it is usable from mobile.  Why don't you integrate a responsive theme so that everyone can use it with a simple click?
hero member
Activity: 504
Merit: 625
Pizza Maker 2023 | Bitcoinbeer.events

So full add on support for Android Firefox is in the pipeline. However, you can use any add on you like right now on Android with a bit of a workaround.


I tried the android version and everything works exactly.  But do you also receive notifications or not?  In any case, I congratulate you and leave you some merit.  Do you have the option to add it to chrome mobile or Brave as well?
legendary
Activity: 2240
Merit: 3150
₿uy / $ell ..oeleo ;(
Bumping this with suggestion, since the 14 days cycles for the activity reset are predefined, is it possible to add a countdown when the current cycle will end?

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Yeah, it could be really complicated. Although in reality many (or perhaps most) personal/small project don't care or don't check license compatibility between each library/used source code. But AFAIK rewriting source code usually is legally acceptable. BPIP will have to do that anyway unless they want to bundle jQuery on their extension.

Yeah we don't really want jQuery. I'll take a look at what the enhanced merit UI does and if/how that functionality fits into our extension. I assume you wouldn't have a problem if we steal the idea but not the code?

No problem. In fact, i do not consider that as stealing.
legendary
Activity: 3654
Merit: 8909
https://bpip.org
Yeah, it could be really complicated. Although in reality many (or perhaps most) personal/small project don't care or don't check license compatibility between each library/used source code. But AFAIK rewriting source code usually is legally acceptable. BPIP will have to do that anyway unless they want to bundle jQuery on their extension.

Yeah we don't really want jQuery. I'll take a look at what the enhanced merit UI does and if/how that functionality fits into our extension. I assume you wouldn't have a problem if we steal the idea but not the code?

1. Is it possible to have this extension in Safari? Is there any particular reason why it is not possible (yet)

I don't know a thing about Safari nor do I own or touch or have any regular relationship with any Apple products so that might be a bit of a challenge. But I'll see what can be done there. We have a cross-platform shim library between Firefox and Chrome/Edge, if it's as simple with Safari then it shouldn't be a problem. However if it requires an Apple developer license or something like that - I'd have to pass. I'm already having nightmares trying to maintain some mobile apps for iOS, don't need a new one Smiley
hero member
Activity: 2422
Merit: 668
Community management 24/7 for hire
Thank you for the add-on.
legendary
Activity: 2212
Merit: 7064
Is it possible to have this extension in Safari? Is there any particular reason why it is not possible (yet)
I think I saw easy way to convert any chrome extension to Safari, but this would be easy for developers, not so much for regular users.
There was a similar way to convert extensions to Firefox from Chrome, so I don't see a big problem doing that for Safari browser.
Easier way would be to just use alternative browsers for Mac and iOS with extension when you are browsing Bitcointalk forum.
Maybe ask suchmoon about conversion from Chrome to Safari.

EDIT:
Check out this video with explanation and see if it works with BPIP Extension using crxextractor.com:
https://www.youtube.com/watch?v=tFbBiEdFVUA
legendary
Activity: 2268
Merit: 16328
Fully fledged Merit Cycler - Golden Feather 22-23

FYI, the script was originally created by @grue[1-2] under GPLv2 license[3]. @EcuaMobi and i made several change/improvement. Mozilla provide guide to combine MPL 2.0 and and GPL license[4], but i don't know it can be applied for MPL 2.0 and GPLv2.

Regarding the license, the BPIP extension is distributed under the Mozilla Public License 2.0.,

Distribution rights aren't the same as the licence's rights' itself.

Many software license including MPL 2.0 already handle how the software/source code can be distributed[5].


This is getting more and more complicated.
I thought it was a technical issue, not a legal one!

This one of mine is only a request. I have a deep respect for your work and commitment for this project.
I will handle the little hassle of having multiple extension and on a browser I do not use regularly. Nothing dramatic!
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
2. Is it possible to integrate Re: Enhanced merit UI [1.3]. I don't know if you contacted ETFBitcoin for permission.

FYI, the script was originally created by @grue[1-2] under GPLv2 license[3]. @EcuaMobi and i made several change/improvement. Mozilla provide guide to combine MPL 2.0 and and GPL license[4], but i don't know it can be applied for MPL 2.0 and GPLv2.

Regarding the license, the BPIP extension is distributed under the Mozilla Public License 2.0.,

Distribution rights aren't the same as the licence's rights' itself.

Many software license including MPL 2.0 already handle how the software/source code can be distributed[5].



[1] https://bitcointalksearch.org/topic/enhanced-merit-ui-11-2833350
[2] https://github.com/grue0/bitcointalk-scripts/blob/master/Merit.user.js
[3] https://github.com/grue0/bitcointalk-scripts/blob/master/LICENSE
[4] https://www.mozilla.org/en-US/MPL/2.0/combining-mpl-and-gpl/
[5] https://opensource.org/licenses/MPL-2.0, mainly chapter/section 3.
legendary
Activity: 2268
Merit: 16328
Fully fledged Merit Cycler - Golden Feather 22-23
Hello, I have been using this extension for a few weeks, and it is great!
I have two requests:

1. Is it possible to have this extension in Safari? Is there any particular reason why it is not possible (yet)
2. Is it possible to integrate Re: Enhanced merit UI [1.3]. I don't know if you contacted ETFBitcoin for permission.
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
I would appreciate though if any derivative work has a license permitting me (or anyone) to use it the same way my extension code is used, i.e. such changes should be released under MPL or similar license. However I don't have a way to enforce that nor would I try to, so...

You might want to consider employing the Creative Commons' Licence on your work.




Regarding the license, the BPIP extension is distributed under the Mozilla Public License 2.0.,

Distribution rights aren't the same as the licence's rights' itself.
Pages:
Jump to: