Bitcoin Forum

Other => Meta => Topic started by: babo on June 05, 2019, 10:22:19 AM



Title: [Userscript] archive-is fast link - v1.1 [ARCHIVED]
Post by: babo on June 05, 2019, 10:22:19 AM
hello
https://i.imgur.com/JkUTLMn.png

with this script, every link have an icon for 'archive-is'

i hope is usefull for the community

https://github.com/blackout314/greasemoney-btctalk_archiveis

here the code :)

---

CHANGELOG
v1.1 - https://github.com/blackout314/greasemoney-btctalk_archiveis/releases/tag/1.1
- all 'current page' is clickable

v1.0 - https://github.com/blackout314/greasemoney-btctalk_archiveis/releases/tag/1.0
- fix 'All' bug in nick
v0.5 - https://github.com/blackout314/greasemoney-btctalk_archiveis/releases/tag/0.5
- added 'achive current page' link
- archive only bitcointalk links
v0.4
- added another button (will change color to know if you have opened)
v0.3
- add 'all' navigation element in archive-is fast link list of allowed element
v0.2
- include subject of post on archive-is-link https://github.com/blackout314/greasemoney-btctalk_archiveis/releases/tag/0.2


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: owlcatz on June 05, 2019, 12:27:00 PM
This is awesome, thank you so much. What would be even more helpful to reporters and anti-scammers is if you could modify so tha every OP has a link to the <All> page of the thread to archive, that way the whole thread can be archived in one click, not just links!  ::)  Thumbs up, thanks again!  ;D


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: rhomelmabini on June 05, 2019, 12:46:37 PM
Thanks for this @babo, will this be working with chrome or just for Firefox? Hoping that more members will use this one as it will be lot easier to click those links already archived. How about webarchive.org I guess it's more friendly archive site I just have some issues anyway on Archive dot is as sometimes it's down but anyways thanks really with this one.


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: babo on June 05, 2019, 12:49:01 PM
Thanks for this @babo, will this be working with chrome or just for Firefox? Hoping that more members will use this one as it will be lot easier to click those links.

you are welcome, work in chrome with tampermonkey


This is awesome, thank you so much. What would be even more helpful to reporters and anti-scammers is if you could modify so tha every OP has a link to the <All> page of the thread to archive, that way the whole thread can be archived in one click, not just links!  ::)  Thumbs up, thanks again!  ;D

you are welcome mate, near title of thread?


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: owlcatz on June 05, 2019, 02:08:29 PM
you are welcome mate, near title of thread?

Yeah, sure, on the end maybe on the far right? Would be so helpful, including for sales and auction thread archiving as well... Thanks again, works great in Chrome for me. ;)


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: babo on June 05, 2019, 02:16:50 PM
Yeah, sure, on the end maybe on the far right? Would be so helpful, including for sales and auction thread archiving as well... Thanks again, works great in Chrome for me. ;)

ok, let me put hands on :) return back in one hour and you find script updated with your request
v0.2


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: owlcatz on June 05, 2019, 02:21:37 PM
ok, let me put hands on :) return back in one hour and you find script updated with your request
v0.2


Thanks bud, this will be one of the most useful site scripts if you can do that, IMO! :D

No rush btw, I just thought it would extra-cool and helpful! :)


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: babo on June 05, 2019, 02:26:37 PM
here

https://i.imgur.com/zSKo85h.png

works good
test it and say me if is ok for you


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: owlcatz on June 05, 2019, 02:39:33 PM
Edit - nevermind, I had to re-enable it. Works great but one addition would be great - for multi-page topics, make the OP link use the <All> link to archive the ENTIRE thread. (If possible)? Otherwise, this is just great either way, thanks! :D


Title: Re: [Userscript] archive-is fast link - v0.1
Post by: babo on June 05, 2019, 03:30:40 PM
Edit - nevermind, I had to re-enable it. Works great but one addition would be great - for multi-page topics, make the OP link use the <All> link to archive the ENTIRE thread. (If possible)? Otherwise, this is just great either way, thanks! :D

ah ok
tomorrow i do it, no problem

for me is a pleasure make usefull stuff for community


Title: Re: [Userscript] archive-is fast link - v0.3
Post by: babo on June 06, 2019, 10:32:29 AM
Edit - nevermind, I had to re-enable it. Works great but one addition would be great - for multi-page topics, make the OP link use the <All> link to archive the ENTIRE thread. (If possible)? Otherwise, this is just great either way, thanks! :D

https://i.imgur.com/aIzdUnM.png

ok, i'm going to release v0.3 with 'all' button covered by 'fast archive-is'

:) thank you for advices and requests


---
work in list of last thread :) too
https://i.imgur.com/ADA3vN4.png


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: babo on June 07, 2019, 10:27:26 AM
https://github.com/blackout314/greasemoney-btctalk_archiveis/releases/tag/0.4

0.4 released
- added another button (will change color to know if you have opened)

https://i.imgur.com/sCdbzrr.png


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: babo on June 09, 2019, 08:43:29 AM
I'm working on new release, i can copy in the machine the url of Archive.is link for this reason ready to paste

But is little hard, i require much time.. if anyone want features

For example we can use browser db indexdb for store informations


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: asche on June 09, 2019, 09:31:05 AM
Unfortunately the script is also adding buttons in places it shouldn't/where it's not helpful, for instance in the news header, or in signature space.


Would this be easily improvable?

Another nice feature would be the ability to archive the current page in one click.


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: babo on June 09, 2019, 12:27:47 PM
Unfortunately the script is also adding buttons in places it shouldn't/where it's not helpful, for instance in the news header, or in signature space.


Would this be easily improvable?

Another nice feature would be the ability to archive the current page in one click.

Ok, archive current page in nice feature

The bug of link in archive, can u link me a thread with this error?


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: asche on June 09, 2019, 12:31:44 PM
This is what I mean.

https://i.imgur.com/oPhqf0U.png

https://i.imgur.com/Oh97wWc.png

Another idea would be to limit the feature to bitcointalk.org* pages.

This would also take care of most of this issue. I only archive bitcointalk pages anyway.


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: babo on June 09, 2019, 12:41:18 PM
Ok understand

Tomorrow i'll fix this problem
And

Add the feature of 'archive this page'


Title: Re: [Userscript] archive-is fast link - v0.4
Post by: babo on June 12, 2019, 08:18:30 AM
https://github.com/blackout314/greasemoney-btctalk_archiveis/releases/tag/0.5

https://i.imgur.com/nhbfsYJ.png


added current page link in 0.5 - you can archive easy the current page :)


Title: Re: [Userscript] archive-is fast link - v0.5
Post by: owlcatz on June 12, 2019, 01:03:11 PM
Hi, thanks for the fixes, great job! ;D

I found a bug. For some profiles, this shows, not sure why? ???

https://i.imgur.com/dsshmZZl.jpg


Title: Re: [Userscript] archive-is fast link - v0.5
Post by: babo on June 12, 2019, 01:09:27 PM
Hi, thanks for the fixes, great job! ;D

I found a bug. For some profiles, this shows, not sure why? ???

https://i.imgur.com/dsshmZZl.jpg

i need to investigate,
can you link me the thread in pic?

and tomorrow i'll try to fix

----

ah ok, found

the nick of user have 'all' and for find All in list of topics, the script search this word

i need to find strict
Code:
/^all$/i


at the moment is
Code:
/all/i


Title: Re: [Userscript] archive-is fast link - v0.5
Post by: owlcatz on June 12, 2019, 01:18:31 PM
Yes, makes sense now. Here is another one. https://bitcointalk.org/index.php?topic=5137139.msg50812192#msg50812192

Thanks!  :)


Title: Re: [Userscript] archive-is fast link - v0.5
Post by: asche on June 12, 2019, 04:52:11 PM
Thanks!

No more archive icons in the middle of every the signatures!


Title: Re: [Userscript] archive-is fast link - v0.5
Post by: babo on June 12, 2019, 07:00:47 PM
Thanks!

No more archive icons in the middle of every the signatures!

thank you too for reporting the issue
:)

is important job, test, report issue... more than write code


:D i have another issue to resolve, about nick with all in the nick


Title: Re: [Userscript] archive-is fast link - v1.0
Post by: babo on June 13, 2019, 09:14:28 AM
release 1.0 with bugfix for all


i do a major because i think is stable now for a regular day-by-day use

:) thank you all


Title: Re: [Userscript] archive-is fast link - v1.0
Post by: babo on June 14, 2019, 07:15:28 PM
An evolution for 2.0
For you is usefull if script memorize url and archive url

And when surf the archived page, script said

'Hey man, this page is archived, this is the link'

Tell me if this evolution can be good


Title: Re: [Userscript] archive-is fast link - v1.0
Post by: asche on June 17, 2019, 11:40:36 PM
I don't think the script should save which pages YOU archived, but rather check for any archived version existing on archive.is.

Another nice feature would be an actual 1 clic archive button. Now you need to clic on the button, and then on archive on the new tab. This would allow to archive a lot of links fairly quickly.


Title: Re: [Userscript] archive-is fast link - v1.0
Post by: babo on June 18, 2019, 07:31:34 AM
I don't think the script should save which pages YOU archived, but rather check for any archived version existing on archive.is.

yes i mean this, check if page is currently archived, if is usefull

Another nice feature would be an actual 1 clic archive button. Now you need to clic on the button, and then on archive on the new tab. This would allow to archive a lot of links fairly quickly.

open in new tab? mmmm sounds good, ok this is next improvement for version 1.1


--- update ---
in my browser: Firefox, working good

video -> https://imgur.com/Oja5h8K


Title: Re: [Userscript] archive-is fast link - v1.1
Post by: babo on June 24, 2019, 09:08:58 AM
https://i.imgur.com/FcIEqaQ.png

version 1.1 released
the 'current page' is all clickable (not only the icon)

is better because from phone is hard to hit :)



-----
question
better UI for better tap?
https://i.imgur.com/KgwGr3C.png

do you like it?