proginosko / LeechBlockNG

LeechBlock NG (Next Generation) for Firefox is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
716 stars 65 forks source link

Sepia filter is not removed after time period ends (Firefox) #137

Closed glaebhoerl closed 4 years ago

glaebhoerl commented 4 years ago

(I assume this happens with any of the filters but haven't tried.)

Here is what I did:

What I expected:

What actually happened:


LeechBlock NG: Version 1.0.4 Last Updated March 19, 2020

![leechblock1](https://user-images.githubusercontent.com/1216629/77846855-9d4e4280-71c1-11ea-986f-f24cfa951970.png) ![leechblock2](https://user-images.githubusercontent.com/1216629/77846856-9e7f6f80-71c1-11ea-9edb-7d317224b1b7.png)

Firefox: 69.0.2

```json { "application": { "name": "Firefox", "osVersion": "Linux 4.19.80", "version": "69.0.2", "buildID": "20191023135631", "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0", "safeMode": false, "supportURL": "https://support.mozilla.org/1/firefox/69.0.2/Linux/en-US/", "numTotalWindows": 7, "numRemoteWindows": 7, "remoteAutoStart": true, "autoStartStatus": 1, "policiesStatus": 0, "keyLocationServiceGoogleFound": true, "keySafebrowsingGoogleFound": true, "keyMozillaFound": false }, "securitySoftware": { "registeredAntiVirus": "", "registeredAntiSpyware": "", "registeredFirewall": "" }, "processes": { "remoteTypes": { "web": 8, "extension": 1 }, "maxWebContentProcesses": 8 }, "modifiedPreferences": { "accessibility.typeaheadfind.flashBar": 0, "browser.cache.disk.amount_written": 689559, "browser.cache.disk.telemetry_report_ID": 85, "browser.cache.disk.capacity": 245760, "browser.cache.disk.filesystem_reported": 1, "browser.cache.disk.hashstats_reported": 1, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.smart_size.use_old_max": false, "browser.cache.disk.smart_size_cached_value": 358400, "browser.cache.frecency_experiment": 2, "browser.download.useDownloadDir": false, "browser.places.importBookmarksHTML": false, "browser.places.smartBookmarksVersion": 8, "browser.sessionstore.upgradeBackup.latestBuildID": "20180821153723", "browser.startup.homepage": "about:blank", "browser.startup.homepage_override.buildID": "20191023135631", "browser.startup.homepage_override.mstone": "69.0.2", "browser.tabs.insertRelatedAfterCurrent.backup": true, "browser.tabs.remote.autostart.2": true, "browser.urlbar.matchBuckets": "general:5,suggestion:Infinity", "browser.urlbar.placeholderName": "Google", "browser.urlbar.suggest.openpage": false, "browser.urlbar.userMadeSearchSuggestionsChoice": true, "browser.zoom.siteSpecific": false, "dom.apps.lastUpdate.buildID": "20161023163045", "dom.apps.lastUpdate.mstone": "49.0", "dom.apps.reset-permissions": true, "dom.max_script_run_time": 0, "dom.mozApps.used": true, "dom.push.userAgentID": "4419cf8da7c94e7387495df4d81237e6", "extensions.lastAppVersion": "69.0.2", "font.internaluseonly.changed": false, "gfx.crash-guard.glcontext.appVersion": "43.0.3", "gfx.crash-guard.glcontext.deviceID": "Gallium 0.4 on AMD PALM", "gfx.crash-guard.glcontext.driverVersion": "2.1 Mesa 10.6.9", "gfx.crash-guard.status.glcontext": 3, "idle.lastDailyNotification": 1585344224, "media.gmp-manager.lastCheck": 1584895686, "media.autoplay.enabled": false, "media.benchmark.vp9.fps": 220, "media.benchmark.vp9.versioncheck": 5, "media.eme.enabled": true, "media.gmp-gmpopenh264.abi": "x86_64-gcc3", "media.gmp-gmpopenh264.lastUpdate": 1563200823, "media.gmp-gmpopenh264.version": "1.8.1", "media.gmp-manager.buildID": "20191023135631", "media.gmp-widevinecdm.abi": "x86_64-gcc3", "media.gmp-widevinecdm.lastUpdate": 1572371617, "media.gmp-widevinecdm.version": "4.10.1440.19", "media.gmp.storage.version.observed": 1, "network.cookie.prefsMigrated": true, "network.predictor.cleaned-up": true, "places.history.expiration.transient_current_max_pages": 55250, "places.database.lastMaintenance": 1585344227, "plugin.disable_full_page_plugin_for_types": "application/pdf", "plugin.importedState": true, "plugins.ctprollout.cohort": "test", "plugins.ctprollout.cohortSample": "0.512819", "plugins.notifyMissingFlash": false, "print.print_bgcolor": false, "print.print_bgimages": false, "print.print_colorspace": "default", "print.print_downloadfonts": false, "print.print_duplex": 0, "print.print_evenpages": true, "print.print_margin_bottom": "0.5", "print.print_margin_left": "0.5", "print.print_margin_right": "0.5", "print.print_margin_top": "0.5", "print.print_oddpages": true, "print.print_orientation": 0, "print.print_page_delay": 50, "print.print_paper_data": 0, "print.print_paper_height": "279.40", "print.print_paper_name": "na_letter", "print.print_paper_size_type": 1, "print.print_paper_size_unit": 1, "print.print_paper_width": "215.90", "print.print_plex_name": "default", "print.print_resolution_name": "default", "print.print_scaling": " 1.00", "print.print_shrink_to_fit": true, "print.print_to_file": false, "print.print_unwriteable_margin_bottom": 56, "print.print_unwriteable_margin_left": 25, "print.print_unwriteable_margin_right": 25, "print.print_unwriteable_margin_top": 25, "privacy.sanitize.pending": "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]", "privacy.sanitize.migrateClearSavedPwdsOnExit": true, "privacy.sanitize.migrateFx3Prefs": true, "privacy.userContext.enabled": true, "privacy.userContext.extension": "@testpilot-containers", "privacy.userContext.longPressBehavior": 2, "privacy.userContext.ui.enabled": true, "security.remote_settings.intermediates.checked": 1570375422, "security.sandbox.content.tempDirSuffix": "bfe6a468-bcf9-43c9-86ab-20051a9ab038", "security.sandbox.plugin.tempDirSuffix": "fcee5b09-e757-4a00-a1e6-d0c4fff639e2", "services.sync.declinedEngines": "", "signon.importedFromSqlite": true, "storage.vacuum.last.index": 1, "storage.vacuum.last.places.sqlite": 1584011098 }, "lockedPreferences": {}, "media": { "currentAudioBackend": "remote", "currentMaxAudioChannels": 2, "currentPreferredSampleRate": 48000, "audioOutputDevices": [ { "name": "Built-in Audio Analog Stereo", "groupId": "/devices/pci0000:00/0000:00:1f.3/sound/card0", "vendor": "Intel Corporation", "type": 2, "state": 2, "preferred": 15, "supportedFormat": 12336, "defaultFormat": 16, "maxChannels": 2, "defaultRate": 48000, "maxRate": 384000, "minRate": 1, "maxLatency": 0, "minLatency": 0 } ], "audioInputDevices": [ { "name": "Monitor of Built-in Audio Analog Stereo", "groupId": "/devices/pci0000:00/0000:00:1f.3/sound/card0", "vendor": "Intel Corporation", "type": 1, "state": 2, "preferred": 0, "supportedFormat": 12336, "defaultFormat": 16, "maxChannels": 2, "defaultRate": 48000, "maxRate": 384000, "minRate": 1, "maxLatency": 0, "minLatency": 0 }, { "name": "Built-in Audio Analog Stereo", "groupId": "/devices/pci0000:00/0000:00:1f.3/sound/card0", "vendor": "Intel Corporation", "type": 1, "state": 2, "preferred": 15, "supportedFormat": 12336, "defaultFormat": 16, "maxChannels": 2, "defaultRate": 44100, "maxRate": 384000, "minRate": 1, "maxLatency": 0, "minLatency": 0 } ] }, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": false, "forceDisabled": 0, "handlerUsed": false, "instantiator": "" }, "libraryVersions": { "NSPR": { "minVersion": "4.21", "version": "4.21" }, "NSS": { "minVersion": "3.46", "version": "3.46" }, "NSSUTIL": { "minVersion": "3.46", "version": "3.46" }, "NSSSSL": { "minVersion": "3.46", "version": "3.46" }, "NSSSMIME": { "minVersion": "3.46", "version": "3.46" } }, "userJS": { "exists": false }, "intl": { "localeService": { "requested": [ "und" ], "available": [ "en-US" ], "supported": [ "en-US", "und" ], "regionalPrefs": [ "en-US" ], "defaultLocale": "und" }, "osPrefs": { "systemLocales": [ "en-US" ], "regionalPrefsLocales": [ "en-US" ] } }, "sandbox": { "hasSeccompBPF": true, "hasSeccompTSync": true, "hasPrivilegedUserNamespaces": true, "hasUserNamespaces": true, "canSandboxContent": true, "canSandboxMedia": true, "syscallLog": [], "contentSandboxLevel": 4, "effectiveContentSandboxLevel": 4 }, "graphics": { "numTotalWindows": 7, "numAcceleratedWindows": 0, "windowLayerManagerType": "Basic", "windowLayerManagerRemote": true, "windowUsingAdvancedLayers": false, "numAcceleratedWindowsMessage": { "key": "" }, "adapterDescription": "Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) ", "adapterVendorID": "0x8086", "adapterDeviceID": "0x191b", "adapterRAM": "3072MB", "adapterDrivers": "", "driverVendor": "mesa/i965", "driverVersion": "19.1.5.0", "driverDate": "", "usesTiling": false, "contentUsesTiling": false, "offMainThreadPaintEnabled": true, "offMainThreadPaintWorkerCount": 4, "targetFrameRate": 60, "windowProtocol": "x11", "webgl1Renderer": "Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) ", "webgl1Version": "3.0 Mesa 19.1.5", "webgl1DriverExtensions": "GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_fragment_shader_interlock GL_ARB_parallel_shader_compile GL_ARB_post_depth_coverage GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_EXT_shader_samples_identical GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_KHR_parallel_shader_compile GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_sRGB_R8 GL_INTEL_shader_atomic_float_minmax GL_NV_compute_shader_derivatives ", "webgl1Extensions": "ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context", "webgl1WSIInfo": "GLX 1.4\nGLX_VENDOR(client): Mesa Project and SGI\nGLX_VENDOR(server): SGI\nExtensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync ", "webgl2Renderer": "Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) ", "webgl2Version": "4.5 (Core Profile) Mesa 19.1.5", "webgl2DriverExtensions": "GL_3DFX_texture_compression_FXT1 GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_object_purgeable GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_fragment_shader_interlock GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ATI_blend_equation_separate GL_ATI_texture_float GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_shader_framebuffer_fetch GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_multimode_draw_arrays GL_INTEL_conservative_rasterization GL_INTEL_performance_query GL_INTEL_shader_atomic_float_minmax GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fragment_shader_interlock GL_NV_packed_depth_stencil GL_NV_texture_barrier GL_OES_EGL_image GL_S3_s3tc", "webgl2Extensions": "EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context", "webgl2WSIInfo": "GLX 1.4\nGLX_VENDOR(client): Mesa Project and SGI\nGLX_VENDOR(server): SGI\nExtensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync ", "info": { "AzureCanvasBackend": "skia", "AzureFallbackCanvasBackend": "none", "AzureContentBackend": "skia", "CairoUseXRender": 0, "ApzWheelInput": 1, "ApzDragInput": 1, "ApzKeyboardInput": 1, "ApzAutoscrollInput": 1 }, "featureLog": { "features": [ { "name": "HW_COMPOSITING", "description": "Compositing", "status": "blocked", "log": [ { "type": "default", "status": "available" }, { "type": "env", "status": "blocked", "message": "Acceleration blocked by platform" } ] }, { "name": "OPENGL_COMPOSITING", "description": "OpenGL Compositing", "status": "unavailable", "log": [ { "type": "default", "status": "unavailable", "message": "Hardware compositing is disabled" } ] }, { "name": "GPU_PROCESS", "description": "GPU Process", "status": "unavailable", "log": [ { "type": "default", "status": "available" }, { "type": "env", "status": "unavailable", "message": "Hardware compositing is unavailable." } ] }, { "name": "WEBRENDER", "description": "WebRender", "status": "opt-in", "log": [ { "type": "default", "status": "opt-in", "message": "WebRender is an opt-in feature" } ] }, { "name": "WEBRENDER_QUALIFIED", "description": "WebRender qualified", "status": "blocked-release-channel-intel", "log": [ { "type": "default", "status": "available" }, { "type": "env", "status": "blocked-release-channel-intel", "message": "Release channel and Intel" } ] }, { "name": "OMTP", "description": "Off Main Thread Painting", "status": "available", "log": [ { "type": "default", "status": "available" } ] } ], "fallbacks": [] }, "crashGuards": [ { "type": "glcontext", "prefName": "gfx.crash-guard.status.glcontext" } ] }, "extensions": [ { "name": "Amazon.com", "version": "1.1", "isActive": true, "id": "amazondotcom@search.mozilla.org" }, { "name": "Bing", "version": "1.0", "isActive": true, "id": "bing@search.mozilla.org" }, { "name": "Disable Ctrl-Q and Cmd-Q", "version": "1", "isActive": true, "id": "disable-ctrl-q-and-cmd-q@robwu.nl" }, { "name": "DuckDuckGo", "version": "1.0", "isActive": true, "id": "ddg@search.mozilla.org" }, { "name": "Firefox Multi-Account Containers", "version": "6.2.3", "isActive": true, "id": "@testpilot-containers" }, { "name": "Google", "version": "1.0", "isActive": true, "id": "google@search.mozilla.org" }, { "name": "Image Search Options", "version": "3.0.12", "isActive": true, "id": "{4a313247-8330-4a81-948e-b79936516f78}" }, { "name": "LeechBlock NG", "version": "1.0.4", "isActive": true, "id": "leechblockng@proginosko.com" }, { "name": "Nuke Anything", "version": "2.4", "isActive": true, "id": "{1ced4832-f06e-413f-aa14-9eb63ad40ace}" }, { "name": "Open in Browser", "version": "2.6", "isActive": true, "id": "openinbrowser@www.spasche.net" }, { "name": "Search image", "version": "0.1.3", "isActive": true, "id": "searchimage@searchimage.fr" }, { "name": "Sticky Ducky", "version": "1.5", "isActive": true, "id": "sticky-ducky@addons.mozilla.org" }, { "name": "SuperStop", "version": "0.3", "isActive": true, "id": "superstop@gavinsharp.com" }, { "name": "Tab flip for Tree Style Tab", "version": "1.4.0", "isActive": true, "id": "{724545b6-7e17-4fa2-96e0-71eddf3c3319}" }, { "name": "To Google Translate", "version": "3.1", "isActive": true, "id": "jid1-93WyvpgvxzGATw@jetpack" }, { "name": "Tree Style Tab", "version": "3.4.8", "isActive": true, "id": "treestyletab@piro.sakura.ne.jp" }, { "name": "Twitter", "version": "1.0", "isActive": true, "id": "twitter@search.mozilla.org" }, { "name": "Undo Close Tab", "version": "5.0.0", "isActive": true, "id": "{4853d046-c5a3-436b-bc36-220fd935ee1d}" }, { "name": "Wikipedia (en)", "version": "1.0", "isActive": true, "id": "wikipedia@search.mozilla.org" }, { "name": "Refined GitHub", "version": "20.3.26", "isActive": false, "id": "{a4c4eda4-fb84-4a84-b4a1-f7c1cbf2a1ad}" }, { "name": "Tab Counter Plus", "version": "2.9.1", "isActive": false, "id": "tab-counter-plus@Loirooriol" }, { "name": "Text to Speech (TTS)", "version": "0.1.7", "isActive": false, "id": "jid1-dqs9BdQga04hBw@jetpack" }, { "name": "Undo Closed Tabs Menu", "version": "2.0", "isActive": false, "id": "tst-closed_tabs_menu@dontpokebadgers.com" } ], "features": [ { "name": "Firefox Monitor", "version": "3.0", "id": "fxmonitor@mozilla.org" }, { "name": "Firefox Screenshots", "version": "39.0.0", "id": "screenshots@mozilla.org" }, { "name": "Form Autofill", "version": "1.0", "id": "formautofill@mozilla.org" }, { "name": "Web Compat", "version": "6.1.0", "id": "webcompat@mozilla.org" }, { "name": "WebCompat Reporter", "version": "1.1.0", "id": "webcompat-reporter@mozilla.org" } ] } ```
proginosko commented 4 years ago

LB is behaving as intended here. Whether that behavior is expected is another matter!

The filter option is treated just like a blocking page. If the conditions for blocking are met, the filter is applied. With a blocking page, the user would have to reload the blocked page. Likewise, then, for the filtered page.

If you set things up to apply the filter to every website, that's why the filter was applied to the content in all tabs.

All this to say, technically there's no bug here. It would require some additional code (non-trivial) to change the behavior to undo the filter once the blocking period has passed.

glaebhoerl commented 4 years ago

I see, thank you for the clarification. Shall I close this then?

(It does seem like the alternative behavior would be more useful, for what it's worth, but maybe there are other use cases I'm not seeing.)

proginosko commented 4 years ago

Leave it open for now. Let's see if there's demand for different behavior. I'll add it to the requested features list in the meantime.

iTeaMaster commented 4 years ago

I would also like this option. When a page is blocked, it is obvious that it has to be loaded again, because it has been replaced with the block page (or blanked, depending on settings). When filtered, the content is still visible. The filter going away without having to reload seems reasonable to me in that context.

glaebhoerl commented 4 years ago

FWIW I recently discovered that I can uncheck the "immediately block pages on these sites once blocking conditions are met" checkbox which strikes a somewhat better balance for me. The ideal would still be if it applied to every tab (or every tab I click on) and also turned itself off automatically.

ke352802081770314 commented 4 years ago

to me, the main benefit of using filter instead of block page would be to preserve page content as-is when the blocking ends. having to reload defeats this purpose and makes it only an optical gimmick with little benefit. Also, I did a test drive (using not LeechBlock but the Firefox debugger) with the filters you are offering, and have some doubt about the choices. One filter I would find fairly effective is blur(5px). Maybe you could make the list of filters user-editable somehow instead of hardwired in the code? In that case it would add flexibility to include the parameter in the selected value instead of nailing it down to 100% which is not compatible with some filters (see my blur example). You mention that it would be difficult to automatically unblock. I observe that when I have open a page subject to a rule that does not have "mmediately block pages on these sites once blocking conditions are met" set, the timer stays at 0:00 and resets itself to a higher value or disappears when a permitting period starts. So you could hook the filter-release code in a piece of code like "if timer was zero and now is not zero and blocking method is filter, then set filter to none" or something like that. Maybe not consider the page "blocked" when it is filtered, since it is still there, so the required logic isn't disabled? Many thanks for developing and maintaining LeechBlockNG!

proginosko commented 4 years ago

Thanks for the feedback. I'm going to add a blur option to the next version, and also try to change it so that the filter is removed when the block expires.

proginosko commented 4 years ago

Implemented in version 1.0.6.