I've tried in Firefox and Chrome Beta and Chromium, I can hit the "copy to clipboard" button on for instance GitHub and the repo url gets copied to the clipboard, but hitting the sweet blue BP button on this forum now does nothing. So it looks to me like there's something about copying to the clipboard that GitHub knows that phpbb doesn't.
edited title to incorporate comments from eradicator and davemcw: it's not os specific at all, modern web engines are exposing a race in the button setup code more and more often.
Copy-BP button fails randomly, and ever more often
Copy-BP button fails randomly, and ever more often
Last edited by quyxkh on Fri May 07, 2021 12:26 pm, edited 1 time in total.
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Copy-BP button does not work on GNOME 40
The bp button has never worked for me on Firefox. (But with the number of addons I have I never blamed that on the forum.)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: Copy-BP button does not work on GNOME 40
It seems to randomly fail for me. For example, in this post the first blueprint works and the second one does not.
Looking at the DOM inspector, the working button has id="BPbutton_oqyoxohfk" while the broken button has id="BPbutton". This means javascript failed to activate the button, it is not an OS copy/paste problem.
It is easy to see why it fails, every button starts with id="BPbutton" as the page loads. Then there is a race condition to activate the button's <script> block before another button loads. I am amazed that it works as often as it does.
Looking at the DOM inspector, the working button has id="BPbutton_oqyoxohfk" while the broken button has id="BPbutton". This means javascript failed to activate the button, it is not an OS copy/paste problem.
It is easy to see why it fails, every button starts with id="BPbutton" as the page loads. Then there is a race condition to activate the button's <script> block before another button loads. I am amazed that it works as often as it does.
Re: Copy-BP button fails randomly, and ever more often
I guess this works randomly, because the script looks just for one class. If meanwhile more content is loaded, the script oversees it.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Copy-BP button fails randomly, and ever more often
I've fixed the button when there are multiple blueprint strings on the same page :) But it may be necessary to edit and re-save old posts.
ovo