html code
Details
Jan 18 2020
Nov 21 2019
May 10 2019
Alternatively, you could change the home page to the program's interface e.g. 127.0.0.1:7657 for I2P and start the browser with a script that creates a popup box using zenity or similar that tells the user the information.
Sep 17 2018
merged into T809
Jul 10 2018
Jul 7 2018
May 27 2018
Please reference
I don't know about running multiple Tor Browser's in parallel, but as
far as this environment variable is concerned, there won't be an issue
most likely.
The starter script of the alternative TBB instance could overwrite this
global, default environment variable.
May 26 2018
The starter script of the alternative TBB instance could overwrite this
global, default environment variable.
I realized the homepage was set by an environment variable.
May 8 2018
Feb 23 2017
Great! Updated the wiki and documented here:
Replacing the | with {{!}} will render a | as expected. {{!}} is a "magic word" to Mediawiki, and it converts it to a pipe character.
Try making the opening tag <pre style="white-space: pre-wrap;"> instead of normal <pre>. There are a number of other wrapping/whitespace options if that doesn't work for what you need.
Jan 20 2017
Feb 10 2016
Feb 10 2015
Closeable.
Closeable or anything left to do here?
Yes.
Okay, I see. So without having this feature natively supported by the skin or even mediawiki itself, there is no way?
Making only the lines before a CodeSelect shorter is not possible, because you can't know what element comes next or before in css. Making all lines shorter is possible perhaps, but will likely break the layout of other elements and the page.
Could it be done using https://www.whonix.org/wiki/MediaWiki:Common.css or the theme?
Nope. Controlling something outside the widget is not possible from inside the widget, especially when the lines outside are put in <p> element, which is an element that does not possess a width attribute.
To use less space between text and [select code], I was thinking to introduce some "invisible table" in the whole textarea. Normal text lines get the left 95% of space. And [select code] on the right gets the rest 5% (or how little) space.
You mean you want [select code] link inside the box instead of outside?
Looks better. Yes. Makes sense.
Feb 9 2015
It looks better.
I have decided to give it another chance, and got some results. I found that the problem wasn't in the <div> tags, but because of the <textarea>. It turns out that <textarea> has a default margin-bottom value of 10px. I changed that value to 0, which shortened the distance between the CodeSelect box and the line(s) after.
Feb 4 2015
Feb 3 2015
Please read this security advice about editing MediaWiki:Common.css:
https://www.whonix.org/wiki/Dev/CSS
Within the CodeSelect area, it adds an extra empty line after "sudo apt-get update" at the bottom. Can this be fixed?
Fixed.
As a personal matter of taste, instead of writing the following style (a)
Unfortunately, it is necessary to keep it. Without it, any code that contains a '=' will face a problem.
Awesome, nice and simple fix!
I was too blind to see the most obvious solution! No need to use mediawiki extensions even.
Feb 1 2015
The problem is that mediawiki doesn't allow full access (or any access) to the window object in javascript. That's why I am unable to select the contents of an element unless it is an input text or a textarea, both containing an embedded selecting function and don't need to use the window object.
Without javascript, it's too much scrolling. Just two lines are visible. The rest needs to be scrolled.
Jan 30 2015
I've added the auto-resizing feature. You can test with js enabled/disabled to see how it would look on:
https://www.whonix.org/wiki/Translatetest5
Jan 29 2015
Does not seem that widgets allow html/js code on their own when raw html is disabled, as in your:
https://www.whonix.org/wiki/Widget:Share
Does not seem that widgets allow html/js code on their own when raw html is disabled, as in your:
https://www.whonix.org/wiki/Widget:Share