Last active
February 14, 2018 16:41
-
-
Save aseemk/5000668 to your computer and use it in GitHub Desktop.
Revisions
-
aseemk revised this gist
Feb 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,4 @@ Hit save, and voila! You can now select/toggle all checkboxes on the S3 console. This code is released into the public domain. Enjoy! – [Aseem Kishore](http://aseemk.com/) of [FiftyThree](http://www.fiftythree.com/) -
aseemk revised this gist
Feb 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,4 @@ Hit save, and voila! You can now select/toggle all checkboxes on the S3 console. This code is released into the public domain. Enjoy! — [Aseem Kishore](http://aseemk.com/) at [FiftyThree](http://www.fiftythree.com/) -
aseemk revised this gist
Feb 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,4 @@ Hit save, and voila! You can now select/toggle all checkboxes on the S3 console. This code is released into the public domain. Enjoy! \- [Aseem Kishore](http://aseemk.com/) at [FiftyThree](http://www.fiftythree.com/) -
aseemk revised this gist
Feb 20, 2013 . 1 changed file with 6 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,13 +6,15 @@ Only tested in Chrome. Installation instructions: 1) **View** > **Always Show Bookmarks Bar**. 2) Right-click bookmarks bar > **Add Page...** 3) Paste contents of **bookmarklet.js** below into the **URL** field. 4) Give it any name, like "S3 check all". Hit save, and voila! You can now select/toggle all checkboxes on the S3 console. This code is released into the public domain. Enjoy! -
aseemk created this gist
Feb 20, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ For use on: https://console.aws.amazon.com/s3/home Only tested in Chrome. Installation instructions: 1) Show bookmarks bar. (cmd+B or ctrl+B) 2) Right-click on bookmarks bar > "Add Page..." 3) Paste the contents of bookmarklet.js above into the URL field, and give it any name you want, like "S3 check all". 4) Hit save, and voila! You can now select/toggle all checkboxes on the S3 console. This code is released into the public domain. Enjoy! - [Aseem Kishore](http://aseemk.com/) at [FiftyThree](http://www.fiftythree.com/) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ javascript:(function () { document.domain = 'console.aws.amazon.com'; var spans = document.querySelector('iframe').contentDocument.querySelectorAll('tr.list-view-item[type] span.inner'); [].slice.call(spans).forEach(function (span) { span.click(); }); })(); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ // The actual console is in an iframe from a different origin. // Fortunately, they share the same TLD, and the iframe sets document.domain, // so we're able to set ours to the same value. (And we need to.) document.domain = 'console.aws.amazon.com'; // Grab all checkboxes... var spans = document.querySelector('iframe').contentDocument.querySelectorAll('tr.list-view-item[type] span.inner'); // ...and click them all: [].slice.call(spans).forEach(function (span) { span.click(); });