I suggest you...

The latest version constantly logs output in to the chrome developer console

The latest version constantly logs output in to the chrome developer console. It should never print anything in to the chrome console unless explicitly in development mode. For web developers it's just filling up the console with messages on every single site. This needs to be turned off now.

73 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
started  ·  AdminWikiwand (Support, WikiWand) responded  · 

We are working on this right now. However this is not so easy to do, because we need to have debug output for our development purpose. we tried to get info about the mode extension is running in, but to fulfill this we need to add Management API permission which makes our users unhappy. So now we are investigating other ways to switch off console.log output for real users

25 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Nathan West commented  ·   ·  Flag as inappropriate

    If you use webpack or uglifyjs in your build process, there's a way to configure it to remove logging statements in production builds

  • Kerry commented  ·   ·  Flag as inappropriate

    Just realized I can right-click on console messages and choose to hide them from certain sources, like this one. Solved my gripe :)

    Keep up the good work, Wikiwand makes me love wikipedia even more

  • Guillaume Danguin commented  ·   ·  Flag as inappropriate

    Guys. Use logpoints.
    It's a new feature in Chrome and Firefox is working on it too.
    It logs things. It doesn't add the logs to the prod build.
    Use that.

  • International Scientific Journals commented  ·   ·  Flag as inappropriate

    International Journal of Management, and Social Sciences Review (IJMSSR) at https://int-scientific-journals.com/ijmssr/ or https://int-scien
    International Journal of Management, and Social Sciences Review (IJMSSR) at https://int-scientific-journals.com/ijmssr/ or https://int-scientific-journals.com/

    About IJMSSR:
    Scope: Management, Social Studies, Education
    Frequently: Continuously published
    ISSN: Yes
    Open Access: Yes
    Indexed and Abstracted: Yes
    DOI Registration: Yes (Crossref Metadata Search and Zenodo under OpenAire records)
    License: Attribution 4.0 International (CC BY 4.0)
    Submission: Online Article Submission
    Language: English
    Review Policy: Blind Peer Review
    Contact Emails: editorsijmssr@gmail.com & int.scientificjournals@gmail.com
    International Journal of Management, and Social Sciences Review (IJMSSR) is a scholarly publication for assimilating, reviewing and publishing of thought-provoking ideas and conclusions which have an attributable impact on the disciplines of Management Sciences and Social Sciences. IJMSSR represents an aggregate of online-based scientific journals with open access, published by International Scientific journals and peer-reviewed by experts in the relevant field.

    IJMSSR’s Open access policy gives us the opportunity to deliver full-text articles from our journals to our readers, free of charge. This allows our authors to reach to a greater audience, increasing the citation rate of their scientific works. Thus, for sharing the scientific information and to make the published works universally available to enhance the readership and promotion of the newer scholarly ideas and knowledge, the journal complies with the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH) as promoted by Andrew W. Mellon Foundation, the Coalition for Networked Information, the Digital Library Federation, Microsoft Corporation, the Alfred P. Sloan Foundation, and the National Science Foundation, USA and hosted by Cornell University Library, USA.

    Its aim is to provide intellectual platform of publications for the exchange of knowledge, experience, insights and ideas about the theory and practice of business, management and social sciences. The objective of the Journal is to disseminate knowledge, which ensures good practice of professional management and its focal point is on research and reflections relevant to academicians and practicing managers/Administrators for sustainable business and social changes.

    International Journal of Management, and Social Sciences Review (IJMSSR) is targeted to publish articles on action based research, which describe and diagnose issues of business; and conceptual based research where researcher identify an issue and seek for purpose oriented solutions (academic research). International Journal of Management, and Social Sciences Review (IJMSSR) core objective is to promote interdisciplinary research in business, management and social science; and hope to become the leading publisher for business and social science in the world.

    International Journal of Management, and Social Sciences Review (IJMSSR) publishes original research articles, review papers, case study, short communications, conceptual framework, analytical and simulation models, case studies, empirical research, technical reports and book reviews. National and international conference issues and special issues devoted to significant topics in business, management and social science will occasionally be published by International Journal of Management, and Social Sciences Review (IJMSSR).

    Every article published in International Journal of Management, and Social Sciences Review (IJMSSR) is provided with unique DOI and the metadata is submitted to Crossref Metadata Search, OpenAIRE, Google Scholar, and other academic databases. For details Check Indexing link of Journal.

    VIEW JOURNAL CURRENT ISSUE PAST ISSUES
    AIMS & SCOPE
    We have more experience in the line of publishing. During this time we have published hundreds of articles by scientists from different countries. Currently, We are publishing in International Journal of Management, and Social Sciences Review (IJMSSR) on various topics, including but not limited to the following fields:

    General Management
    Human Resources Management
    Marketing Theory and Applications
    Organization Studies
    Operations Management
    Risk Management
    Operations Research
    Optimization Theory and Applications
    Planning, Scheduling, and Project Management
    Production, Inventory Management, and Logistics
    Reliability, and Quality Management
    Transportation, Supply Chain Management
    Accounting, Auditing and Taxation
    Business Economics, and Commerce
    Finance and Investment
    General Business Research
    Information Management
    Innovation, Technology Management
    Environment and Energy Management
    Health Care Systems and Management
    Behavioral Science
    Business Studies

  • Ayush Sachdeva commented  ·   ·  Flag as inappropriate

    The chrome extension prints "do not show on websites" on websites whenever I click anywhere on any page. Please remove this log. This is a huge annoyance for developers and needs to be prioritised.

  • Naud commented  ·   ·  Flag as inappropriate

    Can't you have a separate version of Wikiwand with debugging on while users have no debugging? For example a debug variable that's false for users, but true for developers, so you don't need to remove all logging code from the extension every time you publish it. The only thing you need to do before publishing is changing that one value from true to false.

  • Anonymous commented  ·   ·  Flag as inappropriate

    You should have a build script that either builds for production or development. And in production mode all the console.logs should be removed.

  • Anonymous commented  ·   ·  Flag as inappropriate

    A quick workaround for example can be something like adding a line with:
    console.log = function(){};
    to the beginning of the javascript file, and just comment it while developing.

  • Nicolas De Smyter commented  ·   ·  Flag as inappropriate

    Maybe you could just add an option or a settings page to the plugin. So you can set that option to "debug" for your sake, and "default" for everbody who doesn't care for your debug logs (like... everybody!)

    Now I have to disable the plugin just because of these annoying logs. I am a developer, so use the console constantly.

  • Anonymous commented  ·   ·  Flag as inappropriate

    This issue is still occuring. There are absolutely insane amounts of logging occurring while I am developing other applications. Please turn this off immediately for god's sake. It should be a quick configuration change.

  • Josh commented  ·   ·  Flag as inappropriate

    If, like me, the only feature you need is automatically redirecting Wikipedia links to Wikiwand, you can uninstall this extension and replace it with ZeroWiki: https://chrome.google.com/webstore/detail/zerowiki/cklaghejbnabhfdlaelhbjdepkfodkcj. Just make sure you pick "Wikiwand" as the mirror after installing.

    (Not only does ZeroWiki keep your console quiet; it also keeps its permissions confined to "Read and change your data on all wikipedia.org sites", rather than demanding "Read and change all your data on the websites you visit" like Wikiwand.)

  • Alejandro commented  ·   ·  Flag as inappropriate

    Please remove this logging. As already stated in other comments, you can use a combination of the debug npm package, conditionally enabling it with some localStorage key and/or multiple dev/prod builds.

  • Anonymous commented  ·   ·  Flag as inappropriate

    This is super annoying. Don't spam my console. Especially when I've disabled your unnecessary "feature"

  • Anonymous commented  ·   ·  Flag as inappropriate

    Maybe use `debug`, from npm? Some kind of localStorage key, or global variable, which toggles the noisy logging, would probably work fine.

    Partial fix, for any developers frustrated with this right now:

    In the DevTools console, under settings, you can restrict console output to "selected context only"--this silences the logging from wikiwand, but also from any other js contexts.

  • [Deleted User] commented  ·   ·  Flag as inappropriate

    +1. Came here to report this. I don't mind the logging, but it shouldn't be running on all websites when I have quick-definition turned off!

  • Anonymous commented  ·   ·  Flag as inappropriate

    Indeed it always show "do not show on websites" from jquery. Thanks for your work!

  • Anonymous commented  ·   ·  Flag as inappropriate

    +1 to this, all the console logs are clogging up my own debugging on chrome projects. The webpack suggestion in an anonymous comment below is a good one that I've used.

  • Shailendra Gupta commented  ·   ·  Flag as inappropriate

    create some custom function say `putLogs` define it like function putLog(...params) { console.log(..params); }, and in prod just make the defination of funtion empty like function putLog(...params) {}, if it is real important, but they shouldn't be there.

← Previous 1

Feedback and Knowledge Base