Block Facebook External Access

  • strict warning: Non-static method view::load() should not be called statically in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/handlers/views_handler_argument.inc on line 745.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 25.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Non-static method view::load() should not be called statically in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/views.module on line 879.
  • strict warning: Non-static method view::load() should not be called statically in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/views.module on line 879.
  • strict warning: Non-static method view::load() should not be called statically in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/views.module on line 879.
  • strict warning: Non-static method view::load() should not be called statically in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/views.module on line 879.
  • strict warning: Non-static method views_many_to_one_helper::option_definition() should not be called statically, assuming $this from incompatible context in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/handlers/views_handler_argument_many_to_one.inc on line 36.
  • strict warning: Non-static method views_many_to_one_helper::option_definition() should not be called statically, assuming $this from incompatible context in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/handlers/views_handler_argument_many_to_one.inc on line 36.
  • strict warning: Non-static method view::load() should not be called statically in /home/zotlan/domains/extendopera.org/public_html/sites/all/modules/views/views.module on line 879.
Blocks all sites other than Facebook from loading JavaScript hosted on Facebook servers to prevent any unknown use of your profile data via bug or change to Facebook policy.

Inspired by this Lifehacker post:

http://lifehacker.com/5542041/block-sites-from-using-your-facebook-login...

I saw the above post and instantly thought that Opera deserved a comparable solution; one that would also be trivial to create.

The script will block loading of any JavaScript from facebook.com, facebook.net, fbcdn.com, and fbcdn.net — unless the page loading them is also from one of those domains. This becomes a particular issue with Facebook's personalization program which allows select third-party sites (and any that might exploit bugs in this API) to access parts of your Facebook profile to personalise their own experience. You can turn off the feature at Facebook, but this should be a more robust solution free from the whims of Facebook.

This script currently makes no claim to protect the privacy of your Facebook profile data beyond duplicating the AdBlock+ rules given in the Lifehacker post. Please let me know if anything at Facebook breaks as a result.

Syndicate content

Tested with Opera version(s): 
10.50
Your rating: None Average: 2.3 (3 votes)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

nice

additionally, I recommend adding

*://www.facebook.com/widgets/like.php*

to urlfilter.ini

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

By submitting this form, you accept the Mollom privacy policy.