SilverWav's Journal

The best is yet to come…

A simple alternative to Hacktheweb, aardvark, platypus or Tampermonkey.

with 7 comments

Because I hate ugly distracting cruft on websites. :-)

History:

I loved Platypus but moved on to Aardvark when it died, then created Hacktheweb to enable aardvark to save scripts to Stylish (recreating most of the platypus functionality with out the risks).

But while creating extensions can be a lot of fun, maintaining them… not so much.

Each time Stylish changes you need to update Hacktheweb to match. Tried that for a few years and… meh. So instead I just used Hacktheweb with the old 1.4.1.1 Stylish.

Also Hacktheweb was created on Firefox and I have moved to Chrome…

The Binding Flash of Inspiration:

But I had a revelation… Adblock Plus! Never really considered it after ruling it out a while ago (no widthify, no stylish, and I had hid the ABP button so out of sight out of mind).

But looking at it in this new light (looking for Simple, Quick and Good Enough, rather than Perfect).

The Benefits for me are:

No extra extensions, I am using ABP already, so no extra trust needed. Also backed by a big name developer.

ABP block element is quick and easy to use, as is transferring filters.

The Result:

Fantastic clean, distraction free, easy reading of my favourite web sites… without having to build and maintain my own extension.

Looks like a plan :-)

___________________________________________________

[25.07.2020] Update:

So yes life moves on :-)

All in on Apple these days, bought a 12.9 IPad Pro Dec 2017 and it’s the best computer I have owned.

I also purchased a stand, a Magic Keyboard and a Trackpad.

Now I have installed @AdGuard and it is just about perfect for my iPad & iPhone.

I found that I can block a part of a web site – like a header or sidebar that’s annoying me – so we have a winner.

Via a post at Macworld: macworld.co.uk/how-to/iosapps…

RSS Note:

I was using RSS but I have just moved over to TweetDeck.

Life moves on!

___________________________________________________


[07.04.2018] Update:

So 1st, check out the comments for a couple of extensions that others have recommended.

Next, on Windows I’m still using ABP & the block element function, because I trust them and use it as an Adblocker anyway.

Next, on IPad I have moved over to Safari on iPad solely because of Automatic Reader View.

It loads the page then Reader View kicks in, and I get just the text and main images, no ads no cruft. I use the iPad 2017 with a Logitech slim folio case, basically a 9.5in laptop with touch.

Any edge cases that the Reader View cant cope with I save to Pocket.

Too busy in RL so this is the best life hack to the web readability problems that I have ATM.

Cheers.

Written by SilverWav

July 21, 2015 at 3:09 pm

Picture walk through: How to Download the new Adblock Browser Beta (app is hidden from normal users)

leave a comment »

The app is hidden from normal users as its a beta.

To download the app you MUST enrol on the Play Store beta program for Adblock Browser as detailed below:

1 – Join the Adblock Plus’ Google+ community page.

2 – Click https://goo.gl/Yv2x5q,  (select “Become a Tester” when asked).
This is a shortcut to: https://play.google.com/apps/testing/org.adblockplus.browser

Screenshot 2015-08-21 at 19.15.06 - Display 2

3 – Use the download it on Google Play link in the web page (see previous screenshot).

This opens up the hidden install page, click install and you are done!

Screenshot 2015-08-21 at 19.28.05

Written by SilverWav

August 21, 2015 at 6:35 pm

Note: WordPress upgrade loop fix “Database Upgrade Required”

leave a comment »

Looked all over but this guy saved the day!

Solution for WordPress WP-Options Issue – Database Upgrade Required

This is a problem related with a table named as “WP_Options” of WordPress database. The wp_options table contains some general information related to the blog which appears in the setting tab of admin. It also contains some information about the plug-in installed for the blog.

The Option Name db_version in WP_Options table is not equal to the field wp_db_version of version.php. You can have a look at the Version.php located under wp-include folder of your wordpress blog.

My db said 22441 so I changed my version.php to match.

I just needed to get in to Admin so I could do an export, so this did the trick :-)

______________________________

Details:

54 db_version 22441 yes

______________________________

”’db_version”’ for WordPress releases:
3.9 = 27916
3.8.3 = 26691
3.8.2 = 26691
3.8.1 = 26691
3.8 = 26691
3.7.1 = 25824
3.7 = 25824
3.6.1 = 22448
3.6 = 22448
3.5.2 = 22442
3.5.1 = 22441
3.5 = 22441

______________________________
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
*
* @global int $wp_db_version
*/
$wp_db_version = 27916;

Written by SilverWav

April 21, 2014 at 9:59 pm

Posted in Notes

Tagged with

SD card “disappears” after HP Pavilion 14 wakes from sleep.

leave a comment »

This is helpful, being able to bookmark, browse and use “save as” with the external SD card.

This is a partial work around for the “disappearing” SD card issue. (ChromeOS is the problem not the hardware, as I can still see the SD card from the chroot).

Fortunately, the web browser does support the file: URI scheme allowing access to the File Shelf and External Devices directories.

Directory URL
File Shelf file:///home/chronos/user/Downloads/
External Storage file:///media/removable/External%20Drive/

To copy a file from one directory or device to another, use the URL listed above to locate the target file, then right click on the file and select “Save link as…” to copy the file to a new location. (via William Shotts)

The other workaround is to use the command line which still allows for access to the SD card, once you use “shell”.

cp ~Download/somefile ‘media/removable/External Drive/’

__________

SD card “disappears” after HP Pavilion 14 wakes from sleep.

My newest Chromebook is the HP Pavilion 14, the older, black model. Fully updated. Today, I purchased a SanDisk SDHC card. The HP Chromebook recognizes it as “External Drive” and I can add files to it just fine. Just one problem: when this Chromebook wakes from sleep, and I click the Files icon, “External Drive” is no longer listed. Any ideas why? Removing and re-inserting the card forces Chrome OS to “see” it again.

Written by SilverWav

February 24, 2014 at 2:25 am

Crouton Upgrade raring to saucy

leave a comment »

A worked example so I don’t forget for the next time.

1. Backup chroot – after logging out of raring:

chronos@localhost:~$ sudo edit-chroot -b raring

2. Upgrade to new Distribution Release:
me@localhost:~$ sudo do-release-upgrade

3. Update your chroot using the latest crouton -u to make sure all of the crouton-related scripts are still in place.
me@localhost:~$ croutonversion -u -d -c

4. chronos@localhost:~$ sudo sh -e ~/Downloads/crouton -t xfce -t chrome -n raring -u

5. Rename the chroot (edit-chroot -m) to match the new release name:
chronos@localhost:~$ sudo edit-chroot -m saucy raring

Works a treat just need to run synaptic or software-center as root or I get errors:
gksudo synaptic-pkexec

PolicyKit error when trying to install/remove programs in the software center

Upgrade raring to saucy

Written by SilverWav

February 23, 2014 at 6:13 pm

Posted in Feature

Tagged with , , ,

How may Chromebooks run Crouton?

leave a comment »

Where Are All The Chromebooks?

Crouton has 171,342 users?… hmm interesting

Google URL Shortener - Google Chrome_023

goo.gl stats

__________

More interesting still the ratio of Chromebook users to Crouton installers…

1 in 10? then 1,713,420 Chromebooks

1 in a 100?  then 17,134,200

__________

Chromebook shipments in 2014 are expected to increase to 4-5 million units, the sources indicated.

__________

Hmm that Linux Web Growth looks like the Crouton affect – using Xfce on your Chromebook.

This is exactly how I use my HP Pavilion 14.

Hmm that looks like Crouton – using Xubuntu on your Chromebook

Chitika, an online advertising network and Yahoo partner, recently concluded a five-month study of Chrome OS and Linux Web usage growth. The company found that the Chrome OS drives 0.2% of desktop Web traffic in North America.

That represents a doubling of Chrome OS traffic in September 2013, when Chitika’s study began. But in the overall scheme of things, Chromebook-generated Web traffic remains insignificant. Chrome OS Web traffic is about a tenth of desktop Linux Web traffic in North America.

Written by SilverWav

February 23, 2014 at 1:49 pm

SSH Is Easy! Linux’s best kept secret.

leave a comment »

Read this first SSH: An Easier-Than-You-Thought Tutorial by Paul Arnote (parnote)

I had no problem with this:

ssh -l paul_lenovo 192.168.1.101

-l (small L) logs the listed computer as a trusted computer, and we only have to do this once (per remote machine, per local machine).

though to log-out I used “logout” not “~.”

Then…

ssh -v remote_account_name@remote_ip_address

…worked fine!

But…

ssh -v -X remote_account_name@remote_ip_address

gave me an error:

X11 forwarding request failed on channel 0

This turned out to be because IPv6 was disabled:

$ sysctl net.ipv6.conf.all.disable_ipv6
$ net.ipv6.conf.all.disable_ipv6 = 1

The easy answer was:

1) Adding the following to your sshd_config (/etc/ssh/sshd_config)
AddressFamily inet
2) Restart SSH

Hell Yeah!

Typed “thunar” and after a brief delay there was my remote file manager forwarded to my desktop.

Sheer magic.


Notes:

Ensure you have OpenSSH client and the OpenSSH server installed.

sudo nmap -sP 192.168.0.0/24 scans your network and lists all of your devices.

https://gist.github.com/adrianratnapala/1324845

http://www.gossamer-threads.com/lists/openssh/users/51998

http://pclosmag.com/html/Issues/201102/page18.html

Written by SilverWav

August 27, 2013 at 9:48 pm

The Best Chrome Extensions For An Ex Firefox User (9 month later)

leave a comment »

Extensions:

Adblock Plus  1.5.4

Blocks all annoying ads on the web: video ads on YouTube, Facebook ads, banners and much more. Visit website

Close tab on context menu 0.2

A simple extension that add a ‘close tab’ context menu entry. Visit website

Create Link  0.2.9

Copy current page URL to clipboard in various formats. Visit website

Double Click Closes Tab 1.0.9

Double left/right or triple left clicks on WEBPAGE (not tab) to close tab. Reopen tab by shiftKey + DC/TC. Visit website

Force Background Tab 2.0.4

Force New Tab Running In Background Visit website

Netflix Rate 1.3.18

Add IMDB and Rotten Tomato ratings to the Netflix webpage. Visit website

PageZipper 1.3
A free bookmarklet which automatically merges all the ‘Next’ pages into one page Visit website

Pocket (formerly Read It Later) 1.5.6
Pocket Extension for Google Chrome – The best way to save articles, videos and more Visit website

Readability Redux 1.3.4

Readability for Chrome. Now fully customizable! Visit website

Scroll To Top Button 6.2.4

Adds a scroll to top or bottom button. Visit website

Stylebot 2.1

Change the appearance of websites instantly. Visit website

I use this to generate CSS code then create a style at http://userstyles.org/users/98352 for use in Stylish 1.2

I find Stylebots use of a form and click’n’pick selection easy to use, but prefer saving to Stylish.

Main thing you have to change in the CSS is adding “!important” to things.

Stylish 1.0

Restyle the web with Stylish, a user styles manager. Stylish lets you easily install themes and skins for Google, Facebook, YouTube, Orkut, and many, many other sites. Visit website

The best :-) see http://userstyles.org/users/98352.

Having the styles on the web makes it easy to add then on any Chrome browser, at home or work.

URL Pinner 0.6.15
Auto pin your websites via URL and keep them sorted! Visit website

Set “RegExmode” to “.*” then all tabs are pinned.

______________________________

Notes:

RSS: I now use Feedly via the web, no need for an extension.

Font Size: Chrome’s Built In Page Zoom and Minimum Font Size mean that there is no need for an extension.

Not perfect but with the occasional Stylish hack, workable.

HP Chromebook: Xfce Setup and Apps

leave a comment »

To add Xfce to your HP Chromebook you need to go here first.

Now on with the configuring of your new Xfce Desktop… :-)

Xfce Setup and Apps

sudo apt-get install arandr

sudo apt-get install synaptic

file-roller

gnome-system-monitor

pina

keepassx

Appearance

Icons > Harmony.

Rendering > enable anti-aliasing: slight, rbg

Written by SilverWav

August 24, 2013 at 9:01 am

HP Chromebook: Crouton-Xfce: Double-click action maximize

with 2 comments

The double-click action can be set by opening the Settings dialog called “Window Manager”. Under the Advanced tab, if you scroll down to the last item which is Double-click action you can select shade, hide, maximize, fill or nothing.

You may have to unset then set, or…

Try changing the mouse double-click Time and Distance settings to see if that helps (Settings Manager -> Mouse and Touchpad -> Behavior). Perhaps the settings are too low and the double-click event doesn’t happen fast enough (or the mouse moves too much).

Changed from 250 > 350.

Written by SilverWav

August 24, 2013 at 7:27 am