Categories
Allgemein Programmieren Projekte Web

“IP Address & Geolocation” version 2.0 released

I’ve published a new version of my browser extension (aka webextension) “IP Address & Geolocation”.

Changelog for version 2:

  • Country flags are now shown as an icon in the toolbar, thanks to @mispp, who has contributed code through GitHub
    • This can be switched back to the default globe icon in options page
  • The extension popup (the small window you get when clicking on the icon in the toolbar) has now an error handling with a retry-function. A snackbar (a notification) will appear when the extension is not able to load any data. In previous versions the progressbar was just running endlessly without any feedback in a case of an error.
  • Images were optimized with the help of optipng.
  • Build script added to create packages for different browsers automatically. WebExtensions were meant to be a cross-browser system for developing extensions but browsers still have different support in case of APIs and metadata files. So the script helps for testing and deploying the extension on different browsers.
  • Removed storage permission for Chrome-like browsers, Firefox still needs it to save the settings. This is a good example for the different behavior of the browsers.
  • Higher contrast for badge with the country code. Now the background is black and the text is white.

Install for your browser:

As of today the extension has over 140000 downloads where the most are from Opera users. One reason for the huge Opera user-base is, that my extension was trending in the “privacy & security” category of Opera’s Add-on store. It is still on page 2 of the most popular extensions. So give it a try.

You can also find the source code on GitHub.

Categories
Linux Programmieren Web

Owncloud fail2ban setup with just one line

UPDATED: LATEST OC-VERSION 9.*

Fail2ban and owncloud are great tools!

To improve your security, you can ban bad guys, who want to hijack your owncloud accounts with random but common credentials, easily with fail2ban and the specific configuration for owncloud.

To make this as easy as possible for you, I wrote a shell script, which will setup everything with just one line:

Categories
Allgemein Javascript Web

Schnelltest: WhatsApp Web offenbart “zuletzt online”-Status

Sofern man selbst in WhatsApp unter den Datenschutz-Einstellungen den “Zuletzt online”-Status anderen gegenüber verbirgt, kann man diesen von anderen auch nicht einsehen.

WhatsApp Web zeigt diese Information im DOM der Seite web.whatsapp.com allerdings an – manchmal jedoch zu schnell fürs Auge. Abhilfe schafft ein kleines Inject über die Dev-Konsole des Browsers, um in der Konsole den Status der anderen anzeigen zu lassen.

Categories
Allgemein Programmieren Projekte Web

Chrome ‘IP Geolocator’ extension

I have released a new Chrome extension:

IP Geolocator shows your IP address and also geolocational informations about your IP address.

A badge of your current country is shown on the icon, which will refresh every 3s. So you can easily see, if you have a broken VPN or proxy connection when the country-code changes unexpectedly.

Also you can display your position in Google Maps.

Please feel free to make some requests at github:
https://github.com/AykutCevik/Geolocate-IP-Browser-Extension

Find it on Chrome Web Store.

Categories
Linux Programmieren Web

Installing AMQP through PECL

It seems to be a problem to find an easy to use solution to install AMQP support for PHP through PECL. As I already mentioned, I used to build the client library on my own and it worked like a charm.

If you are having troubles installing AMQP, use the following steps to get that thingy working: