thepressproject.gr - slows the browser down (Disqus-related?) Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by back2themoon » 2021-02-04, 17:54

(not related to PM29 - also on PM28)

When visiting this websites' articles, for some reason PM usually slows down almost to a halt (i.e. becomes unresponsive) for about 5-10 seconds (on a slow PC, but a faster one is not much better). After that, PM and the website work normally. It seems whatever was trying to 'load', is now complete. If other articles are visited on the same website, same delay occurs. Looks like it's happening while "Transferring data from disqus.com" (status bar info).

This is a sample of the errors I see, from a clean PM portable. If there's something on the websites' part that could/should be changed, please let me in know in reasonable detail so I can copy/paste/forward to them. Thanks.
Clipboard Image.png
Troubleshooting info (PM Portable):
Application Basics
------------------

Name: Pale Moon
Version: 29.0.0 (64-bit)
Build ID: 20210130123438
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Goanna/4.8 Firefox/68.0 PaleMoon/29.0.0
OS: Windows_NT 10.0
Safe Mode: false

Extensions
----------

Graphics
--------

Features
Compositing: Direct3D 11
GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000ae18) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture_nv12 EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.)
WebGL 1 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_compressed_ETC1_RGB8_texture GL_EXT_sRGB GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_draw_buffers GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_disjoint_timer_query GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_discard_framebuffer GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_NV_EGL_stream_consumer_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_OES_vertex_array_object GL_KHR_debug GL_ANGLE_lossy_etc_decode GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query GL_CHROMIUM_copy_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get 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_etc1 WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000000ae18) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture_nv12 EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.)
WebGL 2 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_compressed_ETC1_RGB8_texture GL_EXT_sRGB GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_draw_buffers GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_disjoint_timer_query GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_discard_framebuffer GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_NV_EGL_stream_consumer_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_EXT_color_buffer_float GL_OES_vertex_array_object GL_KHR_debug GL_ANGLE_lossy_etc_decode GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query GL_CHROMIUM_copy_texture GL_EXT_texture_norm16
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get OES_texture_float_linear WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc
Hardware H264 Decoding: Yes; Using D3D11 API
Audio Backend: wasapi
Direct2D: true
DirectWrite: true (10.0.19041.546)
GPU #1
Active: Yes
Description: NVIDIA GeForce GTX 1050 Ti
Vendor ID: 0x10de
Device ID: 0x1c82
Driver Version: 27.21.14.6140
Driver Date: 1-22-2021
Drivers: C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumdx.dll C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_bfebbae289c4da4e\nvldumd.dll
Subsys ID: 37641458
RAM: 4096

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo





Important Modified Preferences
------------------------------

browser.cache.disk.capacity: 1048576
browser.cache.disk.parent_directory: D:\Pale Moon Portable\User\Palemoon\Profiles\Default
browser.cache.disk.smart_size.first_run: false
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 4
browser.startup.homepage_override.buildID: 20210130123438
browser.startup.homepage_override.mstone: 4.8.0
extensions.lastAppVersion: 29.0.0
gfx.crash-guard.d3d11layers.appVersion: 29.0.0
gfx.crash-guard.d3d11layers.deviceID: 0x1c82
gfx.crash-guard.d3d11layers.driverVersion: 27.21.14.6140
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.d3d11video: 2
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
places.history.expiration.transient_current_max_pages: 122334
privacy.sanitize.migrateFx3Prefs: true

user.js Preferences
-------------------

Your profile folder contains a user.js file, which includes preferences that were not created by Pale Moon.

Important Locked Preferences
----------------------------

Places Database
---------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 1

Library Versions
----------------

NSPR
Expected minimum version: 4.29
Version in use: 4.29

NSS
Expected minimum version: 3.59.1.1
Version in use: 3.59.1.1

NSSSMIME
Expected minimum version: 3.59.1.1
Version in use: 3.59.1.1

NSSSSL
Expected minimum version: 3.59.1.1
Version in use: 3.59.1.1

NSSUTIL
Expected minimum version: 3.59.1.1
Version in use: 3.59.1.1
Line 6 error:
rel:"nofollow noopener noreferrer",target:"_blank",className:"disqus-footer__link"},a.createElement("i",{"aria-hidden":"true",className:"icon icon-disqus"}),a.createElement("span",{className:"clip hidden-md"},i("Add Disqus to your site")),a.createElement("span",{className:"clip visible-md hidden-xs"},i("Add Disqus")),a.createElement("span",{className:"clip visible-xs"},i("Add")))),d.isFeatureActive("removePrivacyPolicy",{forum:c.forum.id})?"":a.createElement("li",{className:"do-not-sell disqus-footer__item"},a.createElement("a",{href:"https://disqus.com/data-sharing-setting ... :"nofollow noopener noreferrer",target:"_blank",className:"disqus-footer__link"},a.createElement("i",{"aria-hidden":"true",className:"icon icon-warning"}),a.createElement("span",{className:"clip"},i("Do Not Sell My Data")))))))};return j}),define("lounge/menu-handler",["jquery","core/bus"],function(a,b){"use strict";return{init:function(c){function d(){a(".dropdown").removeClass("open")}a("html").on("click",d),a("body").delegate("[data-toggle]","click",function(b){b.stopPropagation(),b.preventDefault();var e=a(b.currentTarget),f=e.closest("."+e.attr("data-toggle")),g="disabled"!==f.attr("data-dropdown")&&!f.hasClass("open");if(f.attr("data-dropdown","enabled"),d(),g){f.addClass("open");var h=f.data("view-id");h&&c.trigger("opened:"+h,f)}}),b.frame.on("window.click",d)}}}),define("lounge/mixins",["core/utils/url/serialize"],function(a){"use strict";var b={_sharePopup:function(a,b){return window.open(a,"_blank",b||"width=550,height=520")},share:function(a){this.sharers[a].call(this)},sharers:{twitter:function(){var b="https://twitter.com/intent/tweet",c=thi ... sharePopup(a(b,{url:c,text:this.model.twitterText(c)}))},facebook:function(){this._sharePopup(a("https://www.facebook.com/sharer.php",{u ... .shortLink()}),"width=655,height=352")}}},c=function(){function a(){return this.collapseTarget&&this.collapseTarget.length||(this.collapseTarget=this.collapseTargetSelector?this[this.collapseScope].find(this.collapseTargetSelector):this[this.collapseScope]),this.collapseTarget}function b(){var b=this;if(b.isCollapseAllowed){var c=a.call(b);c&&c.length&&(c.height(b.collapsedHeight),e.call(b))}}function c(a){var b=this;if(b.collapseTarget&&b.collapseTarget.length){var c=b.collapseTarget;c.css("height","auto"),c.css("maxHeight","none"),f.call(b),a||(b.isCollapseAllowed=!1)}}function d(){return this.seeMoreButton&&this.seeMoreButton.length||(this.seeMoreButton=a.call(this).siblings("[data-action=see-more]")),this.seeMoreButton}function e(){var a=this;d.call(this).removeClass("hidden").on("click",function(){a.expand()})}function f(){d.call(this).addClass("hidden").off("click")}return function(a){var d=this;d.isCollapseAllowed=!0,d.collapsedHeight=a.collapsedHeight,d.collapseTargetSelector=a.collapseTargetSelector,d.collapseScope=a.collapseScope||"$el",d.collapse=b,d.expand=c}}();return{ShareMixin:b,asCollapsible:c}}),define("lounge/realtime",["underscore","backbone","loglevel","remote/config","common/urls","core/utils/url/serialize","common/utils"],function(a,b,c,d,e,f,g){"use strict";function h(){s.apply(this,arguments),this.marker=0,this.interval=m,this._boundOnError=a.bind(this.onError,this),this._boundOnLoad=a.bind(this.onLoad,this),this._boundOnProgress=a.bind(this.onProgress,this)}function i(){s.apply(this,arguments),this.handshakeSuccess=null,this.interval=m,this.handshakeFails=0,this._boundOnOpen=a.bind(this.onOpen,this),this._boundError=a.bind(this.onError,this),this._boundClose=a.bind(this.onClose,this),this._boundMessage=a.compose(a.bind(this.onMessage,this),function(a){return JSON.parse(a.data)})}var j=d.lounge.REALTIME||{},k=j.EXP_BASE||2,l=j.BACKOFF_LIMIT||300,m=j.BACKOFF_INTERVAL||1,n=j.MAX_HANDSHAKE_FAILS||1,o=j.WEBSOCKETS_ENABLED!==!1&&window.WebSocket&&2===window.WebSocket.CLOSING,p=j.XHR_ENABLED!==!1,q=function(){},r=function(){throw new Error("Pipe class cannot be used directly.")},s=function(b){this.channel=b,this.connection=null,this.paused=!1,this._msgBuffer=[],this._boundOpen=a.bind(this.open,this)};a.extend(s.prototype,b.Events,{getUrl:function(b){var c={};return a.extend(c,b),f(this.baseUrl+this.channel,c)},onMessage:function(a){var b=a.message_type,d=a.firehose_id;this.lastEventId=d,c.debug("RT: new message:",b,d);var e={type:b,data:a.message_body,lastEventId:d};this.trigger(b,e)},_msgToBuffer:function(){this._msgBuffer.push(a.toArray(arguments))},pause:function(a){this.paused||(this.paused=!0,this._trigger=this.trigger,this.trigger=a===!1?q:this._msgToBuffer,c.debug("RT: paused, buffered: %s",a!==!1))},resume:function(){if(this.paused){this.paused=!1,this.trigger=this._trigger,c.debug("RT: resumed, buffered messages: %s",this._msgBuffer.length);for(var a;a=this._msgBuffer.shift();)this.trigger.apply(this,a)}},open:r,close:function(){var a=this.connection;return!!a&&(this.connection=null,a)}}),a.extend(h.prototype,s.prototype,{baseUrl:e.realertime+"/api/2/",onError:function(){this.connection&&(this.connection=null,this.trigger("error",this),this.interval<=l&&(this.interval*=k),c.info("RT: Connection error, backing off %s secs",this.interval),a.delay(this._boundOpen,1e3*this.interval))},onLoad:function(){this.connection&&(this.connection=null,this.trigger("success",this),a.defer(this._boundOpen))},onProgress:function(){if(this.connection){var a,b,d,e,f=this.connection.responseText,g=0;if(f&&!(this.marker>=f.length)){a=f.slice(this.marker).split("\n");for(var h=a.length,i=0;i<h;i++)if(b=a,g+=b.length+1,d=b.replace(/^\s+|\s+$/g,"")){try{e=JSON.parse(d)}catch(j){if(i===h-1){g-=b.length+1;break}c.debug("RT: unable to parse: ",d,b);continue}this.onMessage(e)}else c.debug("RT: ignoring empty row...");g>0&&(this.marker+=g-1)}}},open:function(){this.close();var a=this.connection=g.CORS.request("GET",this.getUrl(),this._boundOnLoad,this._boundOnError);if(!a)return void c.debug("RT: Cannot use any cross-domain request tool with StreamPipe. Bailing out.");a.onprogress=this._boundOnProgress,this.connection=a,this.marker=0;try{a.send()}catch(b){this.connection=null,c.debug("RT: Attempt to send a CORS request failed.")}},close:function(){var a=s.prototype.close.apply(this);return a&&a.abort()}}),a.extend(i.prototype,s.prototype,{baseUrl:"wss:"+e.realertime+"/ws/2/",onOpen:function(){c.debug("RT: [Socket] Connection established."),this.handshakeSuccess=!0},onError:function(){if(!this.handshakeSuccess){if(this.handshakeFails>=n)return c.debug("RT: [Socket] Error before open, bailing out."),void this.trigger("fail");this.handshakeFails+=1}this.connection&&(this.connection=null,this.trigger("error"),this.interval<=l&&(this.interval*=k),c.error("RT: Connection error, backing off %s secs",this.interval),a.delay(this._boundOpen,1e3*this.interval))},onClose:function(a){if(this.connection){if(!a.wasClean)return this.onError();this.connection=null,c.debug("RT: [Socket] Connection closed. Restarting..."),this.trigger("close"),this.open()}},open:function(){this.close();try{this.connection=new window.WebSocket(this.getUrl())}catch(a){return this.onError()}var b=this.connection;b.onopen=this._boundOnOpen,b.onerror=this._boundError,b.onmessage=this._boundMessage,b.onclose=this._boundClose},close:function(){var a=s.prototype.close.apply(this);return a&&a.close()}});var t={_wsSupported:o,initialize:function(b,c,d){this.close(),this._initArgs=[b,c,d];var e=this._wsSupported,f=e&&i||p&&h;if(f){var g=this.pipe=new f(b);a.chain(c).pairs().each(function(a){g.on(a[0],a[1],d)}),e&&g.on("fail",function(){this._wsSupported=!1,g.off(),this.initialize.apply(this,this._initArgs)},this),g.open()}},pause:function(a){this.pipe&&this.pipe.pause(a)},resume:function(){this.pipe&&this.pipe.resume()},close:function(){this.pipe&&(this.pipe.close(),this.pipe=null)}};return window.addEventListener("unload",a.bind(t.close,t)),{Pipe:s,StreamPipe:h,SocketPipe:i,Manager:t,MAX_HANDSHAKE_FAILS:n}}),define("core/templates/react/aet/EmailSignupComplete",["react"],function(a){"use strict";var b=function(b){var c=b.forum,d=b.isVerified,e=b.onDismiss;return a.createElement("div",{className:"newsletter-box spacing-bottom-large text-center"},a.createElement("div",{className:"text-medium spacing-bottom-small"},a.createElement("strong",null,"Thanks for subscribing!")),d?a.createElement("div",{className:"spacing-bottom-small"},(c.aetBannerConfirmation||"").split("\n").map(function(b,c){return a.createElement("div",{key:c},b)})):a.createElement("div",{className:"spacing-bottom-small"},"To begin receiving email updates from ",c.name,", please click the link in the confirmation email we've sent to your inbox."),a.createElement("a",{className:"newsletter-box__hide",href:"#",onClick:function(a){a.preventDefault(),e()}},"Dismiss this message"))};return b}),define("core/templates/react/aet/EmailSignupForm",["react","core/strings"],function(a,b){"use strict";var c=b.gettext,d=function(b){var d=b.forum,e=b.isLoading,f=b.isLoggedIn,g=b.onDismiss,h=b.onSubscribe,i=b.allowEmpty;return a.createElement("div",{className:"newsletter-box spacing-bottom-large"},a.createElement("div",{className:"text-medium spacing-bottom-small"},a.createElement("strong",null,d.aetBannerTitle)),f?a.createElement("button",{className:"button button-fill--brand button-padding-wider pull-right",disabled:e,onClick:function(){h&&h()}},"Subscribe"):null,a.createElement("div",{className:"spacing-bottom"},(d.aetBannerDescription||"").split("\n").map(function(b,c){return a.createElement("div",{key:c},b)})),a.createElement("div",{className:"align align--wrap"},f?null:a.createElement("form",{className:"align__item--grow",onSubmit:function(a){a.preventDefault();var b=a.target.elements.email.value.trim();(b||i)&&h&&h(b)}},a.createElement("div",{className:"newsletter-box__input-group"},a.createElement("span",{className:"icon icon-mail text-large newsletter-box__input-group__icon"}),a.createElement("input",{type:"email",name:"email",placeholder:c("Enter email address")})),a.createElement("input",{type:"submit",className:"button button-fill--brand button-padding-wider",disabled:e,value:c("Subscribe")})),a.createElement("a",{href:"#",className:"newsletter-box__hide publisher-anchor-color",onClick:function(a){a.preventDefault(),g&&g()}},c("Hide this message"))))};return d}),define("lounge/views/email-signup",["backbone","react","react-dom","stance","core/api","core/bus","core/templates/react/aet/EmailSignupComplete","core/templates/react/aet/EmailSignupForm","core/common/cached-storage"],function(a,b,c,d,e,f,g,h,i){"use strict";var j=0,k=2,l=new i("aet-dismiss");l.getAll();var m=a.View.extend({initialize:function(b){var c=b.forum,d=b.session;this.forum=c,this.session=d,this.model=new a.Model({dismissed:Boolean(l.getItem(this.forum.id)),loading:!1,signupComplete:!1}),this._isFirstRender=!0,this.handleCompleteDismiss=this.handleCompleteDismiss.bind(this),this.handleDismiss=this.handleDismiss.bind(this),this.handleSubscribe=this.handleSubscribe.bind(this),this.listenTo(this.model,"change",this.render),this.listenTo(this.session,"change",this.render)},getTrackingCopy:function(){return{title:this.forum.get("aetBannerTitle"),description_copy:this.forum.get("aetBannerDescription"),confirmation_copy:this.forum.get("aetBannerConfirmation")}},isLoggedIn:function(){return Boolean(this.session.user&&this.session.user.id)},handleDismiss:function(){return this.model.set("dismissed",!0),f.trigger("uiAction:clickEmailSubscriptionPromptDismiss",this.getTrackingCopy()),this.isLoggedIn()?Promise.resolve(e.call("aet/dismiss",{data:{forum:this.forum.id},method:"POST"})):(l.setItem(this.forum.id,!0),Promise.resolve())},handleCompleteDismiss:function(){this.model.set("dismissed",!0)},handleSubscribe:function(){var a=this,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.model.get("loading"))return f.trigger("uiAction:clickEmailSubscriptionPromptSubscribe",this.getTrackingCopy()),this.model.set("loading",!0),Promise.resolve(b?e.call("aet/anonymousSubscribe",{data:{email:b,forum:this.forum.id},method:"POST"}):e.call("aet/subscribe",{data:{forum:this.forum.id},method:"POST"})).then(function(b){return a.model.set({loading:!1,signupComplete:!0}),b})["catch"](function(){a.model.set("loading",!1)})},reportView:function(){f.trigger("uiAction:viewEmailSubscriptionPrompt",this.getTrackingCopy())},render:function(){if(!this.forum.get("aetEnabled")||this.model.get("dismissed"))return this.$el.empty(),this;var a=this.session.shouldFetchSession()?this.session.get("aetBannerStatus"):j;switch(a){case j:case k:if(this.model.get("signupComplete")||a===k?c.render(b.createElement(g,{forum:this.forum.toJSON(),isVerified:Boolean(this.session.user&&this.session.user.get("isVerified")),onDismiss:this.handleCompleteDismiss}),this.el):c.render(b.createElement(h,{forum:this.forum.toJSON(),isLoading:this.model.get("loading"),isLoggedIn:this.isLoggedIn(),onDismiss:this.handleDismiss,onSubscribe:this.handleSubscribe}),this.el),this._isFirstRender){this._isFirstRender=!1,f.trigger("uiAction:loadEmailSubscriptionPrompt",this.getTrackingCopy());var e=d(this);e.isVisible()?this.reportView():this.listenToOnce(e,"enter",this.reportView)}break;default:this.$el.empty()}return this}});return m}),define("react-dom/server",["underscore"],function(a){"use strict";var b=function c(b){if(null===b)return"";if(a.isArray(b))return b.map(c).join("");if(a.isElement(b))return b.outerHTML;if(b&&b.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE){var d=window.document.createElement("div");return d.appendChild(b),d.innerHTML}return a.escape(String(b))};return{renderToString:b,renderToStaticMarkup:b}}),define("core/utils/media/upload",["underscore","exports","core/api","core/models/Media","core/UniqueModel"],function(a,b,c,d,e){"use strict";b.uploadSupported=Boolean(window.FormData),b._extractFirstImageFile=function(b){return a.find(b,function(a){return a.type.match(/^image\//)})},b._uploadViaApi=function(a,b,d){return Promise.resolve(c.call(a,{data:b,contentType:!1,processData:!1,method:"POST",xhr:function(){var a=new window.XMLHttpRequest,b=d&&d.onProgress;return b&&a.upload.addEventListener("progress",function(a){a.total&&b(100*a.loaded/a.total)}),a}}))},b.UPLOAD_URL="https://uploads.services.disqus.com/api ... n(c,f){var g,h=new window.FormData,i=b._extractFirstImageFile(c);return i?(h.append("upload",i),h.append("permanent",1),b._uploadViaApi(b.UPLOAD_URL,h,f).then(function(b){var c=b.response,f=a.first(a.values(c));if(!f||!f.ok)throw g=new Error("Upload failed"),g.code=f&&f["error-code"],g;return new e(d,{mediaType:d.MEDIA_TYPES.IMAGE_UPLOAD,url:f.url,thumbnailUrl:f.url})},function(a){if(a.responseJSON&&4===a.responseJSON.code)throw g=new Error("Upload failed"),g.code="not-authenticated",g;throw a})):(g=new Error("No image file to upload"),g.code="invalid-content-type",Promise.reject(g))}}),define("core/views/media/DragDropUploadView",["underscore","backbone","core/utils"],function(a,b,c){"use strict";var d=c.stopEventHandler,e=b.View.extend({events:{dragover:"_dragOn",dragenter:"_dragOn",dragleave:"_dragOff",dragexit:"_dragOff",drop:"_drop"},_dragOn:d(function(){this.trigger("uploader:dragEnter"),this._toggleDragPlaceholder(!0)}),_dragOff:d(function(){this._toggleDragPlaceholder(!1)}),_drop:d(function(a){this._toggleDragPlaceholder(!1);var b=a.originalEvent.dataTransfer.files;return b.length?void this.trigger("uploader:attachMedia",b):void this.trigger("uploader:dropError","No files")}),_toggleDragPlaceholder:a.throttle(function(a){a?this.trigger("uploader:showPlaceholder"):this.trigger("uploader:hidePlaceholder")},50)});return e}),define("core/templates/postMediaUploadButton",["handlebars","core/templates/handlebars.partials","core/extensions/handlebars.helpers"],function(a){return a.template({compiler:[8,">= 4.3.0"],main:function(a,b,c,d,e){var f=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return'<a href="#" tabindex="-1" data-action="attach" class="attach" title="'+a.escapeExpression(f(c,"gettext").call(null!=b?b:a.nullContext||{},"Upload Images",{name:"gettext",hash:{},data:e,loc:{start:{line:1,column:69},end:{line:1,column:96}}}))+'">\n<div class="wysiwyg__attach wysiwyg__attach-dims"\nrole="img"\naria-label="A"\n/>\n</a>\n<input type="file" data-role="media-upload" tabindex="-1" accept="image/*">\n'},useData:!0})}),define("core/views/media/UploadButtonView",["jquery","underscore","backbone","core/templates/postMediaUploadButton","core/utils"],function(a,b,c,d,e){"use strict";var f=e.stopEventHandler,g="input[type=file][data-role=media-upload]",h=c.View.extend({events:function(){var a={"click [data-action=attach]":"_attachMedia"};return a["change "+g]="_selectorChange",a}(),initialize:function(a){this.template=a&&a.template||this.generateImageUploadButton},generateImageUploadButton:function(){return d({imageUrl:"https://c.disquscdn.com/next/embed/asse ... a0827f.svg"})},render:function(){return this.$el.html(this.template()),this},_attachMedia:f(b.throttle(function(){this.$(g).click()},1e3,{trailing:!1})),_selectorChange:function(b){var c=b.target,d=c.files;d.length&&(this.trigger("uploader:attachMedia",d),a(c).replaceWith(c.cloneNode()))}});return h}),define("core/templates/postMediaUploadProgress",["handlebars","core/templates/handlebars.partials","core/extensions/handlebars.helpers"],function(a){return a.template({1:function(a,b,c,d,e){var f=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return'<li>\n<div class="media-progress-box">\n<div class="media-progress">\n<div class="bar" style="right: '+a.escapeExpression(a.lambda(null!=b?f(b,"remainingPerc"):b,b))+'%"></div>\n</div>\n</div>\n</li>\n'},compiler:[8,">= 4.3.0"],main:function(a,b,c,d,e){var f,g=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return null!=(f=g(c,"each").call(null!=b?b:a.nullContext||{},null!=b?g(b,"collection"):b,{name:"each",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e,loc:{start:{line:1,column:0},end:{line:9,column:9}}}))?f:""},useData:!0})}),define("core/views/media/UploadsProgressSubView",["backbone","core/templates/postMediaUploadProgress"],function(a,b){"use strict";var c=a.View.extend({initialize:function(){this.collection=new a.Collection,this.listenTo(this.collection,"add remove change",this.render)},hasVisible:function(){return Boolean(this.collection.length)},render:function(){return this.$el.html(b({collection:this.collection.toJSON()})),this}});return c}),define("core/templates/postMediaUploadRich",["handlebars","core/templates/handlebars.partials","core/extensions/handlebars.helpers"],function(a){return a.template({1:function(a,b,c,d,e){var f,g=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return a.escapeExpression(a.lambda(null!=(f=null!=b?g(b,"media"):b)?g(f,"title"):f,b))},3:function(a,b,c,d,e){var f=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return a.escapeExpression(f(c,"gettext").call(null!=b?b:a.nullContext||{},"Media attachment",{name:"gettext",hash:{},data:e,loc:{start:{line:6,column:81},end:{line:6,column:111}}}))},compiler:[8,">= 4.3.0"],main:function(a,b,c,d,e){var f,g=a.lambda,h=a.escapeExpression,i=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return'<li class="publisher-border-color">\n<div class="media-box">\n<div class="media-ct">\n<div class="media-surface">\n<a href="'+h(g(null!=(f=null!=b?i(b,"media"):b)?i(f,"url"):f,b))+'" target="_blank">\n<img src="'+h(g(null!=(f=null!=b?i(b,"media"):b)?i(f,"thumbnailUrl"):f,b))+'" alt="'+(null!=(f=i(c,"if").call(null!=b?b:a.nullContext||{},null!=(f=null!=b?i(b,"media"):b)?i(f,"title"):f,{name:"if",hash:{},fn:a.program(1,e,0),inverse:a.program(3,e,0),data:e,loc:{start:{line:6,column:39},end:{line:6,column:118}}}))?f:"")+'">\n</a>\n</div>\n</div>\n</div>\n</li>\n'},useData:!0})}),define("core/views/media/UploadsRichSubView",["underscore","backbone","core/models/Media","core/UniqueModel","core/utils","core/templates/postMediaUploadRich"],function(a,b,c,d,e,f){"use strict";var g=b.View.extend({initialize:function(){this._hasVisible=!1,this.collection=new b.Collection([],{model:c,comparator:"index"}),this.listenTo(this.collection,"add remove reset sort change:thumbnailUrl change:mediaType change:editsFinished",this.render),this.listenTo(this.collection,"change:index",a.bind(this.collection.sort,this.collection))},render:function(){return this.$el.empty(),this._hasVisible=!1,this.collection.each(function(b){b.get("thumbnailUrl")&&(a.contains(c.WEBPAGE_TYPES,b.get("mediaType"))||b.get("editsFinished")&&(this.$el.append(f({media:b.toJSON()})),this._hasVisible=!0))},this),this},hasVisible:function(){return this._hasVisible},addMedia:function(a,b){var e=d.get(c,a.url);if(e)e.set(a);else{if(!a.editsFinished)return;e=new d(c,a),e.fetch(b)}return this.collection.add(e),e},updateFromText:function(b,c,d){if(!b)return void this.collection.reset();var f=e.bleachFindUrls(b);f=a.uniq(f,!1,function(a){return a.url});var g={};a.each(f,function(e){g[e.url]=!0;var f=a.pick(e,"index","url"),h=e.index<c&&c<=e.endIndex||"."===b[e.endIndex];h&&!d.isPasteEvent||(f.editsFinished=!0),this.addMedia(f,d)},this);var h=this.collection.pluck("url");g=a.keys(g);var i=a.difference(h,g);this.collection.remove(this.collection.filter(function(b){return a.contains(i,b.get("url"))}))}});return g}),define("core/templates/postMediaUploads",["handlebars","core/templates/handlebars.partials","core/extensions/handlebars.helpers"],function(a){return a.template({compiler:[8,">= 4.3.0"],main:function(a,b,c,d,e){var f=a.lookupProperty||function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a};return'<ul data-role="media-progress-list"></ul>\n<ul data-role="media-rich-list"></ul>\n<div class="media-expanded empty" data-role="media-preview-expanded">\n<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="\ndata-role="media-preview-expanded-image" alt="'+a.escapeExpression(f(c,"gettext").call(null!=b?b:a.nullContext||{},"Media preview placeholder",{name:"gettext",hash:{},data:e,loc:{start:{line:6,column:46},end:{line:6,column:85}}}))+'">\n</div>\n'},useData:!0})}),define("core/views/media/UploadsView",["backbone","core/views/media/UploadsProgressSubView","core/views/media/UploadsRichSubView","core/templates/postMediaUploads"],function(a,b,c,d){"use strict";var e=a.View.extend({initialize:function(){this.richView=new c,this.rich=this.richView.collection,this.uploadProgressView=new b,this.uploadProgress=this.uploadProgressView.collection,this.listenTo(this.rich,"all",this._updateEmpty),this.listenTo(this.uploadProgress,"all",this._updateEmpty)},render:function(){return this.richView.$el.detach(),this.uploadProgressView.$el.detach(),this.$el.html(d()),this._updateEmpty(),this.richView.setElement(this.$("[data-role=media-rich-list]")[0]),this.uploadProgressView.setElement(this.$("[data-role=media-progress-list]")[0]),this},clear:function(){this.rich.reset(),this.uploadProgress.reset()},_updateEmpty:function(){this.richView.hasVisible()||this.uploadProgressView.hasVisible()?this.$el.removeClass("empty"):this.$el.addClass("empty")}});return e}),define("core/mixins/withUploadForm",["underscore","backbone","core/strings","core/utils","core/utils/media/upload","core/utils/storage","core/views/media/DragDropUploadView","core/views/media/UploadButtonView","core/views/media/UploadsView"],function(a,b,c,d,e,f,g,h,i){"use strict";var j=c.get,k=function(){a.defaults(this,k.bothProto,k.uploadsProto,k.previewsProto)},l={"invalid-image-file":j("Unfortunately your image upload failed. Please verify that the file is valid and in a supported format (JPEG, PNG, or GIF)."),"invalid-content-type":j("Unfortunately your image upload failed. Please verify that the file is in a supported format (JPEG, PNG, or GIF)."),"file-too-large":j("Unfortunately your image upload failed. Please verify that your image is under 5MB."),"not-authenticated":j("You must be logged in to upload an image.")},m=j("Unfortunately your image upload failed. Please verify that your image is in a supported format (JPEG, PNG, or GIF) and under 5MB. If you continue seeing this error, please try again later.");return k.previewsProto={initMediaPreviews:function(b,c){this.mediaUploadsView=new i({el:b[0]}),this.mediaUploadsView.render(),this.updateLiveMediaDebounced=a.partial(a.debounce(this.updateLiveMedia,500),c,!1),this.stopListening(c,"keychange"),this.stopListening(c,"paste"),this.listenTo(c,{keychange:this.updateLiveMediaDebounced,paste:function(b,d){d&&d.fake||a.defer(a.bind(this.updateLiveMedia,this,c,!0))}}),this.updateLiveMedia(c,!0)},clearMediaPreviews:function(){this.mediaUploadsView&&this.mediaUploadsView.clear()},updateLiveMedia:function(a,b){if(this.mediaUploadsView){var c=a.get(),d=a.offset();this.mediaUploadsView.richView.updateFromText(c,d,{isPasteEvent:b,forum:this.thread.forum.id})}}},k.uploadsProto={initMediaUploads:function(a,b,c){this.mediaDragDropView&&this.stopListening(this.mediaDragDropView),this.mediaDragDropView=new g({el:b[0]}),this.listenTo(this.mediaDragDropView,{"uploader:attachMedia":function(){f.set("usedDragDrop",1),this.handleAttachMedia.apply(this,arguments)},"uploader:dragEnter":function(){this.$el.addClass("expanded")},"uploader:showPlaceholder":function(){a.show()},"uploader:hidePlaceholder":function(){a.hide()},"uploader:dropError":function(){var a=j("Sorry we didn't catch that. Try again?");this.alert(a,{type:"error",isUploadError:!0})}}),this.mediaUploadButtonView&&this.stopListening(this.mediaUploadButtonView),this.mediaUploadButtonView=new h({el:c[0]}),this.listenTo(this.mediaUploadButtonView,{"uploader:attachMedia":this.handleUploadViaButton}),this.mediaUploadButtonView.render()},handleUploadViaButton:function(a){if(a&&f.isPersistent&&!f.get("usedDragDrop")&&!d.isMobileUserAgent()){var b=this.alert(j("Did you know you can drag and drop images too? Try it now!"));this.listenToOnce(b,"dismiss",function(){f.set("usedDragDrop",1)})}this.handleAttachMedia.apply(this,arguments)},handleAttachMedia:function(c,d){var f=this,g=new b.Model({remainingPerc:100});f.mediaUploadsView.uploadProgress.add(g),d=a.extend(d||{},{onProgress:function(a){g.set("remainingPerc",100-a)}});var h=function(){f.mediaUploadsView.uploadProgress.remove(g)};e.uploadMediaUrl(c,d).then(function(a){a.fetch({forum:f.thread.forum.id}),f.textarea.insertAtCursor(a.get("url")),f.updateLiveMedia(f.textarea,!0),f.dismissUploadError()})["catch"](function(a){var b;a&&a.code&&(b=l[a.code]),b||(b=m),f.alert(b,{type:"error",isUploadError:!0})}).then(h,h)},dismissUploadError:function(){this.dismissAlert(function(a){return a.options&&a.options.isUploadError})},uploadSupported:e.uploadSupported,isUploadInProgress:function(){return this.mediaUploadsView&&this.mediaUploadsView.uploadProgress.length}},k.bothProto={initMediaViews:function(a){(a.mediaembedEnabled||a.gifPickerEnabled)&&this.initMediaPreviews(this.$("[data-role=media-preview]"),a.textarea),a.allowUploads&&this.initMediaUploads(this.$("[data-role=drag-drop-placeholder]"),this.$("[data-role=textarea]"),this.$("[data-role=media-uploader]"))}},k}),define("core/editable",[],function(){"use strict";function a(a){return a.replace(e," ")}function b(c,d,e){var f,h,i,j,k="",l=[];for("string"!=typeof e&&(e="\n\n"),j=0;j<c.length;++j)h=c[j],f=h.nodeName.toLowerCase(),1===h.nodeType?(i=d&&d(h),i?k+=i:g.hasOwnProperty(f)?(k&&l.push(k),k=b(h.childNodes,d,e)):k+="br"===f?"\n":b(h.childNodes,d,e)):3===h.nodeType&&(k+=a(h.nodeValue));return l.push(k),l.join(e)}var c=window.document,d="character",e=new RegExp(String.fromCharCode(160),"gi"),f="h1 h2 h3 h4 h5 h6 p pre blockquote address ul ol dir menu li dl div form".split(" "),g={},h=0;for(h=0;h<f.length;h++)g[f[h]]=!0;var i=function(a,b,c){var d=this;if(!a||!a.contentEditable)throw new Error("First argument must be contentEditable");this.elem=a,this.emulateTextarea=a.getAttribute("plaintext-only")||b,this.emulateTextarea&&(this.pasteHandler=function(a){var b=a&&a.clipboardData||window.clipboardData;b&&!b.getData("text")&&(a.preventDefault(),a.stopPropagation());var c=d.plainTextReformat,e=function(){c.timeout=null,c.call(d)};c.timeout&&clearTimeout(c.timeout),c.timeout=setTimeout(e,0)},a.addEventListener("paste",this.pasteHandler));for(var e in c)c.hasOwnProperty(e)&&(this[e]=c[e])};return i.prototype={insertHTML:function(a){if(c.all){var b=c.selection.createRange();return b.pasteHTML(a),b.collapse(!1),b.select()}return c.execCommand("insertHTML",!1,a)},insertNode:function(a){var b,d,e;window.getSelection?(b=window.getSelection(),b.getRangeAt&&b.rangeCount&&(d=b.getRangeAt(0),d.deleteContents(),d.insertNode(a),d.collapse(!1),b.removeAllRanges(),b.addRange(d))):c.selection&&c.selection.createRange&&(d=c.selection.createRange(),e=3===a.nodeType?a.data:a.outerHTML,d.pasteHTML(e),d.collapse(!1))},getTextNodes:function(a){var b=this.elem;a&&a.nodeType?a=[a]:a||(a=b.childNodes);for(var c,d=[],e=0;e<a.length;++e)if(c=a[e])switch(c.nodeType){case 1:d=d.concat(this.getTextNodes(c.childNodes));break;case 3:/^\n\s+/.test(c.nodeValue)||d.push(c)}return d},text:function(a){var c,d,e,f=this.elem;try{d=Array.prototype.slice.call(f.childNodes)}catch(g){for(d=[],e=0;e<f.childNodes.length;++e)d.push(f.childNodes[e])}return c=b(d,a,this.emulateTextarea&&"\n"),c.replace(/^\s+|\s+$/g,"")},setText:function(a){a=a||"";var b,d,e,f=c.createDocumentFragment(),g=[a],h=g&&g.length;for(b=0;b<h;b++)d=g,e=this.createParagraph(d),f.appendChild(e);if(f.lastChild.appendChild(c.createElement("br")),this.elem.innerHTML="",this.elem.appendChild(f),"WebkitAppearance"in c.documentElement.style&&window.navigator.userAgent.indexOf("Firefox")===-1&&window.navigator.userAgent.indexOf("MSIE")===-1){var i=window.getSelection&&window.getSelection();i&&i.anchorNode===this.elem&&i.modify&&i.modify("move","forward","line")}},createParagraph:function(a){var b,d,e,f,g,h,i,j=c.createElement("p");for(e=a.split(/\r\n|\r|\n/),d=0,g=e.length;d<g;d++){for(f=e[d],i=this.getHtmlElements(f),b=0,h=i.length;b<h;b++)j.appendChild(i);j.appendChild(c.createElement("br"))}return j.lastChild&&j.removeChild(j.lastChild),j},getHtmlElements:function(a){return[c.createTextNode(a)]},plainTextReformat:function(){if(!(this.elem.getElementsByTagName("p").length<=1)){this.emulateTextarea=!1;var a=this.text();this.emulateTextarea=!0,this.setText(a)}},removeNode:function(a){var b,d,e;window.getSelection?(b=a.previousSibling,a.parentNode.removeChild(a),d=window.getSelection(),e=c.createRange(),b&&(e.setStart(b,b.length),e.setEnd(b,b.length)),d.addRange(e)):a.parentNode.removeChild(a)},selectedTextNode:function(){var b,e,f,g,h,i,j,k,l,m=this.elem;if(window.getSelection)return b=window.getSelection(),b.anchorNode;if(c.selection.createRange){for(e=c.selection.createRange().duplicate();e.moveStart(d,-1e3)===-1e3;)continue;var n=e.text;for(k=0;k<m.childNodes.length;++k)for(f=m.childNodes[k],h=this.getTextNodes(f),l=0;l<h.length;++l)if(g=h[l],j=a(g.nodeValue),n.indexOf(j)>-1)i=g,n=n.replace(j,"");else if(j.indexOf(n)>-1)return g;return i}},selectedTextNodeOffset:function(b){var e,f,g;if(window.getSelection){var h=window.getSelection();h&&h.anchorOffset&&(g=h.anchorOffset)}else if(b&&c.selection.createRange){var i=a(b.nodeValue);e=c.selection.createRange();var j=e.duplicate(),k=j.parentElement();for(f=0;0!==e.moveStart(d,-1)&&(0!==i.indexOf(a(e.text))&&k===e.parentElement());f++)j=e.duplicate(),k=j.parentElement();g=f}return isNaN(g)?0:g},offset:function(){function b(d,e){function f(a){i+=a[0];for(var b=1;b<a.length;++b)h.push(i),i=a}"string"!=typeof e&&(e="\n\n");for(var h=[],i="",j=0;j<d.length;++j){var k=d[j],l=k.nodeName.toLowerCase();1===k.nodeType?g.hasOwnProperty(l)?(i&&(i+=e),f(b(k.childNodes,e))):"br"===l?i+="\n":f(b(k.childNodes,e)):3===k.nodeType&&(k===c.anchorNode?(i+=a(k.nodeValue.slice(0,c.anchorOffset)),
You do not have the required permissions to view the files attached to this post.

99HVYSK
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2018-11-20, 12:21

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by 99HVYSK » 2021-02-04, 18:29

this website is very fast, no slowness at all.
- clean profile checked
- with addon checked
- disqus comment checked
Pale Moon v29, pentadactyl, eMatrix, Arch Linux, twelve years old ThinkPad X200

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by back2themoon » 2021-02-04, 18:37

Thanks. Note the issue does not usually occur on the first page. You need to browse through articles.

99HVYSK
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2018-11-20, 12:21

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by 99HVYSK » 2021-02-04, 18:58

back2themoon wrote:
2021-02-04, 18:37
Thanks. Note the issue does not usually occur on the first page. You need to browse through articles.
yes, I had already done that. go to homepage, scroll back and forth, click articles, go back, click other links, nothing noteworthy, just smooth and fast.
Pale Moon v29, pentadactyl, eMatrix, Arch Linux, twelve years old ThinkPad X200

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by badnick » 2021-02-04, 19:18

No problems here, the site is fast, no matter what navigation within menu.
Windows 10 pro /64 (version 1809)
PM last/64

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by back2themoon » 2021-02-04, 21:18

badnick wrote:
2021-02-04, 19:18
...no matter what navigation within menu.
If you mean the top menu links, these lead to article indexes/categories. None of these top links point to actual articles, and none include Disqus comments. These work fine here, too.

I'll just link to a few articles: article1 article2 article

Anyway, it seems to occur far more often on my old/slower PC so perhaps that's related.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by back2themoon » 2021-03-19, 16:11

Blocking all connections to disqus.com on this website ultimately solves the problem, which was not PC-related. They just switched to another commenting platform anyway (but they still make connections to disqus), so blocking disqus is not a problem.

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by badnick » 2021-03-19, 21:01

back2themoon wrote:
2021-02-04, 21:18
I'll just link to a few articles: article1 article2 article

Anyway, it seems to occur far more often on my old/slower PC so perhaps that's related.
Only now have I seen your reply. The mentioned articles just works fine to me, but my adblockers stopped a lot of stuff on these links.
Windows 10 pro /64 (version 1809)
PM last/64

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2411
Joined: 2012-08-19, 20:32

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by back2themoon » 2021-03-20, 12:31

It looks like I was wrong (again), the issue is not solved on my end even with the disqus-blocking.

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: thepressproject.gr - slows the browser down (Disqus-related?)

Unread post by coffeebreak » 2021-03-20, 20:09

No slowdown here on thepressproject.gr after browsing the linked articles (open simultaneously) for about ten minutes - disqus/disquscdn connections were allowed. (normal and new profiles, PM29.1, W7 x86, fairly old PC)