First of all put a list of selected urls (one per line) in a file called **`urls.txt`** and save it in **`~/.mozilla/firefox/*.default/urls.txt`**. Then put the follow code at the very begin of **`/usr/lib/firefox/firefox.sh`** (just below of the _"shabang"_ `#!/bin/sh`): `ddrs=$(shuf-n1~/.mozilla/firefox/*.default/urls.txt)` `nwli="user_pref(\"browser.startup.homepage\","$ddrs");"` `sed-i"/browser.startup.homepage/c\\$nwli"~/.mozilla/firefox/*.default/prefs.js` <center>[Related Thread](https://unix.stackexchange.com/questions/249885/helponeditasedstatement)</center>
author | oneshot |
---|---|
permlink | linux-set-as-random-the-firefox-browser-homepage |
category | browser |
json_metadata | {"tags":["browser","internet"],"app":"steemit/0.1","format":"markdown","links":["https://unix.stackexchange.com/questions/249885/helponeditasedstatement"]} |
created | 2017-04-13 17:57:39 |
last_update | 2017-04-13 18:01:24 |
depth | 0 |
children | 0 |
last_payout | 2017-04-20 17:57:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.054 HBD |
curator_payout_value | 0.009 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 578 |
author_reputation | 2,618,161,935,301 |
root_title | "#Linux Set as random the Firefox browser homepage." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 3,007,227 |
net_rshares | 489,327,755,439 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pairmike | 0 | 3,781,827,630 | 5% | ||
konelectric | 0 | 1,248,222,611 | 5% | ||
forrestwillie | 0 | 1,197,769,613 | 5% | ||
andrei | 0 | 685,828,585 | 5% | ||
proglobyte | 0 | 66,051,612 | 2% | ||
fyrstikken | 0 | 103,981,355,247 | 6.66% | ||
joshbreslauer | 0 | 305,808,011,650 | 80% | ||
jamesjarman | 0 | 5,127,387,361 | 5% | ||
juvyjabian | 0 | 1,344,238,897 | 5% | ||
karenmckersie | 0 | 4,731,008,849 | 5% | ||
ubg | 0 | 13,545,042,687 | 1.11% | ||
dirty.hera | 0 | 56,020,131 | 5% | ||
gomeravibz | 0 | 1,802,781,988 | 5% | ||
proglobyte-m1 | 0 | 66,807,731 | 2% | ||
tingaling | 0 | 64,374,235 | 2% | ||
timelapse | 0 | 1,390,617,994 | 5% | ||
steemitqa | 0 | 1,290,698,914 | 5% | ||
darthnava | 0 | 1,311,671,091 | 5% | ||
zentat | 0 | 67,765,712 | 2% | ||
shadowspub | 0 | 634,168,049 | 5% | ||
cryptovpn | 0 | 3,672,503,682 | 100% | ||
steembriefing | 0 | 69,196,728 | 2% | ||
barrydutton | 0 | 4,727,224,736 | 5% | ||
steemitguide | 0 | 1,737,790,233 | 5% | ||
richardcrill | 0 | 3,109,962,893 | 5% | ||
jacobts | 0 | 715,881,640 | 5% | ||
mindhunter | 0 | 1,689,442,033 | 5% | ||
patelincho | 0 | 670,794,040 | 5% | ||
surpassinggoogle | 0 | 1,102,750,672 | 5% | ||
steemint | 0 | 64,748,385 | 2% | ||
giantbear | 0 | 2,828,141,674 | 5% | ||
daisyd | 0 | 1,206,311,724 | 5% | ||
technocomanche | 0 | 72,029,652 | 5% | ||
sqube | 0 | 2,985,919,148 | 1% | ||
cathynsons | 0 | 309,843,319 | 1% | ||
whatageek | 0 | 2,905,902,227 | 5% | ||
meysam | 0 | 1,355,741,746 | 5% | ||
driptorchpress | 0 | 274,221,741 | 5% | ||
warren.buffet | 0 | 176,282,506 | 1.11% | ||
rahul.stan | 0 | 89,259,704 | 5% | ||
riskdebonair | 0 | 1,122,842,972 | 5% | ||
rebeccanicholson | 0 | 102,124,084 | 5% | ||
cwatch | 0 | 465,575,310 | 5% | ||
willsplace | 0 | 195,281,589 | 5% | ||
ambyr00 | 0 | 9,081,318,040 | 5% | ||
kuttmargo | 0 | 63,687,530 | 1.11% | ||
mycryptomark | 0 | 208,910,544 | 5% | ||
anwarabdullah | 0 | 53,826,727 | 100% | ||
sassal | 0 | 68,589,573 | 100% |