Giter Club home page Giter Club logo

delete-linkedin-activity's Introduction

Delete Linkedin Activity

What

Scripts for automated deletion of Linkedin activity.

Disclaimer: these scripts will ruthlessly delete ALL your Linkedin activity. They were made for that. Use at your own risk.

Why

As of now, Linkedin doesn't offer a bulk-delete option for personal activity. There's also no API available for that. Thanks, Bill!

How

Use the scripts provided here to delete posts, comments and likes:

  1. open your web browser;
  2. go to the correct Linkedin page (see below);
  3. open the browser's JavaScript console;
  4. paste the corresponding script in the JavaScript console;
  5. execute it!

Bam! New Linkedin, new life.

Note: these scripts have only been tested on a pretty recent version of Firefox. Let me know if they break on other browsers and I'll do my best to fix them. (Unless it's Internet Explorer, in which case you're on your own...)

Posts

Use delete-posts.js to delete all posts authored by you. Open your browser and go to Me >> Posts & Activities > Posts (or https://www.linkedin.com/in/{username}/detail/recent-activity/shares) and execute the script from the JavaScript console.

Note: it may be necessary to refresh the page and restart the script from time to time.

Comments

Use delete-comments.js to delete all comments authored by you. Open your browser and go to Me >> Posts & Activities (or https://www.linkedin.com/in/{username}/detail/recent-activity) and execute the script from the JavaScript console.

Likes

Use delete-likes.js to delete all likes authored by you. Open your browser and go to Me >> Posts & Activities (or https://www.linkedin.com/in/{username}/detail/recent-activity) and execute the script from the JavaScript console.

FAQ

Is this legal?

I'm not a lawyer, but I'm sure of one thing: no one can tell me how to use my goddamn web browser. (It's called "client side" for a reason...) All these scripts are doing is to automate interactions you'd otherwise have with the webpage (your own Linkedin profile) with a mouse and a keyboard. Bottom line: it's your data.

How do I use the JavaScript console on my favorite browser?

Why do they throw so many errors?

I've created these scripts for personal use: once I got them to work, I was more than satisfied. (Did you really think I enjoyed writing JavaScript on a Sunday afternoon?) They'll still get the job done, despite the error messages. Plus, have you ever payed attention to all those errors thrown by Linkedin's own scripts? Ha!

It's just a bunch of front end JavaScript errors, loca. Who cares?

Will Linkedin punish me?

Linkedin will only punish you if the scripts run too fast -- in that case, they may temporarily block your IP address, but that's about it. As a safeguard, I've added a bunch of timers to slow things down and not bombard their APIs with requests. Feel free to fork this repo and tweak those values if you want, but right now the time values used by default (between two and five seconds) should be just fine.

Will Linkedin still keep the content somewhere?

Excellent question! But I have no idea... Given the history behind Microsoft (and similar companies), I presume all our personal data is processed, packaged and carefully placed inside Steve Ballmer's ham sandwich. Yum yum!

How do I contribute?

Start by selling your car and eating less meat, how about that?

What's the moral of the story?

The less JavaScript you write, the more you live!

delete-linkedin-activity's People

Contributors

claudiobizzotto avatar paxperscientiam avatar thesethrose avatar violinmoksha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

delete-linkedin-activity's Issues

new featues suggestion

that is cool -thanks for the work
it would be nice to add extra

  • unfriend all // or maybe passing some parameter like on location etc

  • unfollow all

[BUG] "Delete posts" is not working as expected ?

Hi @claudiobizzotto and thanks for writing such useful scripts ! ๐Ÿ‘

Unfortunately, one of them (delete posts) is not working as expected. I am using Brave (last version) and this is what I see in the console when running the script.

Screenshot 1

However, none of the posts are being deleted. The console displays one warning and one error.

Screenshot 2

Screenshot 3

Do you have any idea what is going on ?

Best regards

I keep getting the "Uncaught (in promise) Error: async call timeout limit reached" error

This happens after every 10-11 posts is there any way to increase or change this limit?

Uncaught (in promise) Error: Async call timeout limit reached
    timeoutHandle debugger eval code:18
    setTimeout handler*timeout/< debugger eval code:17
    timeout debugger eval code:16
    awaitThisTimed debugger eval code:52
    init debugger eval code:91
    init debugger eval code:120
    async* debugger eval code:125
[debugger eval code:18:26](chrome://devtools/content/webconsole/debugger%20eval%20code)
    init debugger eval code:123
    AsyncFunctionThrow self-hosted:699
    (Async: async)
    init debugger eval code:120
    InterpretGeneratorResume self-hosted:1485
    AsyncFunctionNext self-hosted:695
    (Async: async)
    <anonymous> debugger eval code:125
    getEvalResult resource://devtools/server/actors/webconsole/eval-with-debugger.js:243
    evalWithDebugger resource://devtools/server/actors/webconsole/eval-with-debugger.js:167
    evaluateJS resource://devtools/server/actors/webconsole.js:1127
    evaluateJSAsync resource://devtools/server/actors/webconsole.js:1019
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.