User talk:Js/6tabs-vector.js

Protocol-relative URL
In the line that sets the  attribute of each icon image:

the URL should be protocol-relative, that is:

in order to avoid mixed content in the event that someone is using the secure server without HTTPS Everywhere. Does this look right, or am I missing something? SoledadKabocha (talk) 05:28, 21 September 2012 (UTC)
 * In other words, [//en.wikipedia.org/w/index.php?oldid=414576651&diff=514267336&diffonly=1 diff] of the requested edit SoledadKabocha (talk) 05:03, 24 September 2012 (UTC)
 * Okay ✅. Let me know if there are any problems. &mdash; Martin (MSGJ · talk) 14:56, 26 September 2012 (UTC)

Interface-protected edit request on 1 February 2021
Currently, the  attribute is copied to the links of the two tabs added by this script. Because of this, pressing  when on a content page only cycles through the view, edit, and history tabs for the talk page, instead of the normal (without this script) behaviour of navigating to the talk page. The same issue exists when you are on a talk page and want to navigate to the content page, just the other way around.

The problem can be fixed by inserting  before the semicolon on line 21 (diff), which removes the attribute from the added tabs. You can test this change by loading my modified version of this script in your common.js or vector.js using. If you don't normally use access keys and don't know the modifier on your browser and OS, see Keyboard shortcuts.

After applying the change, please delete User:Rummskartoffel/6tabs-vector.js. Thanks in advance! – Rummskartoffel (talk • contribs) 15:13, 1 February 2021 (UTC)
 * ✅ this has been completed. —  xaosflux  Talk 11:06, 8 February 2021 (UTC)