wildskyf / TextareaCache

Browser Add-on: Automatically save the content in Textarea.
MIT License
62 stars 6 forks source link

TACL doesn't save many sites if 3rd party trackers are blocked #29

Open bendover22 opened 7 years ago

bendover22 commented 7 years ago

EDIT 9/9/2017 Ruled out uBlockO 1.14.4 (webext) as the ONLY problem preventing TACL 2.3 from saving text correctly (under Linux Mint 18.1- Fx 55.0.2 / .3 ). Like on https://sourceforge.net/p/passwordsafe/discussion/create_topic/ (logged in), under "Create a New Topic." I tried w/ uBo 1.14.4 disabled AND enabled. TACL only captured the 1st or last line, or on other tries - nothing. Not even a blank entry, on some tries.

I will try it in a clean profile when get time.

@ Wildsky (or is it "Wildskyf"), Have you made any progress finding why it works on some sites (text areas) but not on others? Quite a few users are saying it's inconsistent, at best. For now, I'll have to assume it WON'T work & either compose in another editor, or constantly use "Select All" > "Copy," & paste it somewhere. Have the other devs that worked on TextArea Cache decided not to participate on this project? END EDIT 9/9/2017.


It worked OK on http://forums.mikeholt.com/index.php?s=8f9b119bb2e8edd8f3585d0c67c8f6be Seems to work OK (like this page on Github) In Fx 55.0.2, suddenly TACL 2.3 stopped saving any new entries. Had worked fine for several Fx 54 & 55 versions. Thought, maybe the file's too big (but didn't seem so). Manually deleted older entries from textareacache.json & saved.

I can create a clean profile & try it, but in this profile (few wks old), TACL worked great, then not at all, back to working "some" and finally not at all.
UPDATE: I may have found the problem. When I disabled uBlock Origin just now on Github, TACL started saving - including saving what I wrote before turning uBo off, Might depend on whether uBo's filters happen to allow the correct elements or 3rd parties on a site, or not - for TACL to work correctly.

uBo wasn't allowing githubapp.com & was blocking one element from github.com

I can't upload screen shots on Github (this page, anyhow) - by d&d, c&P, or Select a file - even w/ uBo turned off. Does uploading images / files require allowing "github-production-user...amazonaws.com?

Back to TACL working on some sites - not others. Maybe 1 month ago while using TAC (not Lite), I don't ever remember it not saving typing on any site, regardless of whether 3rd party trackers / scripts were allow or not. Generally,most 3rd parties were NOT allowed, while still used TAC & it worked. But now it's a different animal. I understand.

But I can't allow every 3rd party tracker (not always nice guys), just so TACL works. Maybe there's a compromise? I feel sorry for Mozilla addon developers right now. I also feel sorry for users.

wildskyf commented 6 years ago

Hi @bendover22,

Has it still happened in the latest version of Textarea Cache (v2.5.0)?

bendover22 commented 6 years ago

Has it still happened in the latest version of Textarea Cache (v2.5.0)? Yes and no. It seemed to start saving a couple of sites (I regularly visit) that it didn't before. I assume could be due to changes in v2.5.0, or not.

Other sites still have problems. Not sure if some sites now having problems in v2.5 also did in the previous version. On this Github page, as of the last sentence, "...previous version," it wasn't saving anything. There's not (wasn't) an entry in the drop list, that lists all saved posts with each date.

UNTIL... I disabled "blocking of remote fonts" in uBlock Origin 1.14.16 (web ext version). Though I have uBo completely disabled for Github- NOT blocking any trackers, apparently some of the 4 icons / features at the bottom of uBo's main popup UI can be active. When I removed the "blocking of remote fonts" on this page, immediately what I had already typed appeared in TACL.

When I tried to duplicate the problem, I couldn't. Closed all Github tabs, cleared all cookies & cache, logged back into Github. TACL kept recording all I typed & kept up with erasures & re-writes. I re-enabled all 4 of uBo's per site blocking options - still couldn't get TACL to stop recording.

But earlier this morning, several posts on Sourceforge, TACL only recorded maybe one short sentence out of several paragraphs. That's on several different posts. So I don't know what's going on, except the same uBo settings existed on Sourceforge as for Github. I'll go back to sourceforge later - see if I can duplicate.

I'm thinking this is a bug (don't know which addon) that only happens under specific cases & certain sites. Once you change some settings, maybe it works until actually restart Firefox?

See: https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-remote-fonts
UBo is disabled (for trackers / 1st and 3rd party scripts), but the 4 "per site switches" can still be active (or turned off).

bendover22 commented 6 years ago

On the uBlock Origin forum at https://discourse.mozilla.org/t/support-ublock-origin TACL didn't save any text. All trackers or blocking was turned off in NoScript & uBo. Otherwise, the site wouldn't show a "Login with Email" button. That's a strange site.
Just trying to give some sites that don't work - if you can spot similarities.

wildskyf commented 6 years ago

So now, we know if a website is remote-font-blocked when user visite site first time, textarea cache saving will fail. If you enable remote font, saving will work even if you disable it again.

bendover22 commented 5 years ago

OK, I finally had, uh, made time to copy the output from web console & browser console. If it's not exactly what you need, please add a few details on when to open web & browser consoles, in relation to the time I type into a textbox, then see problems w/ what TAC did / didn't save.

I went back & did another test on Sourceforge. Below is what I typed (in total - but corrected a typo or changed maybe one word. When I made that change, TAC wiped all text up to the point where the cursor was, after I finished the edit. This is a test to see if a Firefox addon is working.

This is a test to see if a Firefox addon is working.

This is a 2nd line typed. When I typed the "2nd line," TAC immediately deleted the 1st line.

Above is what was showing in Sourceforge's text editor when I finished (edited a typo, etc.) Below is what was left in TAC after editing a word or a simple correction / edit.

ly deleted the 1st line.

This is the web console after enabling addon debugging: 14:21:58.570 TypeError: pageAction is undefined tabg.js:178:9 14:24:57.450 TypeError: Argument 1 of PrecompiledScript.executeInGlobal is not an object. 3 ExtensionContent.jsm:490:25 14:24:58.483 Request to access cookie or storage on “https://gitcdn.xyz/repo/NanoMeow/MDLMirror/master/hosts.txt?=7” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. 2 background.html 14:24:58.641 Request to access cookie or storage on “https://gitcdn.xyz/cdn/NanoMeow/MDLMirror/4e1a04884e683154b47be4176cd1fb27266684c7/hosts.txt?_=7” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. 2 background.html 14:26:58.683 Request to access cookie or storage on “https://mirror.cedia.org.ec/malwaredomains/justdomains?_=7” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. background.html 17:43:40.270 TypeError: Argument 1 of PrecompiledScript.executeInGlobal is not an object. 6 ExtensionContent.jsm:490:25 18:17:27.368 Use of nsIFile in content process is deprecated. 7 NetUtil.jsm:245:12 18:17:28.285 Stylesheets without CSSOM changes reparsed to check for errors. Refresh the page to also see errors from stylesheets changed from CSSOM and from style attributes. 11 18:19:26.833 Use of nsIFile in content process is deprecated. 6 NetUtil.jsm:245:12 18:35:02.663 TypeError: Argument 1 of PrecompiledScript.executeInGlobal is not an object. 6 ExtensionContent.jsm:490:25


This is Browser console output. Sorry about the length, don't know when it started recording data from Sourceforge, as I was typing:

16:03:21.341 Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 14 classwx_data_view_tree_ctrl.html 16:03:21.341 Content Security Policy: The page’s settings blocked the loading of a resource at https://docs.wxwidgets.org/3.0/wxwidgets.js (“script-src”). 2 16:03:21.342 Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 2 classwx_data_view_tree_ctrl.html:2270:1 16:04:32.005 Request to access cookie or storage on “https://www.google-analytics.com/analytics.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. classwx_data_view_tree_ctrl.html 16:06:39.252 Request to access cookie or storage on “https://www.google-analytics.com/analytics.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. classwx_data_view_ctrl.html 16:32:01.566 Request to access cookie or storage on “https://www.google-analytics.com/analytics.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. 2 classwx_tree_ctrl.html 17:00:54.466 Request to access cookie or storage on “https://www.google-analytics.com/analytics.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. index.html 17:43:40.279 TypeError: Argument 1 of PrecompiledScript.executeInGlobal is not an object. 3 ExtensionContent.jsm:490:25 18:02:17.782 Request to access cookie or storage on “https://fonts.googleapis.com/css?family=Lato:400,700” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/css?href=…Fforge%2Fhilite.css%3Ballura%2Fcss%2Fforge%2Ftooltipster.css” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/allura/css/font-awesome.min.css” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/theme/sftheme/css/forge.css” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/css?href=css%2Fpage_list.css%3Bcss%2Fjquery.tagsinput.css” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/css/simplemde.min.css” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/css?href=css%2Fmarkitup_sf.css%3Bcss%2Fshow-hint.css” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/js?href=a…Btheme%2Fsftheme%2Fjs%2Fsftheme%2Ftypescript%2Fcompliance.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.782 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/js?href=allura%2Fjs%2Fjquery-ui.min.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:17.784 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/js?href=a…e%2Fsftheme%2Fjs%2Fsftheme%2Fvendor%2Ffoundation6%2Fplugins% a270a2524d 18:02:17.784 Request to access cookie or storage on “https://a.fsdn.com/allura/nf/1567015631/_ew_/_slim/js?href=js%2Fsubscriptions.js” was blocked because we are blocking all third-party storage access requests and content blocking is enabled. a270a2524d 18:02:18.331 Loading failed for the Githubissues.

  • Githubissues is a development platform for aggregating issues.