Open mozkan007 opened 5 years ago
I haven't seen those errors and so it'll be super helpful if you could share them with me. Probably the easiest way to do this would be to post screenshots of errors/warnings into a comment here.
Thank you!
I attached the screenshots and an example about the issue. I hope that it will be beneficial for you. Thanks.
The example issue;
Context: https://www.sinemalar.com/filmleri/36471/nursel-kose
Stack Trace; contentscript.js:1 (anonymous function)
1
2
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([,function(e,t,n){"use strict";t.a={af:{label:"Afrikaans",direction:"ltr"},sq:{label:"Albanian",direction:"ltr"},ar:{label:"Arabic",direction:"rtl"},hy:{label:"Armenian",direction:"ltr"},az:{label:"Azerbaijani",direction:"ltr"},eu:{label:"Basque",direction:"ltr"},be:{label:"Belarusian",direction:"ltr"},bn:{label:"Bengali",direction:"ltr"},bg:{label:"Bulgarian",direction:"ltr"},ca:{label:"Catalan",direction:"ltr"},"zh-CN":{label:"Chinese (Simplified)",direction:"ltr"},"zh-TW":{label:"Chinese (Traditional)",direction:"ltr"},hr:{label:"Croatian",direction:"ltr"},cs:{label:"Czech",direction:"ltr"},da:{label:"Danish",direction:"ltr"},nl:{label:"Dutch",direction:"ltr"},en:{label:"English",direction:"ltr"},eo:{label:"Esperanto",direction:"ltr"},et:{label:"Estonian",direction:"ltr"},tl:{label:"Filipino",direction:"ltr"},fi:{label:"Finnish",direction:"ltr"},fr:{label:"French",direction:"ltr"},gl:{label:"Galician",direction:"ltr"},ka:{label:"Georgian",direction:"ltr"},de:{label:"German",direction:"ltr"},el:{label:"Greek",direction:"ltr"},gu:{label:"Gujarati",direction:"ltr"},ht:{label:"Haitian (Creole)",direction:"ltr"},iw:{label:"Hebrew",direction:"rtl"},hi:{label:"Hindi",direction:"ltr"},hu:{label:"Hungarian",direction:"ltr"},is:{label:"Icelandic",direction:"ltr"},id:{label:"Indonesian",direction:"ltr"},ga:{label:"Irish",direction:"ltr"},it:{label:"Italian",direction:"ltr"},ja:{label:"Japanese",direction:"ltr"},kn:{label:"Kannada",direction:"ltr"},ko:{label:"Korean",direction:"ltr"},la:{label:"Latin",direction:"ltr"},lv:{label:"Latvian",direction:"ltr"},lt:{label:"Lithuanian",direction:"ltr"},mk:{label:"Macedonian",direction:"ltr"},ms:{label:"Malay",direction:"ltr"},mt:{label:"Maltese",direction:"ltr"},no:{label:"Norwegian",direction:"ltr"},fa:{label:"Persian",direction:"rtl"},pl:{label:"Polish",direction:"ltr"},pt:{label:"Portuguese",direction:"ltr"},ro:{label:"Romanian",direction:"ltr"},ru:{label:"Russian",direction:"ltr"},sr:{label:"Serbian",direction:"ltr"},sk:{label:"Slovak",direction:"ltr"},sl:{label:"Slovenian",direction:"ltr"},es:{label:"Spanish",direction:"ltr"},sw:{label:"Swahili",direction:"ltr"},sv:{label:"Swedish",direction:"ltr"},ta:{label:"Tamil",direction:"ltr"},te:{label:"Telugu",direction:"ltr"},th:{label:"Thai",direction:"ltr"},tr:{label:"Turkish",direction:"ltr"},uk:{label:"Ukrainian",direction:"ltr"},ur:{label:"Urdu",direction:"rtl"},vi:{label:"Vietnamese",direction:"ltr"},cy:{label:"Welsh",direction:"ltr"},yi:{label:"Yiddish",direction:"rtl"}}},function(e,t,n){"use strict";var r=n(1);const o={modifierKeys:{16:"shift",17:"ctrl",18:"alt",224:"meta",91:"command",93:"command",13:"Return"},deserialize:function(e){let t;try{t=JSON.parse(e)}catch(n){if(!n.toString().match(/SyntaxError/))throw n;t=e}return t},formatTranslation:function(e,t,n,i){let a="",s="";"rtl"==t&&(s=" rtl"),e instanceof Array?e.forEach(function(e){const t=e.pos?""+e.pos+": ":"",n=e.meanings.slice(0,5).join(", ")+(e.meanings.length>5?"...":"");a=a+'\n <div class="from_lang ${s}">\n <strong>translated from:</strong>\n <span> ${l.label}</span>\n </div>\n
),a},escape_html:function(e){return e.replace(XRegExp("(<|>|&)","g"),function(e,t){switch(t){case"<":return"<";case">":return">";case"&":return"&"}})},regexp_escape:function(e){return e.replace(/[-\/\^$+?.()|[]{}]/g,"\$&")}};t.a=o},,function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(1);const i=n(5)("transover");let a,s;function l(e){const t=$.grep(e.except_urls,function(e){return RegExp(e).test(window.location.href)}).length>0,n=$.grep(e.only_urls,function(e){return RegExp(e).test(window.location.href)}).length>0||0===e.only_urls.length;return t||!n}function c(e){return document.documentElement.appendChild(d[f[e]]),$("<"+e+">")}function u(e){$(e).each(function(){const e=this;$(this.shadowRoot.querySelector("main")).fadeOut("fast",function(){e.remove()})}),$("#"+f[e]).remove()}const d={},f={"transover-popup":"transover-popup-template","transover-type-and-translate-popup":"transover-tat-popup-template"};function p(e){const t=e+".html",n=e+".js",r=new XMLHttpRequest;r.open("GET",chrome.extension.getURL(t),!0),r.responseType="document",r.onload=function(e){const t=e.target.response.querySelector("template");d[t.id]=t},r.send();const o=document.createElement("script");o.type="text/javascript",o.src=chrome.extension.getURL(n),o.async=!0,document.head.appendChild(o)}let h;function m(e,t){u("transover-type-and-translate-popup");const n=c("transover-popup");$("body").append(n),n.on("transover-popup_content_updated",function(){const t=function(e,t,n){const r={},o=Number(n.attr("outer-width")),i=Number(n.attr("outer-height"));if(e+10+o+5<$(window).width())r.x=e+10;else if(e-10-o-5>0)r.x=e-10-o;else if(o+10<$(window).width())r.x=5;else{const e=o-Number(n.attr("content-width"));n.attr("content-width",$(window).width()-10-e),n.attr("content-height",Number(n.attr("content-height"))+4),r.x=5}t-10-i-5>0?r.y=t-10-i:t+10+i+5<$(window).height()?r.y=t+10:r.y=5;return r}(e.clientX,e.clientY,n);n.each(function(){$(this.shadowRoot.querySelector("main")).hide()}).attr({top:t.y,left:t.x}).each(function(){$(this.shadowRoot.querySelector("main")).fadeIn("fast")})}),n.attr("content",t)}function g(e){function t(e){const t=$(document.elementFromPoint(e.clientX,e.clientY)),n="\p{L}+(?:['’]\p{L}+)",o={"line-height":t.css("line-height"),"font-size":"1em","font-family":t.css("font-family")},a=t.contents().filter(function(){return this.nodeType==Node.TEXT_NODE&&XRegExp(n).test(this.nodeValue)});if(0==a.length)return i("no text"),"";const s=function(e,t){$(a).wrap("
Hmm.. I don't see those "Extension context invalidated" errors... I am on Linux though, with the whole bunch of ad servers blocked.
Another example may be helpful for you;
Uncaught TypeError: Cannot read property 'popup_show_trigger' of undefined
https://www.nsaneforums.com/forum/75-giveaways/
contentscript.js:1 (anonymous function)
Can also this problem be related to other extensions? If so, how can I find the culprit?
This appears to be a Chrome bug - https://bugs.chromium.org/p/chromium/issues/detail?id=995436. It seems to be affecting a number of other extensions too. It's marked as "fixed" and hopefully will get released soon.
@artemave Thank you for your attention. I hope that it will be fixed as soon as possible as you said because this issue affects my many extensions.
extension does not work both Chrome und Mozilla.
in Chrome i get below error message:
thanks.
These are not Transover errors - it doesn't make requests to api.github.com
Hi, I am taking "the extension may have been corrupted" warnings on Chrome nowadays. I activated the "collect errors" option on the extension page. How can I share these errors with you? I do not know it because I am just a basic pc user. Thanks.